feat: colcon plugin
Metadata
Current evaluation
Merged PR #1434 added a reusable colcon build plugin, enabling shared colcon integration for tools such as Rockcraft and Snapcraft.
Resolution: closed resolved
Reason: PR #1434 was approved and merged into main as commit a713bdd4, adding the colcon plugin implementation, tests, documentation, and build dependencies.
Evaluated by: mr-cal-bot
No scores available.
Issue body
- [x] Have you followed the guidelines for contributing?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] Have you successfully run `make lint && make test`?
- [x] Have you added an entry to the changelog (`docs/reference/changelog.rst`)?
---
The [colcon](https://colcon.readthedocs.io/en/released/) build tool is [already integrated in snapcraft](https://documentation.ubuntu.com/snapcraft/stable/reference/plugins/colcon_plugin/).
By integrating it in craft-parts, we could reuse it for various craft tools (rockcraft for example).
An example of how this could later be integrated in snapcraft is available: https://github.com/Guillaumebeuzeboc/snapcraft/pull/2
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #1434 added a reusable colcon build plugin, enabling shared colcon integration for tools such as Rockcraft and Snapcraft. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #1434, adding a reusable colcon build plugin to craft-parts (11 files, +725 lines) so tools such as Rockcraft and Snapcraft can share colcon integration. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged craft-parts#1434 as commit a713bdd4, adding a colcon build plugin for reuse by other Craft tools such as Rockcraft. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged the colcon plugin into craft-parts to enable cross-tool reuse. Approved by four reviewers, the branch was rebased to resolve a conventional commit job conflict, passed CI checks, and integrated successfully. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged the colcon plugin into craft-parts to enable cross-tool reuse. The contributor rebased the branch to resolve merge conflicts and satisfy CI checks prior to successful integration. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #5470 docs: migrate 'colcon plugin' | snapcraft | merged | Merged PR #5470 in commit b81e662a2 migrated and rewrote the colcon plugin reference from snapcraft.io to Read the Docs under SNAPCRAFT-497. | |
| #2456 plugins: add colcon plugin | snapcraft | merged | PR #2456 by kyrofa merged (commit cd9516b56) adding a new beta colcon plugin for ROS 2 builds, resolving LP bug #1805213; later extended by #2486, #2593, #2670, #2687 and #2981. | |
| #1805213 Support the new ros2 build tool colcon | snapcraft (launchpad) | closed | Added and merged the beta colcon plugin for ROS 2 builds in snapcore/snapcraft#2456 (commit cd9516b56), resolving LP bug #1805213. | |
| #2486 colcon plugin: support build-time chaining | snapcraft | merged | Merged #2486 as 60c3c9b18, restoring colcon build-time workspace chaining through setup files; fixes LP #1816565. | |
| #4502 Colcon plugin: use release build by default | snapcraft | merged | Merged PR #4502 as commit b6c5a60b9, making Colcon use CMake Release builds by default while preserving explicit user overrides. |