← Back to issue list

Implement support for architecture in snapcraft.yaml

View original Github issue

Metadata

Project
snapcraft
Number
#1685
Type
issue
State
closed
Author
sergiusens
Labels
—
Created
Updated
Closed

Current evaluation

Architecture support for snapcraft.yaml landed in PR #2080 (commit c60ac3891), adding CI-oriented build-on/run-on lists. build.snapcraft.io adoption was tracked separately by cjwatson.

Resolution: closed resolved

Reason: PR #2080 by kyrofa was merged as commit c60ac3891 ("project_loader: support architectures for CI"), adding the `architectures` keyword with build-on/run-on lists to project_loader. Maintainer comment on 2018-04-17 confirms "this feature has actually landed".

Evaluated by: mr-cal-bot

No scores available.

Issue body

No description provided.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Architecture support for snapcraft.yaml landed in PR #2080 (commit c60ac3891), adding CI-oriented build-on/run-on lists. build.snapcraft.io adoption was tracked separately by cjwatson.
stealth/space-bunny-alpha — closed resolved Architecture support in snapcraft.yaml landed via PR #2080 (c60ac3891); build.snapcraft.io adoption remained follow-up work.
stealth/space-bunny-alpha — closed resolved Architecture support for snapcraft.yaml landed in PR #2080 (c60ac3891), adding CI-oriented build-on/run-on lists; build.snapcraft.io adoption remained follow-up work.
qwen/qwen3.6-35b-a3b — — Implemented architecture support in snapcraft.yaml after initial redesign delays. The feature landed in the core tool, though integration with build.snapcraft.io and a Python 2-compatible parser require follow-up work.
qwen/qwen3.6-35b-a3b — — Architecture support in snapcraft.yaml was implemented. The issue closed with follow-up tasks required for build.snapcraft.io integration and a Python 2-compatible parser.
qwen/qwen3.6-35b-a3b — — The architecture support feature was implemented and landed. Downstream integration with build.snapcraft.io and Launchpad requires additional work, prompting a request to file a new bug and clarify Python parser plans.
qwen3.6-35b-a3b-mtp-q6 — — Resolved via implementation. Architecture support in snapcraft.yaml landed, but build.snapcraft.io integration requires follow-up work, including a Launchpad bug and a Python 2-compatible parser.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: canonical/snapcraft#2080 (confidence 95%)

    Merged PR titled "project_loader: support architectures for CI"; commit c60ac3891 appears in repo history and implements the requested snapcraft.yaml architecture support.

  • Related To: canonical/snapcraft#3812 (confidence 40%)

    Later commit 629e4ce51 "architectures: add schema support" extends the same feature area with JSON schema validation; the syntax is documented today under docs/explanation/platforms.rst.

Related issues

Issue Project State Summary Similarity
#393 Support architecture all packages when snapping snapcraft merged Merged snapcraft#393 as ca2301a9d, making directory snaps default to architecture "all" when snap.yaml omits architectures; merge commit: 0adafaa0f.
77%
#3812 architectures: add schema support snapcraft merged Merged as commit 629e4ce51: adds core22 architectures schema support to snapcraft.yaml (build_to renamed to build_for), part 1 of CRAFT-1163; full feature followed in #3821 (4876b53).
76%
#4150 meta: use build-for in snap.yaml architecture snapcraft merged Merged #4150 as 77d3454d: build-for: all now writes architectures: all to meta/snap.yaml instead of the build-on architecture, fixing CRAFT-1535.
75%
#1885150 Cannot use --build-on, architecture list is already set in snapcraft.yaml. snapcraft (launchpad) closed Resolved in Snapcraft 8.7.0: remote-build added --build-for filtering for projects defining architectures or platforms, replacing the unusable --build-on workaround.
71%
#1560481 snapcraft prints 'architectures' when trying to build a gadget snap snapcraft (launchpad) closed Gadget-snap build support was added in commit 5610f0eaf (PR #886).
71%
#5222 Support foreign architectures snapcraft closed Foreign-architecture APT support landed in craft-archives#153 (64f1092), released in 2.1.0; Snapcraft added core24 cross-compilation coverage in b26b653c1.
71%
#4780 remote build: fails with some architecture definitions snapcraft closed Remote-build architecture handling was fixed by merged PR canonical/snapcraft#4793 (commit 53ec55cef), with companion support in canonical/craft-application#343.
71%