← Back to issue list

Use craft-platforms for build plans

View original Github issue

Metadata

Project
snapcraft
Number
#5015
Type
issue
State
closed
Author
mr-cal
Labels
—
Created
Updated
Closed

Current evaluation

Snapcraft adopted craft-platforms build plans in merged PR #5111 (commit 7969ee8d5), replacing its custom planning logic.

Resolution: —

Evaluated by: mr-cal-bot

No scores available.

Issue body

### What needs to get done Once https://github.com/canonical/craft-platforms/issues/5 is completed, snapcraft should use craft-platforms to create a build plan ### Why it needs to get done * To deduplicate similar build planning logic * To ensure consistent build plans between snapcraft and potential consumers of craft-platforms, like Launchpad

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — — Snapcraft adopted craft-platforms build plans in merged PR #5111 (commit 7969ee8d5), replacing its custom planning logic.
stealth/space-bunny-alpha — closed resolved Adopted craft-platforms build plans in merged Snapcraft PR #5111 (commit 7969ee8d5), replacing Snapcraft-specific planning logic.
qwen/qwen3.6-35b-a3b — — Closed and synced to Jira as CRAFT-3322. No repository changes or merges were applied. The task remains deferred pending resolution of craft-platforms issue #5.
qwen/qwen3.6-35b-a3b — — Closed without implementation. The request to use craft-platforms for build plans was deferred pending a prerequisite issue. No code changes or merges were executed, indicating the task was abandoned or superseded.
qwen/qwen3.6-35b-a3b — — Closed without implementation. The integration of craft-platforms for build plans was abandoned or superseded. Tracking was moved to internal Jira ticket CRAFT-3322.
qwen3.6-35b-a3b-mtp-q6 — — Closed without implementation. The task was likely superseded or abandoned pending resolution of the upstream craft-platforms dependency.

Update history

No update history recorded yet.

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.
89%
#391 Use craft-platforms for build plans craft-application closed Build planning and filtering moved to craft-platforms in merged PR #25 (d9ff004); craft-application adopted the planner through merged PR #666 (621d1a32).
86%
#698 Use craft-platforms for build plans rockcraft closed Merged PR #715 (516d29e5) replaced Rockcraft's custom build-plan generation with craft-platforms, resolving #698 and aligning plans with downstream consumers.
85%
#1876 Use craft-platforms for build plans charmcraft closed Closed as done: charmcraft PR #1894 (commit f1755e8f) switched build plan generation to craft-platforms via craft-application's BuildPlanService; rockcraft did the same in #715.
81%
#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.
80%
#83 Support "platforms" for the build plans craft-application closed Platform support for build plans was merged in craft-application#86 (commit e494797a), adding platform-name selection/filtering and closing #83.
74%
#21 feat: make build plans for snaps with platforms craft-platforms merged Merged PR #21 in commit 5278aa0, adding platforms-based Snap build-plan generation and fixing #5.
74%
#715 refactor: use craft-platform for the build plans rockcraft merged Merged PR #715 (516d29e5) replaced Rockcraft’s custom build-plan generation with craft-platform, creating one shared source for Rockcraft and remote builds; fixes #698.
74%
#639 Move the build planner logic into craft-platforms rockcraft closed Build planner logic extracted to craft-platforms in merged PR canonical/craft-platforms#25 (commit d9ff004); rockcraft later simplified in commit 5f898b32. Maintainer mr-cal confirmed completion.
74%
#5 Implement `get_platforms_snap_build_plan()` craft-platforms closed Implemented platform-aware Snap build plans in merged PR #21, commit 5278aa0.
73%