feat(templates): change the templates to use platforms notation
Metadata
Current evaluation
Merged update switching templates from bases to platforms notation while temporarily retaining Jammy builds. Approved by two reviewers, resolves #2167, and modifies five files with a net reduction of 48 lines.
Suggested action: —
No scores available.
Issue body
This updates the templates to use the `platforms` notation rather than `bases`. It keeps them building on Jammy for the timebeing though.
CRAFT-4150
Fixes #2167
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged update switching templates from bases to platforms notation while temporarily retaining Jammy builds. Approved by two reviewers, resolves #2167, and modifies five files with a net reduction of 48 lines. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged update switching templates from bases to platforms notation while preserving Jammy builds. Resolves #2167. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Updates templates to use platforms notation instead of bases, retaining Jammy builds temporarily. Resolves #2167 (CRAFT-4150). |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #601 feat: use platform name in build instance name | craft-application | merged | Merged. Changes build instance naming to use platform names instead of architectures, preventing shared environments. Approved by two reviewers, the +40/-10 line update across four files fixes #600 and unblocks dependent work. | |
| #947 feat!(platforms): prevent use of '/' in platform names | craft-application | merged | Prevents use of '/' in platform names, resolving issue #941 and CRAFT-4876. Merged after approval by two reviewers and passing all CI checks across four modified files. | |
| #598 feat: allow for multi-base builds | craft-application | merged | 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. | |
| #5111 feat: use `craft-platforms` for build plans | snapcraft | merged | Merged the change to replace existing build plan logic with the craft-platforms library. Approved by two reviewers, the update modifies six files with a net reduction of 17 lines, streamlining platform detection and build configuration. |