feat(templates): change the templates to use platforms notation
Metadata
Current evaluation
Merged PR #2200 (commit c4d43add) migrated Charmcraft init templates from bases to platforms notation while retaining Jammy builds, fixing #2167.
Resolution: closed resolved
Reason: PR #2200 was approved and merged as commit c4d43add. Its template migration resolves charmcraft#2167.
Evaluated by: mr-cal-bot
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 |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #2200 (commit c4d43add) migrated Charmcraft init templates from bases to platforms notation while retaining Jammy builds, fixing #2167. | |
| stealth/space-bunny-alpha | — | closed resolved | PR #2200 merged, updating templates from bases to platforms notation while retaining Jammy builds and fixing invalid machine-profile charmcraft.yaml generation in #2167. | |
| 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. |
Update history
No update history recorded yet.
Related work
-
Related To:
canonical/charmcraft#2167
(confidence 100%)
The invalid machine init template was fixed by PR #2200.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1535 Implement platforms for charmcraft | charmcraft | closed | Implemented ST105-style platforms for charm builds in merged PR #1554, commit e3de0a46, completing the requested platform support. | |
| #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. |