feat: colcon plugin
Metadata
Current evaluation
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.
Suggested action: —
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 |
|---|---|---|---|---|
| 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 |
|---|---|---|---|---|
| #2456 plugins: add colcon plugin | snapcraft | merged | Merged the colcon plugin for ROS2 builds, resolving LP: #1805213. Added as a beta feature, the change was approved by two reviewers, passed CI with 100% diff coverage, and introduced 2120 lines across 16 files. | |
| #367 features: introduce craft-parts features | craft-parts | merged | Successfully merged, introducing configurable features for craft-parts including an optional overlay feature to control action generation. Approved by reviewer, passed CI, and integrated after build retrigger. | |
| #2486 colcon plugin: support build-time chaining | snapcraft | merged | Merged PR fixing the colcon plugin to support build-time chaining. Resolves a regression by relying on setup files instead of environment variables, addressing Launchpad bug #1816565. Approved and passed CI. | |
| #4111 plugins: merge kernel plugin | snapcraft | merged | Merged craft-parts and v2 kernel plugins from a feature branch into main. Approved by one reviewer, passed CI checks, and updated 27 files. Codecov reported a 0.12% coverage increase with 98.32% diff coverage. | |
| #184 plugins: cmake | craft-parts | merged | Merged the cmake plugin port to craft-parts following approval from two reviewers and passing CI checks. The maintainer addressed review feedback regarding leftover code prior to integration. | |
| #3638 colcon v2: forward cmake args | snapcraft | merged | Merged a fix ensuring colcon-cmake-args are forwarded to the build command in the Colcon v2 plugin. Approved by reviewer, passed CI, and achieved 100% diff coverage. |