feat: multi-base support for charm build plans
Metadata
Current evaluation
Merged PR #81 as commit 519b705, adding multi-base charm build-plan support and fixing #73, with stricter shorthand validation and CraftPlatformsError.
Resolution: closed resolved
Reason: PR #81 was merged as commit 519b705 and explicitly fixes #73; repository metadata confirms #73 was closed by this implementation.
Evaluated by: mr-cal-bot
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`?
-----
Adds multi-base support for charm build plans.
Documentation will be added in another PR (#70).
Issues I found into when working on this task:
- #79
- #80
- #82
Fixes #73
(CRAFT-3721) (the branch name has the wrong number)
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #81 as commit 519b705, adding multi-base charm build-plan support and fixing #73, with stricter shorthand validation and CraftPlatformsError. | |
| qwen/qwen3.6-35b-a3b | — | closed resolved | Merged multi-base support for charm build plans, fixing #73. Includes validation tightening and error handling updates. Docs to follow in #70. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Related To:
canonical/craft-platforms#73
(confidence 100%)
PR #81 explicitly fixes this multi-base charm build-plan issue.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #73 Add multi-bases support for charm build plans | craft-platforms | closed | Multi-base charm build-plan support was merged in PR #81 (commit 519b705), with validation tightening and error-handling updates; it resolved #73. | |
| #4 feat: add charmcraft build plans | craft-platforms | merged | Merged charmcraft build-plan support and supporting build-plan utilities in canonical/craft-platforms#4 via commit efa325b. | |
| #215 fix(charm): accept redundant multi-base charms | craft-platforms | merged | Merged PR #215 as commit 4879309, allowing redundant multi-base charms when they produce equivalent valid build plans and addressing canonical/charmcraft#2620. | |
| #598 feat: allow for multi-base builds | craft-application | merged | Merged as d81c39a7; allowed bases in platform entries so applications can implement multi-base build plans, fixing #569 (CRAFT-3719). | |
| #1894 refactor: use craft-platforms for build plans | charmcraft | merged | Merged PR #1894 (commit f1755e8f, +25/-33) replaced Charmcraft's custom build-plan generation for `platforms` charms with craft-platforms, routing exhaustive build plans through craft-application's BuildPlanService. | |
| #2054 feat: support multi-base recipes | charmcraft | merged | PR #2054 by mr-cal merged (commit 1ad02d82), adding multi-base recipe support via the `platforms` keyword, dropping base/build-base from project data and passing it unmodified to craft-platforms (CRAFT-3718). | |
| #2008 Multi-base platform support | charmcraft | closed | Multi-base support shipped in charmcraft#2054 (commit 1ad02d82) via platforms-based recipes; the prototype was not separately polished, but the requested capability was implemented. | |
| #837 create_build_plan: refactor | charmcraft | merged | Merged PR #837 (commit 974a1bc1, merge bec5c7c4, CRAFT-1272): moved create_build_plan to new charmcraft/providers/providers.py, made it return named tuples, and added direct unit tests. | |
| #861 No support for paralell builds for multi-base charms | charmcraft | open | Enhancement request (triaged) to let `charmcraft pack` build the bases/platforms of a multi-base charm in parallel; still unimplemented, scoped upstream to the whole craft ecosystem (CHARMCRAFT-655). | |
| #2646 fix(Project): fix shorthand multi-base notation | charmcraft | merged | Merged as 9dbd59a6, updating craft-platforms to fix craft-application 6 multi-base shorthand notation and adding regression coverage; fixes charmcraft#2620. |