← Back to issue list

cli: enable SNAPCRAFT_TARGET_ARCH envvar matching --target-arch

View original Github issue

Metadata

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

Current evaluation

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.

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 and cause behavior changes. 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. Maintainer @sergiusens rejected the change, deciding against expanding environment variable usage for CLI options. The pull request was abandoned following internal discussion.
qwen3.6-35b-a3b-mtp-q6 Rejected. Maintainers decided against expanding environment variable usage for CLI options, closing the proposed SNAPCRAFT_TARGET_ARCH sync with --target-arch without merging.
qwen3.6-35b-a3b-mtp-q6 Closed without merging. The proposal to map SNAPCRAFT_TARGET_ARCH to --target-arch was rejected after maintainers decided against expanding environment variable usage for CLI options.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#3415 cli: enable SNAPCRAFT_TARGET_ARCH envvar matching --target-arch snapcraft closed Closed without merging after a reviewer requested changes with one unresolved comment. The proposed CLI environment variable matching was abandoned.
94%