project loader: export SNAPCRAFT_TARGET_ARCH in build environment
Metadata
Current evaluation
Exported SNAPCRAFT_TARGET_ARCH in the build environment. Merged after single reviewer approval, modifying two files with six additions and two deletions.
Suggested action: —
No scores available.
Issue body
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 | — | — | Exported SNAPCRAFT_TARGET_ARCH in the build environment. Merged after single reviewer approval, modifying two files with six additions and two deletions. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged changes exporting SNAPCRAFT_TARGET_ARCH in the project loader build environment. Maintainer cjp256 submitted the update, which was accepted without comments or revisions. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged changes to the project loader that export SNAPCRAFT_TARGET_ARCH in the build environment. Authored by maintainer cjp256, the update was applied directly without additional discussion. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1768 project: export the arch triplet into the environment | snapcraft | merged | Merged changes exporting the SNAPCRAFT_ARCH_TRIPLET environment variable to support scripting. Approved by one reviewer, passed CI, and resolves issue #1752 with a minimal four-file update. | |
| #2122 many: introduce variables for part src and build | snapcraft | merged | Merged following approval. Introduces new environment variables and replacements for part src and build directories, resolving LP #1763028. Consolidates SNAPCRAFT_* environment handling into a single location. Approved by one reviewer with passing CI checks. | |
| #5396 Export variables to testing environment | snapcraft | open | Enhancement to export SNAPCRAFT_PROJECT_DIR, SNAPCRAFT_PROJECT_VERSION, and CRAFT_ARCH_BUILD_FOR into the testing environment so test projects can reference the generated snap path. Triaged by maintainer; no implementation or PR found in repo. | |
| #841 Replace SNAPCRAFT_PART_INSTALL in the part attributes. | snapcraft | merged | Merged after dual reviewer approval. Replaced SNAPCRAFT_PART_INSTALL references across seven files with a 70-line update. Reviewers suggested adding cmake integration tests, but the change was merged without them. | |
| #757 Export important project variables | snapcraft | merged | Merged. Exports SNAPCRAFT_PROJECT_NAME, VERSION, STAGE, and PART_INSTALL variables. Reviewers approved and noted a planned expand_env refactor. CI retests and coverage fixes were applied before final merge. | |
| #3340 include SNAPCRAFT_STAGE in XDG_DATA_DIRS, needed to find Gir files built by other parts | snapcraft | merged | Merged a two-line change adding SNAPCRAFT_STAGE to XDG_DATA_DIRS, enabling cross-part discovery of built Gir files. Approved by one reviewer and passed all CI checks. | |
| #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. | |
| #1141 parser: use the project loader code to find the origin's snapcraft.yaml | snapcraft | merged | Merged a refactor replacing custom snapcraft.yaml detection with existing project_loader code, resolving LP bug #1665007. The author addressed reviewer feedback on commit formatting and conventions before final approval. |