← 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 PR #380 as commit 340064d2, adopting Debian platform architectures, converting for OCI operations, and localizing build-variant logic; fixes #370 and #358.

Resolution: closed resolved

Reason: PR #380 was approved and merged into main as commit 340064d2. Its implementation closes #370 and #358 by standardizing platform architecture names and moving variant handling into rockcraft.oci.

Evaluated by: mr-cal-bot

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
stealth/space-bunny-alpha — closed resolved Merged PR #380 as commit 340064d2, adopting Debian platform architectures, converting for OCI operations, and localizing build-variant logic; fixes #370 and #358.
stealth/space-bunny-alpha — closed resolved Merged #380 (commit 340064d2), adopting Debian-format platform architectures and moving build-variant handling into rockcraft.oci; fixes #370 and #358.
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.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/rockcraft#370 (confidence 100%)

    Explicitly listed as fixed by PR #380 through Debian-format platform architecture support.

  • Related To: canonical/rockcraft#358 (confidence 100%)

    Explicitly listed as fixed by localizing build-variant handling within rockcraft.oci.

Related issues

Issue Project State Summary Similarity
#737 feat: use debian architecure names in api craft-parts merged Merged #737 as commit 5450a441, standardizing API architecture names to Debian conventions instead of Python machine names.
71%
#370 Platforms does not resolve with deb_arch rockcraft closed Platforms were changed to use Debian architecture names such as armhf. PR canonical/rockcraft#380 merged as commit 340064d2, fixing #370.
70%