feat(plugins): set plugin groups per base
Metadata
Current evaluation
Merged changes configuring plugin groups per base, enabling or disabling dotnet, ruby, uv, and poetry plugins based on target Ubuntu versions. Approved and integrated. Follow-up adjustments deferred to PR #1080.
Suggested action: —
No scores available.
Issue body
This PR makes use of the new API in the LifecycleService to fully define
the set of plugins for each base. This initial definition is similar to the
previous status quo with two differences:
- the "dotnet" plugin (v1) is only enabled for 20.04, 22.04 and 24.04. This is
because we should look into using version 2 of the plugin if possible, on a
separate task.
- the new "ruby" plugin is not added to any bases until we have a need for it
and can verify that it works for Rockcraft.
The second commit then makes use of the new capability to remove the `uv` and `poetry` plugins from 25.10 and newer, since we need v2 versions of those plugins for usrmerged install dirs.
---
- [ ] I've followed the [contribution guidelines](https://github.com/canonical/rockcraft/blob/main/CONTRIBUTING.md).
- [ ] I've signed the [CLA](http://www.ubuntu.com/legal/contributors/).
- [ ] I've successfully run `make lint && make test`.
- [ ] I've added or updated any relevant documentation.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged changes configuring plugin groups per base, enabling or disabling dotnet, ruby, uv, and poetry plugins based on target Ubuntu versions. Approved and integrated. Follow-up adjustments deferred to PR #1080. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Configured plugin groups per base via LifecycleService API. Restricted dotnet to specific bases, deferred ruby, and removed uv and poetry from 25.10+ for v2 support. Follow-up tracked in PR #1080. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1393 feat(plugins): add plugin groups | craft-parts | merged | Merged the plugin groups feature, enabling simultaneous configuration of multiple plugins. Approved by two reviewers with all CI checks passing. Setting a group replaces manual plugin registration and must be applied first. |