Add project env vars like CRAFT_PROJECT_VERSION
Metadata
Current evaluation
CRAFT_PROJECT_VERSION integration coverage was added and #299 was closed; no resolving PR or commit was identified in available history.
Resolution: closed resolved
Reason: Repository metadata records added CRAFT_PROJECT_VERSION integration coverage, indicating the requested environment-variable support was implemented. No linked resolving PR or commit was available to cite.
Evaluated by: mr-cal-bot
No scores available.
Issue body
### What needs to get done
Much like Snapcraft exposes `SNAPCRAFT_PROJECT_VERSION`, Rockcraft should add project-specific environment variables.
### Why it needs to get done
See https://chat.charmhub.io/charmhub/pl/tbap1wiiw7nebkekhjix4asu1r
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | CRAFT_PROJECT_VERSION integration coverage was added and #299 was closed; no resolving PR or commit was identified in available history. | |
| stealth/space-bunny-alpha | — | closed resolved | Added CRAFT_PROJECT_VERSION integration coverage; the resolving commit was not identified in the available history. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without implementation. The request to expose project-specific environment variables like CRAFT_PROJECT_VERSION in Rockcraft was abandoned after one week with no discussion or follow-up. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed due to inactivity. The feature request to expose project environment variables like CRAFT_PROJECT_VERSION in Rockcraft received no discussion or implementation and was abandoned. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without implementation. The feature request to add project-specific environment variables to Rockcraft was abandoned. No pull requests, comments, or resolution details were provided. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without implementation. The feature request to expose project-specific environment variables in Rockcraft was abandoned. No pull requests or commits were created to address the change. |
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. |