Skip to main content

SAF friendly wrapper for colcon

Project description

Spadix, a friendly wrapper for colcon

Copyright (C) 2021 SafeAI

Why?

Our company uses colcon (from collective construction build manager) as our main build management tool for many years.

While we like this package, it has its problem areas, in our opinion, especially when used by unexperienced engineers.

  • Default build is not a merged one, and this disables Doxygen build
  • It is allowed to run from any directory in the project tree, making the tree contaminated with build artifacts
  • By default console output is switched off and switching it back on requires an additional parameter
  • It requires few additional parameters to run gtest alone

We decided to fix these deficiencies and created a wrapper spadix around colcon. Catkin, ament, colcon, spadix... Got it?

How

spadix accepts all colcon commands and options plus it adds and modifies few commands on its own.

Usage:

spadix [Global options] [command] [command options] ...

[Global options]
--no-merge  : Don't use --merge-install option for colcon
--no-console  : Don't use the default console mode: `--event-handlers console_direct+`
--no-root-check  : Don't check that spadix being started from the root of a git project

Commands:
clean  :Clean all projects (essentially executes `rm -rf log install build`)
clean:<project1>[,<project2>...]  :Clean selected, comma-separated projects. Spaces not supported

build  :Build all projects using --merge-install settings
build:<project1>[,<project2>...]  Build selected, comma-separated projects. Spaces not supported
    Build options:
        --release   : RelWithDebInfo (debug build by default)
        --no-fif    : Disable Failure Injection Framework (FIF enabled by default)

test  :Test all projects using --merge-install settings
test:<project1>[,<project2>...]  :Test selected, comma separated projects

gtest:<project> [gtest parameters]  :Run gtest only ('build/test_<project name>')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spadix-0.6.4.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

spadix-0.6.4-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file spadix-0.6.4.tar.gz.

File metadata

  • Download URL: spadix-0.6.4.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.3

File hashes

Hashes for spadix-0.6.4.tar.gz
Algorithm Hash digest
SHA256 c4e23937d3ef21b20a2895a0227a2baca2fe29dabde7f35861472384735842f1
MD5 26bcf427cc2f7b559b76878f4839b879
BLAKE2b-256 699f1f89fd690a7f7eb755fca36c3da13b188ed6cd7ef08e47f02682e601b0f9

See more details on using hashes here.

File details

Details for the file spadix-0.6.4-py3-none-any.whl.

File metadata

  • Download URL: spadix-0.6.4-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.3

File hashes

Hashes for spadix-0.6.4-py3-none-any.whl
Algorithm Hash digest
SHA256 9ae2a61386eaac940add1f3bf2ce5278b45f9116c87467bb605fcfa23e9f9766
MD5 5bd11221952824520b6bbd4ddaa8a4b8
BLAKE2b-256 1043b944a118a1576b624c6b73cd11a17c2b3d8962ed041add7c6716650e2df5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page