feat: extensible commands
Metadata
Current evaluation
Merged extensible commands allowing applications to register parser fillers, prologues, and epilogues. Approved by two reviewers with passing CI and full test coverage. Added +376/-42 lines across seven files to support charmcraft transition.
Suggested action: —
No scores available.
Issue body
This creates a version of commands that can be modified by the application by registering parser fillers, prologues and epilogues. Additionally, it makes the lifecycle commands versions of these.
This is needed to support charmcraft's craft-application changeover, but is kept in draft until I can test it with charmcraft.
- [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 `tox`?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged extensible commands allowing applications to register parser fillers, prologues, and epilogues. Approved by two reviewers with passing CI and full test coverage. Added +376/-42 lines across seven files to support charmcraft transition. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged implementation of extensible commands, allowing registration of parser fillers, prologues, and epilogues to support charmcraft's craft-application transition. Maintained 99.27% test coverage. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1248 feat(extensions): add basic support | charmcraft | merged | Merged to resolve issue #1238, adding basic extension support. Approved by two reviewers, apply_extensions now runs in unmarshal after base expansion to support unified charmcraft.yaml formats, requiring double base expansion if extensions modify bases. (+750/-3 lines, 10 files) | |
| #677 feat!: hybrid commands! | craft-application | merged | Merged hybrid commands implementation by maintainer lengau. Resolves CRAFT-4163 and depends on craft-application PR #674. Changes span 15 files with +322/-276 lines. Approved by two reviewers. | |
| #1660 feat: add test command and templates | charmcraft | merged | Merged addition of the charmcraft test command and templates. The feature invokes spread to run test suites locally and remotely using a multipass backend. Approved by two reviewers and rebased on main before integration. |