← Back to issue list

feat: use debian arch in platforms

View original Github issue

Metadata

Project
rockcraft
Number
#380
Type
pull request
State
merged
Author
tigarmo
Labels
Created
Updated
Closed

Current evaluation

Merged. Updates Rockcraft platforms to use Debian architecture format, drops the build variant concept, and localizes image fetching logic. Approved by two reviewers, passed CI, and resolves issues #370 and #358.

Suggested action:

No scores available.

Issue body

This commit puts Rockcraft in line with other craft tools: the architectures listed in the platforms are in Debian format, and we convert when necessary (such as when fetching images from a Docker registry). As a side-effect, we also drop the "build variant" notion from the platforms - currently this variant is only used when fetching/creating images, so keep the variant logic localized to rockcraft.oci. Fixes #370, #358

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged. Updates Rockcraft platforms to use Debian architecture format, drops the build variant concept, and localizes image fetching logic. Approved by two reviewers, passed CI, and resolves issues #370 and #358.
qwen3.6-35b-a3b-mtp-q6 Merged. Platforms now use Debian architecture format with automatic conversion for Docker and OCI operations. Build variant logic was removed and localized to rockcraft.oci. Updated to use GOARCH for umoci compatibility. Fixes #370 and #358.
qwen3.6-35b-a3b-mtp-q6 Merged. Platforms now use Debian architecture format to align with other craft tools, localizing build variant logic to rockcraft.oci. Resolves #370 and #358.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#737 feat: use debian architecure names in api craft-parts merged Merged after approval and passing CI. The change normalizes API architecture names to Debian format instead of Python machine names, preventing unexpected variations across build-on and build-for entries.
73%
#1200 feat: stabilize ubuntu@26.04 build-base rockcraft merged Merged to stabilize the ubuntu@26.04 build-base for ROCKCRAFT-304. The change passed all CI checks and received two approvals. Updates span four files with a net reduction of five lines.
72%
#601 feat: use platform name in build instance name craft-application merged Merged. Changes build instance naming to use platform names instead of architectures, preventing shared environments. Approved by two reviewers, the +40/-10 line update across four files fixes #600 and unblocks dependent work.
71%
#764 feat: update 'rockcraft init' base to 24.04 rockcraft merged Merged the update to change the rockcraft init base to Ubuntu 24.04, resolving issue #748. Approved by two reviewers with minimal changes across two files.
70%