← Back to issue list

[PROTOTYPE] refactor: use craft-platforms

View original Github issue

Metadata

Project
craft-application
Number
#403
Type
pull request
State
closed
Author
mr-cal
Labels
—
Created
Updated
Closed

Current evaluation

Closed unmerged as a prototype; maintainer redirected the craft-platforms build-planner integration to #391, with the build-plan service later landing via #666 (621d1a32).

Resolution: closed superseded

Reason: The maintainer closed PR #403 on 2024-08-09, stating that #391 tracked landing the changes. The upstream planner was merged in canonical/craft-platforms#25 at d9ff004.

Evaluated by: mr-cal-bot

No scores available.

Issue body

- [x] Have you followed the guidelines for contributing? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [x] Have you successfully run `tox`? ----- This prototype ensures that the `craft-platforms` build planner is a drop-in replacement for the default build planner. This is a prototype because it has some hacks, linting errors, and lacks support for `build-for: [all]`. Downstream prototype: https://github.com/canonical/rockcraft/pull/662 Upstream build planner: https://github.com/canonical/craft-platforms/pull/25 (CRAFT-3154)

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed superseded Closed unmerged as a prototype; maintainer redirected the craft-platforms build-planner integration to #391, with the build-plan service later landing via #666 (621d1a32).
stealth/space-bunny-alpha — closed superseded Closed unmerged as a prototype; mr-cal deferred landing the craft-platforms build-planner integration to canonical/craft-application#391.
qwen/qwen3.6-35b-a3b — — 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.

Update history

No update history recorded yet.

Related work

Related issues

Issue Project State Summary Similarity
#662 [PROTOTYPE] refactor: use craft-platforms rockcraft closed Prototype PR #662 was closed unmerged in August 2024; the production build-planner migration later landed via rockcraft#715 at commit 516d29e5.
90%
#501 feat: use craft-platforms build planning craft-application closed Closed unmerged after team discussion; the redesign was later delivered separately by #666 using craft-platforms, followed by #667 removing BuildPlanner.
80%
#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).
77%
#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.
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.
73%
#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.
73%
#5205 refactor: use craft-platforms utilities snapcraft merged Merged PR #5205 as commit 3aacad74b, replacing local architecture helpers with craft-platforms utilities and closing #4993 (CRAFT-3278).
72%
#986 [PROTOTYPE] build(deps): use craft-parts branch rockcraft closed Closed unmerged as an explicitly temporary CI prototype; most checks passed, but snap-tests failed. No replacement or resolution was recorded.
72%
#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.
72%
#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.
71%