environment: expand global variables
Metadata
Current evaluation
Merged #226, adding expansion of global environment variables in parts values for CRAFT-1073 in commit 5b5fbdc5 (merge f8738e42).
Resolution: closed resolved
Reason: PR #226 was approved and merged with its implementation commit 5b5fbdc5, delivered through merge commit f8738e42.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Replace global environment variables used in parts values.
Co-authored-by: Kyle Fazzari <kyrofa@ubuntu.com>
Co-authored-by: Sergio Schvezov <sergio.schvezov@canonical.com>
Signed-off-by: Claudio Matsuoka <claudio.matsuoka@canonical.com>
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
-----
CRAFT-1073
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged #226, adding expansion of global environment variables in parts values for CRAFT-1073 in commit 5b5fbdc5 (merge f8738e42). | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #226 for CRAFT-1073, expanding global environment variables used in parts values. Resolution commit: 5b5fbdc5; merge commit: f8738e42. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged canonical/craft-parts#226, expanding global environment variables used in parts values for CRAFT-1073. Resolution commit: 5b5fbdc5; merge commit: f8738e42. | |
| qwen/qwen3.6-35b-a3b | — | — | Global environment variables in parts values are now expanded. Merged after single reviewer approval and passing CI checks, resolving CRAFT-1073. Changes span 7 files with 340 additions and 1 deletion. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged changes to expand global environment variables in parts values, resolving CRAFT-1073. Co-authored by Kyle Fazzari and Sergio Schvezov. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #336 fix global environment expansion | rockcraft | merged | PR #336 (commit 42627c1a) by cjdcordeiro merged, fixing missing global variable expansion so CRAFT_PROJECT_VERSION and other CRAFT_ vars are set before parts lifecycle; project loading now returns YAML for unmarshal. | |
| #4741 fix(env): set global environment variables for craft-app | snapcraft | closed | Closed unmerged in favor of #4757, which added core24 project-variable expansion in commit 27957515c. | |
| #431 docs: add environment variables reference | craft-application | merged | Merged #431 added a 112-line environment-variable reference, including CRAFT_VERBOSITY_LEVEL, via commit 1509cec9. | |
| #541 Premature parts environment variable expansion | craft-parts | closed | Fixed premature CRAFT_ARCH_TRIPLET_BUILD_FOR expansion by sorting variable replacements; merged in craft-parts#554 (438fa857). |