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.8.tar.gz (10.3 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.8-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: spadix-0.6.8.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for spadix-0.6.8.tar.gz
Algorithm Hash digest
SHA256 12386767eecce5ca2c7fbb013705487ab9f3e5ee67bc54c77f6ed5a253a274e5
MD5 902d7358a28710f0f9ae5da0193bad27
BLAKE2b-256 24e44389ae7a8db2cbd6ad1687e8f4e35e206b23d3e5b1875725ece2ddb34b3b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: spadix-0.6.8-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for spadix-0.6.8-py3-none-any.whl
Algorithm Hash digest
SHA256 cb55619be02d63a0e2bf44097313aa4f1be9e7da7b75e793eec8e38714a972f4
MD5 50db23ca20a453d575882df7ee08bce4
BLAKE2b-256 2f578e8f4f1653c1bea39a9ad2eb4becdd46554f8ea6a8561ea7adce8125bbfe

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