← Back to issue list

fix(remotebuild): parse comma-separated architectures

View original Github issue

Metadata

Project
snapcraft
Number
#5028
Type
pull request
State
merged
Author
mr-cal
Labels
Created
Updated
Closed

Current evaluation

Merged fix for issue #4990 enabling comma-separated architecture parsing for --build-for and --platform remote build arguments. Approved by two reviewers and verified via passing CI and spread tests.

Suggested action:

No scores available.

Issue body

- [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [x] Have you successfully run `tox run -m lint`? - [x] Have you successfully run `tox run -e test-py310`? (supported versions: `py39`, `py310`, `py311`, `py312`) ----- Allow comma-separated values for `--build-for` and `--platform`. Remote build spread tests are successful: https://github.com/canonical/snapcraft/actions/runs/10814283451/job/30000756052 Fixes #4990 (CRAFT-3271)

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged fix for issue #4990 enabling comma-separated architecture parsing for --build-for and --platform remote build arguments. Approved by two reviewers and verified via passing CI and spread tests.
qwen3.6-35b-a3b-mtp-q6 Merged fix enabling comma-separated architecture parsing for --build-for and --platform in remote builds. Resolves issue #4990 and passes all spread tests.
qwen3.6-35b-a3b-mtp-q6 Merged fix enabling comma-separated architecture parsing for --build-for and --platform in remote builds. Resolves #4990 and passes spread tests.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#4543 fix(remote): parse comma-separated architectures snapcraft merged Merged after approval. Resolves #4516 by enforcing mutual exclusivity between --build-for and --build-on, and adding comma-separated architecture parsing for remote builds. Proceeded despite unrelated spread test failures.
89%
#4994 fix(remotebuild): parse '--build-for' and '--platform' snapcraft merged Merged fix for remote-build parsing of --build-for and --platform flags. Enforces flag restrictions, updates documentation, and resolves issues #4858 and #4881. Approved by two reviewers with passing CI checks.
79%
#4990 remote build: Allow comma-separated values for `--build-for` and `--platform` snapcraft closed Fixed via PR #5028. The remote build command now supports comma-separated values for --build-for and --platform, resolving a regression introduced during the migration to craft-application.
73%
#442 fix(platform): automatically vectorise architectures craft-application merged Merged fix allowing the Platform model to accept string or list values for build-on and build-for architectures, resolving issue #1874. Approved by two reviewers, passed CI, and modified two files.
73%
#4793 fix(remote-build): don't fail with certain archs snapcraft merged Merged a fix for remote-build architecture failures. The changes were retargeted to the hotfix branch per reviewer request before approval and merge.
72%
#2774 remote-build: architecture handling snapcraft merged Merged architecture handling updates for remote-build. Modified one file with 36 additions and 30 deletions. Approved by one reviewer. Author noted missing CLI unit tests and plans a follow-up PR to address them.
71%
#4780 remote build: fails with some architecture definitions snapcraft closed Remote build failures with specific architecture definitions or comma-separated --build-for flags were fixed via PR #4793 and craft-application#343.
70%