Add core22 colcon plugin / ros2-humble extension
Metadata
Current evaluation
Merged into main. Introduces the core22 colcon plugin and ros2-humble extension to Snapcraft. Approved by two reviewers, passed CI checks, and integrated with a minor test coverage decrease.
Suggested action: —
No scores available.
Issue body
- [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] Have you successfully run `make lint`?
- [x] Have you successfully run `pytest tests/unit`?
-----
Add the `colcon` plugin for `core22` together with the `ros2-humble` extension.
~~This PR is mostly ready, at the time of writing it still requires a way to enable experimental extensions with providers (e.g. lxd).~~
Note, not all spread tests were ported from `core20`. I plan on revisiting the suite later on.
Depends on, https://github.com/snapcore/snapcraft/pull/3741, https://github.com/snapcore/snapcraft/pull/3758, https://github.com/snapcore/snapcraft/pull/3775, https://github.com/canonical/craft-parts/pull/234
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged into main. Introduces the core22 colcon plugin and ros2-humble extension to Snapcraft. Approved by two reviewers, passed CI checks, and integrated with a minor test coverage decrease. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged the core22 colcon plugin and ros2-humble extension into main. The external contribution implements the requested build tooling and extension, proceeding despite a minor test coverage decrease flagged by Codecov. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged the core22 colcon plugin and ros2-humble extension into main. The change relies on several dependent pull requests and adds new functionality, with diff coverage noted at 74.86%. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #3994 core22 colcon plugin: re-source environment after installation | snapcraft | merged | Merged fix for core22 colcon plugin that re-sources ROS 2 environment post-installation to resolve custom interface build failures. Added spread tests and package state restoration. Approved by two reviewers and merged. | |
| #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. | |
| #6190 Add core26 support for the colcon plugin and extensions | snapcraft | open | Placeholder tracking task for adding core26 (Ubuntu 26.04) support to the colcon plugin and ROS 2 extensions. Core26 base support and the ros2-lyrical extensions have since landed, but no colcon-specific core26 work or PR is referenced; issue remains unlabelled with zero comments. | |
| #4221 extensions: support for content sharing for ROS | snapcraft | merged | Merged Sept 14, 2023. Adds ROS content sharing support and snapcraft extensions for core20/22 and colcon/catkin. Rebased onto main and PR #4271, then squash-merged after dual approval. One test disabled due to conflicts. | |
| #3536 ROS plugins v2 misc fixes | snapcraft | merged | Merged. Fixes ROS plugins v2 staging failures by checking local ROS directories and skipping rosdep resolution for locally available packages. Updated tests for core20. Approved by two reviewers and passed CI. | |
| #3668 extensions: support core22 | snapcraft | merged | Merged into snapcraft/7.0. Implements core22 support for extensions by updating the API and processing pipeline. Confirmed apply_extensions compatibility, passed code review and CI, and increased coverage by 1.43%. | |
| #3566 ROS 2 plugins v2 misc fixes | snapcraft | merged | Merged after resolving conflicts and passing CI. Fixes ROS 2 plugins v2 by updating the colcon install path, resolving local packages during staging by removing the COLCON_IGNORE marker, and adding spread tests. | |
| #3097 colcon v2 plugin + ros2 extension | snapcraft | closed | Closed without merging. The colcon v2 plugin and ros2 extension request remained in pending review with 50 unresolved comments and no CI checks, indicating it was abandoned. | |
| #2593 colcon plugin: add support for dashing | snapcraft | merged | Added ROS 2 Dashing support to the colcon plugin. Merged after reviewer approval, passing CI checks, and achieving 100% diff coverage across 7 modified files. | |
| #3870 plugins command: support for core22 | snapcraft | merged | Merged changes adding core22 support to the plugins command and clarifying base selection messages. Approved by a reviewer, passed CI, and integrated into main despite a minor 0.04% coverage decrease. |