ament plugin: new plugin
Metadata
Current evaluation
Merged a new ROS2 Ament plugin for Snapcraft, resolving LP: #1686850. The PR bootstraps ROS2 and builds source packages. Test failures from ROS repository key errors and a rebase conflict were fixed prior to approval and merge.
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] If this is a bugfix. Have you checked that there is a bug report open for the issue you are trying to fix on [bug reports](https://bugs.launchpad.net/snapcraft)?
- [x] If this is a new feature. Have you discussed the design on the [forum](https://forum.snapcraft.io)?
- [x] Have you successfully run `./runtests.sh static`?
- [x] Have you successfully run `./runtests.sh unit`?
-----
As ROS2 nears a stable release, it's a good time to introduce support for it by way of a beta plugin. This PR resolves LP: [#1686850](https://bugs.launchpad.net/snapcraft/+bug/1686850) (and #1443) by doing exactly that. We're starting simple, just bootstrapping ROS2 and using it to build the provided source. ROS2 doesn't have a lot of tooling just yet, so this plugin will need to grow with it.
Note that the high line count is due to an integration test: the plugin itself is relatively small.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged a new ROS2 Ament plugin for Snapcraft, resolving LP: #1686850. The PR bootstraps ROS2 and builds source packages. Test failures from ROS repository key errors and a rebase conflict were fixed prior to approval and merge. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged to add the ament plugin for ROS2 support in snapcraft, resolving LP: #1686850. The update implements ROS2 bootstrapping and build workflows. Pre-merge fixes addressed GPG key errors and test failures caused by rebase conflicts. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged a new ament plugin adding ROS2 support to Snapcraft, resolving LP: #1686850. Implementation includes ROS2 bootstrapping and build logic. Final merge followed fixes for integration test failures and path quoting issues. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1582 plugins: add ros2 boostrapper | snapcraft | merged | Merged following reviewer approval and passing CI checks. Adds a ROS2 bootstrapper to build the underlay from source, paving the way for a future Ament plugin. Integration tests will be added in a follow-up PR. | |
| #1392 catkin plugin: extract rosdep into new package | snapcraft | merged | Merged. Extracts rosdep from the catkin plugin into snapcraft.plugins.internal.pullers to enable future Ament and ROS 2 support. Updates plugin loading to ignore internal packages, resolving issue #1464. | |
| #1443 new ament plugin (ros2) | snapcraft | closed | Request for a new ament plugin for ROS 2 was closed without implementation. A maintainer acknowledged the proposal and mentioned spiking the feature pending OSRF review, but development stalled. The request remains abandoned. |