feat: make build plans for snaps with platforms
Metadata
Current evaluation
Merged PR #21 in commit 5278aa0, adding platforms-based Snap build-plan generation and fixing #5.
Resolution: closed resolved
Reason: PR #21 was approved and merged into main as commit 5278aa0. It implemented get_platforms_snap_build_plan(), explicitly fixed #5, and added corresponding tests.
Evaluated by: mr-cal-bot
No scores available.
Issue body
- [ ] Have you followed the guidelines for contributing?
- [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] Have you successfully run `tox`?
-----
Adds a function to make build plans for snaps that use the `platforms` keyword.
Fixes #5
Requires #39
CRAFT-3008
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #21 in commit 5278aa0, adding platforms-based Snap build-plan generation and fixing #5. | |
| qwen/qwen3.6-35b-a3b | — | closed resolved | Implemented build plan generation for snaps using the `platforms` keyword, resolving #5 and CRAFT-3008. Merged into main. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Likely Fixed By:
craft-platforms#5
(confidence 100%)
The requested build-plan function was implemented by PR #21, which explicitly states that it fixes #5.
-
Blocked By:
craft-platforms#39
(confidence 98%)
PR #21 listed #39 as a prerequisite; #39 was subsequently merged.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #5111 feat: use `craft-platforms` for build plans | snapcraft | merged | Merged in #5111 via commit 7969ee8d5, replacing Snapcraft’s custom build-plan logic with craft-platforms utilities. | |
| #5 Implement `get_platforms_snap_build_plan()` | craft-platforms | closed | Implemented platform-aware Snap build plans in merged PR #21, commit 5278aa0. | |
| #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. | |
| #5015 Use craft-platforms for build plans | snapcraft | closed | Snapcraft adopted craft-platforms build plans in merged PR #5111 (commit 7969ee8d5), replacing its custom planning logic. | |
| #331 feat(snap): build on arm64 | fetch-service | merged | Merged PR #331 via commit 1847b25, adding arm64 to the Snap build platforms. | |
| #86 feat(project): add support to platforms in build plan | craft-application | merged | Merged #86 added platform-name filtering for build plans, fixing #83; landed as commit e494797a. | |
| #4630 feat: add platforms and drop architectures for core24 | snapcraft | merged | Merged as canonical/snapcraft#4630 (f771a4ab8), adding optional core24 platform selection and removing legacy architectures, with host build defaults. |