Use craft-platforms for build plans
Metadata
Current evaluation
Build planner logic and filterer were upstreamed to craft-platforms via PR #25. Downstream integration is being prototyped in craft-application. The issue is closed as resolved.
Suggested action: —
No scores available.
Issue body
### What needs to get done
1. Move the basic build planner logic from [here](https://github.com/canonical/craft-application/blob/66b6bae2bf194b165a073dbbe8726de2ae3eb23c/craft_application/models/project.py#L152) into [craft-platforms](https://github.com/canonical/craft-platforms)
2. Copy the build plan filterer into craft-platforms
### Why it needs to get done
craft-platforms needs a complete build planner logic.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Build planner logic and filterer were upstreamed to craft-platforms via PR #25. Downstream integration is being prototyped in craft-application. The issue is closed as resolved. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
95
Complexity:
40
Confidence:
90
Support Request:
5
|
close stale | Task to move build planner logic to craft-platforms. A maintainer confirmed the work was upstreamed and downstream consumption was prototyped over a year ago, rendering this tracking issue obsolete. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
95
Complexity:
40
Confidence:
90
Support Request:
10
|
close stale | Task to move build planner logic to craft-platforms. Work has been upstreamed in craft-platforms PR #25, with downstream prototyping underway. Issue is effectively obsolete. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
80
Complexity:
30
Confidence:
95
Support Request:
0
|
close stale | Migrate build planner logic and filterer to craft-platforms. Upstreamed to craft-platforms. Downstream integration is prototyped and awaiting implementation. |
Update history
| Date | Change |
|---|---|
| closed |
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #698 Use craft-platforms for build plans | rockcraft | closed | Closed and superseded by prototype PR #662, which implements craft-platforms for build plans to deduplicate logic and ensure consistency across projects. No explicit resolution or merge details are documented. | |
| #639 Move the build planner logic into craft-platforms | rockcraft | open | Refactor to move build planner logic into craft-platforms, requested by jugmac00. Work completed: craft-application#391 closed as resolved, rockcraft PR #715 and commit 5f898b32 implemented the change. No BuildPlanner class remains in codebase. | |
| #1876 Use craft-platforms for build plans | charmcraft | closed | Closed without resolution. The proposal to use craft-platforms for build plans to deduplicate logic and ensure consistency was not implemented or superseded. | |
| #403 [PROTOTYPE] refactor: use craft-platforms | craft-application | closed | Closed as a prototype. The author abandoned the pull request, noting that the craft-platforms build planner integration is tracked and implemented via issue #391. | |
| #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. | |
| #5015 Use craft-platforms for build plans | snapcraft | closed | 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. | |
| #662 [PROTOTYPE] refactor: use craft-platforms | rockcraft | closed | Closed as a prototype pending upstream completion of craft-application#391. The branch remains available for future use once those changes are released. | |
| #326 feat: add Platform model and default BuildPlanner | craft-application | merged | Merged after two approvals. Adds a Platform model and default BuildPlanner. The maintainer coordinated timing with related remote-build PRs to bundle fixes in a craft-application hotfix. | |
| #1894 refactor: use craft-platforms for build plans | charmcraft | merged | Merged a refactor replacing custom build plan logic with craft-platforms for platforms charms. Approved by two reviewers, the change modifies two files with a net reduction of eight lines, streamlining platform handling. |