Skip to main content

A friendly wrapper for colcon

Project description

Spadix, a friendly wrapper for colcon

Copyright (C) 2021-2024 SafeAI

Copyright (C) 2025 Pronto.AI

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  : Do not use --merge-install option for colcon
--no-console  : Do not use the default console mode: `--event-handlers console_cohesion+`
--no-root-check  : Do not check that spadix being started from the root of a git project
--ninja  : Use Ninja for building when available
--non-ninja  : Do not use Ninja for building, even if it is available

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_cli-0.7.7.tar.gz (11.5 kB view details)

Uploaded Source

Built Distribution

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

spadix_cli-0.7.7-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file spadix_cli-0.7.7.tar.gz.

File metadata

  • Download URL: spadix_cli-0.7.7.tar.gz
  • Upload date:
  • Size: 11.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for spadix_cli-0.7.7.tar.gz
Algorithm Hash digest
SHA256 010cc800ee96dd844d74a4f56ac1a2ed2a7d81ed62233a68d538971250201870
MD5 f231e815eebd60d1276645d0c229d63f
BLAKE2b-256 25b4efec8d6abd2116827218d1b39021d70f753ff82e7b3249d796181153a138

See more details on using hashes here.

File details

Details for the file spadix_cli-0.7.7-py3-none-any.whl.

File metadata

  • Download URL: spadix_cli-0.7.7-py3-none-any.whl
  • Upload date:
  • Size: 9.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for spadix_cli-0.7.7-py3-none-any.whl
Algorithm Hash digest
SHA256 b9bffb530a8fbd2b83ce207772e4604c56350596cc033370abeb093a96307e36
MD5 72a8ccd7573b23b43edb5dfd5a75c05d
BLAKE2b-256 7ec2c41bcab88326b6b572038f7fae89e3fe9454a3664d8c45bdea2aec8efa9c

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