feat: implement platforms for building charms
Metadata
Current evaluation
Merged #1554 in e3de0a46, adding ST105 platforms support for charm builds, including Ubuntu 24.04, and fixing #1535. Its spread-test prerequisite #1556 also merged.
Resolution: closed resolved
Reason: The platform implementation was approved and merged as commit e3de0a46, closing #1535. Required spread-test PR #1556 was merged separately as commit 4682b32b.
Evaluated by: mr-cal-bot
No scores available.
Issue body
This implements the Charmcraft portion of ST105 with the extra constraint that all newly added bases (including Ubuntu 24.04) require `platforms` rather than `bases` (per Gustavo comment on the spec). A future Charmcraft will drop support for `bases` entirely.
This PR has a hard dependency on #1556 for spread tests.
Fixes #1535
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged #1554 in e3de0a46, adding ST105 platforms support for charm builds, including Ubuntu 24.04, and fixing #1535. Its spread-test prerequisite #1556 also merged. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged #1554 in commit e3de0a46, implementing ST105 platforms for charm builds, including Ubuntu 24.04, and fixing #1535. Its spread-test prerequisite, #1556, also merged. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #1554 (e3de0a46), adding platform-based charm builds for new bases, including Ubuntu 24.04, per ST105. It requires platforms for newly added bases and fixes #1535. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged implementation of platforms for building charms, replacing the deprecated bases field per ST105 spec. Resolves #1535 and depends on #1556 for testing. Approved by reviewers with passing CI checks. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged implementation of platforms for building charms, replacing bases per ST105 spec. Resolves #1535 and depends on #1556 for spread tests. Bases support will be fully deprecated in future releases. |
Update history
No update history recorded yet.
Related work
-
Related To:
canonical/charmcraft#1535
(confidence 100%)
The feature-tracking issue explicitly fixed by #1554.
-
Related To:
canonical/charmcraft#1556
(confidence 100%)
Hard dependency providing the required spread-test changes; merged in commit 4682b32b.
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. | |
| #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. | |
| #2321 feat: add plucky and questing as devel bases | charmcraft | merged | Merged PR #2321 as 5bc3e48c, adding Ubuntu Plucky 25.04 and Questing 25.10 as development bases for packing charms. | |
| #2657 test: Platform shorthand notation and charm plugin | charmcraft | merged | Merged PR #2657 as 2bfa73df, adding tests for platform shorthand notation with the charm plugin after earlier craft-platforms regressions. | |
| #2697 test(spread): stabilize Ubuntu 26.04 charm spread uv/platforms tasks | charmcraft | merged | Merged as commit a31d5bea: Ubuntu 26.04 spread charm task now runs `charmcraft pack` without --destructive-mode, and the uv fixture gained src/charm.py with `dispatch` restored in expected_files.txt. | |
| #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. | |
| #2080 docs: add platforms reference and how-to | charmcraft | merged | Merged in canonical/charmcraft#2080 (142fa827), adding platforms reference/how-to docs for bases, architectures and multi-base support; fixes #2009. |