Skip to content

Commit

Permalink
colcon: enable common extensions by default
Browse files Browse the repository at this point in the history
With these extensions, colcon behaves as in the default installation
on other distributions.

- colcon-parallel-executor significantly speeds up builds in
  workspaces with multiple packages

- colcon-notification shows build progress summary in terminal title
  and in the last line on the terminal. It also sends desktop
  notification when a build finishes. This can be disabled by setting
  environment variable
  COLCON_EXTENSION_BLOCKLIST=colcon_notification.desktop_notification
  or by the following in ~/.colcon/defaults.yaml:

      build:
        event-handlers:
          - "desktop_notification-"

- colcon-output hides output of successfully built packages. This is
  useful in the case of parallel build and it can be changed via the
  --event-handlers option as in the examples below:

      $ colcon <verb> --event-handlers console_direct+
      $ colcon <verb> --event-handlers console_cohesion+
  • Loading branch information
wentasah authored and lopsided98 committed Jun 19, 2023
1 parent 2325d0d commit fad65e1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,11 @@ in {
colcon-devtools
colcon-library-path
colcon-metadata
colcon-notification
colcon-output
colcon-package-information
colcon-package-selection
colcon-parallel-executor
colcon-python-setup-py
colcon-recursive-crawl
colcon-ros
Expand Down

0 comments on commit fad65e1

Please sign in to comment.