← Back to issue list

cli: enable SNAPCRAFT_TARGET_ARCH envvar matching --target-arch

View original Github issue

Metadata

Project
snapcraft
Number
#3415
Type
pull request
State
closed
Author
cjp256
Labels
Created
Updated
Closed

Current evaluation

Closed without merging after a reviewer requested changes with one unresolved comment. The proposed CLI environment variable matching was abandoned.

Suggested action:

No scores available.

Issue body

But ensure it is scrubbed from build provider flags so that it doesn't get passed into target environment. Signed-off-by: Chris Patterson <chris.patterson@canonical.com> - [ ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] Have you successfully run `./runtests.sh static`? - [ ] Have you successfully run `./runtests.sh tests/unit`? -----

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Closed without merging after a reviewer requested changes with one unresolved comment. The proposed CLI environment variable matching was abandoned.
qwen3.6-35b-a3b-mtp-q6 Closed without merge, likely abandoned. The proposed change to align SNAPCRAFT_TARGET_ARCH with --target-arch and scrub it from build provider flags was not implemented.
qwen3.6-35b-a3b-mtp-q6 Closed without merging. The CLI update to align SNAPCRAFT_TARGET_ARCH with --target-arch and scrub it from provider flags was abandoned.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#3568 cli: enable SNAPCRAFT_TARGET_ARCH envvar matching --target-arch snapcraft closed Closed without merging. Maintainer @sergiusens rejected the change, deciding against expanding environment variable usage for CLI options. The pull request was abandoned following internal discussion.
94%
#3414 project loader: export SNAPCRAFT_TARGET_ARCH in build environment snapcraft merged Exported SNAPCRAFT_TARGET_ARCH in the build environment. Merged after single reviewer approval, modifying two files with six additions and two deletions.
71%