Use craft-platforms utilities
Metadata
Current evaluation
Fixed by merged PR #5205 (commit 3aacad74b, "refactor: use craft-platforms utilities"), which replaced snapcraft's own get_host_architecture/supported-architecture helpers with craft-platforms equivalents (CRAFT-3278).
Resolution: closed resolved
Reason: PR #5205 was merged as commit 3aacad74b and closed the issue; it swapped snapcraft's local architecture helpers for craft-platforms utilities, removing the duplicated code the issue asked about.
Evaluated by: mr-cal-bot
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Fixed by merged PR #5205 (commit 3aacad74b, "refactor: use craft-platforms utilities"), which replaced snapcraft's own get_host_architecture/supported-architecture helpers with craft-platforms equivalents (CRAFT-3278). | |
| stealth/space-bunny-alpha | — | closed resolved | Fixed by canonical/snapcraft#5205 (commit 3aacad74b), which replaced duplicated host-architecture and supported-architecture handling with craft-platforms utilities. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed and abandoned. The issue requested replacing local architecture utilities with craft-platforms to reduce duplication. No pull request was submitted, and the task was left unresolved after an internal Jira ticket was created. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. The task to replace local architecture utilities with craft-platforms was abandoned. Only an automated Jira ticket creation comment was posted, with no implementation or pull request submitted. | |
| qwen/qwen3.6-35b-a3b | — | — | Request to replace local architecture utilities with craft-platforms functions was closed without a fix or merge. Only an auto-generated Jira ticket creation comment exists, indicating the task was likely abandoned or deferred. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without implementation. No pull requests or fixes were submitted to replace the utility functions with craft-platforms equivalents. The request appears abandoned after an automated Jira sync. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
canonical/snapcraft#5205
(confidence 97%)
Merged PR "refactor: use craft-platforms utilities", commit 3aacad74b, explicitly linked to the issue (CRAFT-3278).
-
Related To:
canonical/snapcraft#5111
(confidence 55%)
Earlier commit 7969ee8d5 adopted craft-platforms for build plans, part of the same migration effort.
-
Related To:
canonical/snapcraft#5379
(confidence 40%)
Follow-up commit 7901bef79 bumping craft-platforms to 0.7.0, continuing the dependency adoption.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #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). | |
| #5034 Snapcraft not verbose enough when missing architecture on plataforms | snapcraft | closed | Resolved via canonical/craft-application#437: incompatible builds now explain that no build matches and recommend checking platforms, --platform, or --build-for. | |
| #333 utils: introduce get_host_architecture() | charmcraft | merged | Merged PR canonical/charmcraft#333 (commit 27bf04e8, merge 2cd93470) added utils.get_host_architecture(), aligning manifest base-arch detection with the host arch used as default when bases is set without architectures. | |
| #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. |