← Back to issue list

Design/document support for architecture selection during builds

View original Github issue

Metadata

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

Current evaluation

Closed after scope expanded beyond initial grammar changes. Proposal discussions and final documentation were moved to the Snapcraft forum, formally documenting the architecture selection feature for build.snapcraft.io.

Suggested action:

No scores available.

Issue body

Estimate: 1 day Snapd’s snap.yaml supports an architectures keyword that defines the architectures on which that particular snap runs. Snapcraft currently supports the same keyword, and it acts as a pass-through, copying it into the snap.yaml. Now that build.snapcraft.io is a thing, we’d like to expand the architectures keyword to also serve the purpose of telling build.snapcraft.io which architectures to use for building, and on which architectures the resulting snap runs.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Closed after scope expanded beyond initial grammar changes. Proposal discussions and final documentation were moved to the Snapcraft forum, formally documenting the architecture selection feature for build.snapcraft.io.
qwen/qwen3.6-35b-a3b Closed and superseded by external forum discussions. The architecture selection design was finalized through Snapcraft forum proposals, with final documentation published at the linked URLs.
qwen/qwen3.6-35b-a3b Superseded by external forum discussions. The architecture selection proposal was moved to the Snapcraft forum, where final documentation was published, resolving the request without a direct code merge.
qwen3.6-35b-a3b-mtp-q6 Closed and superseded by external forum discussions. Architecture selection design and documentation were finalized on the Snapcraft forum, as linked in the comments. No code changes were implemented in this issue.
qwen3.6-35b-a3b-mtp-q6 Superseded by external documentation. Discussion and final architecture selection guidelines were published on the Snapcraft forum, resolving the design request. The issue was closed without code implementation or merges.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1685 Implement support for architecture in snapcraft.yaml snapcraft closed 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.
73%
#4336 Update architectures documentation snapcraft closed Requested Snapcraft architectures documentation updates covering defaults, environment variables, CLI options, and cross-compilation. Contributors discussed details, but the request closed without implementation, indicating abandonment.
72%
#3812 architectures: add schema support snapcraft merged Merged after approval and passing CI. Added schema support for defining architectures in snapcraft.yaml as part one for core22. Coverage increased by 0.09%, and the build_to parameter was renamed to build_for during review.
71%