feat: allow for multi-base builds
Metadata
Current evaluation
Merged as d81c39a7; allowed bases in platform entries so applications can implement multi-base build plans, fixing #569 (CRAFT-3719).
Resolution: closed resolved
Reason: Merged PR #598 was committed as d81c39a7. It enables applications to define bases under platforms, explicitly fixing #569 while keeping multi-base behavior opt-in.
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 `tox`?
-----
This does not support multi-base builds by default, but enables applications to implement multi-base build plans by allowing bases to be defined in the 'platforms' entry.
Fixes #569
(CRAFT-3719)
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged as d81c39a7; allowed bases in platform entries so applications can implement multi-base build plans, fixing #569 (CRAFT-3719). | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #598 (d81c39a7) allowed apps to define base-qualified build-on values in platforms entries, enabling multi-base build plans and fixing #569. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged as d81c39a7, allowing bases in platforms entries so applications can implement multi-base build plans; fixes craft-application#569. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged to enable multi-base builds by allowing bases in the platforms entry. Approved by three reviewers, passed CI, and resolves issue #569. Modified four files with 46 additions and 28 deletions. |
Update history
No update history recorded yet.
Related work
-
Related To:
craft-application#569
(confidence 100%)
The issue requesting multi-base build support was explicitly fixed by PR #598.
-
Related To:
craft-application#812
(confidence 95%)
Later follow-up made ProjectService multi-base compatible and shipped in version 5.5.0.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #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). | |
| #81 feat: multi-base support for charm build plans | craft-platforms | merged | Merged PR #81 as commit 519b705, adding multi-base charm build-plan support and fixing #73, with stricter shorthand validation and CraftPlatformsError. | |
| #569 Allow multi-base builds | craft-application | closed | Multi-base build plans were enabled by merged PR #598 (d81c39a7), explicitly fixing #569; PR #812 (c4bf6b4c) later added ProjectService compatibility for 5.5.0. | |
| #1027 feat: allow building on other compatible architectures | craft-application | merged | Merged #1027 as commit 15f48281, enabling provider-compatible cross-architecture builds and CRAFT_BUILD_ON architecture selection. | |
| #13 project: make build-base optional, defaults to base (CRAFT-590) | rockcraft | merged | Merged PR #13 via commit 7ac8e01e (merge ff694dcd), making build-base optional and defaulting it to base when omitted. | |
| #84 fix: do not strip base from platform names | craft-platforms | merged | Merged PR #84 via commit 7680af2: shorthand platform names now retain their base, preventing duplicate BuildInfo names required by craft-application. | |
| #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. | |
| #365 feat: accept build-for: [all] in platforms | craft-application | merged | Merged PR canonical/craft-application#365 (CRAFT-3016): accepts 'build-for: [all]' in platform definitions, disallowing other platforms when set; closes craft-application#360, related to snapcraft#4854. | |
| #362 feat: support platforms for the build plans | rockcraft | merged | Merged PR #362, adding platform support to build plans; the change is recorded in commit 9cc5af95. | |
| #390 build/pack: add support for bases in managed mode (CRAFT-131) | charmcraft | merged | Merged #390 via eac93bba (implementation d080cf67), adding managed-mode bases support to build/pack, host/base matching diagnostics, validation, and list-based build results. |