docs: document custom project vars (SNAPCRAFT-1053)
Metadata
Current evaluation
Closed unmerged after the documentation moved to Snapcraft; canonical/snapcraft#5727 merged the equivalent change in commit cba259a0d.
Resolution: closed superseded
Reason: The maintainer decided the documentation belonged in Snapcraft because custom project variables did not apply to other Craft tools. The replacement was merged in canonical/snapcraft#5727 via commit cba259a0d.
Evaluated by: mr-cal-bot
No scores available.
Issue body
- [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] Have you added an entry to the changelog (`docs/reference/changelog.rst`)?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed superseded | Closed unmerged after the documentation moved to Snapcraft; canonical/snapcraft#5727 merged the equivalent change in commit cba259a0d. | |
| stealth/space-bunny-alpha | — | closed superseded | Docs PR for SNAPCRAFT-1053 closed unmerged: maintainer decided the content belongs in Snapcraft, not craft-parts, and re-did it in canonical/snapcraft#5727, merged as commit cba259a0d. | |
| stealth/space-bunny-alpha | — | closed superseded | Documentation moved from craft-parts to Snapcraft and merged in canonical/snapcraft#5727 via commit cba259a0d. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged in canonical/snapcraft#5727 via commit cba259a0, documenting custom project variables for SNAPCRAFT-1053 after moving the work from canonical/craft-parts#1216. | |
| qwen/qwen3.6-35b-a3b | — | — | Superseded by pull request #5727. Documentation for custom project variables was redirected to snapcraft docs instead of craft-parts, as it does not apply to other crafts. The original PR was closed after the maintainer created the replacement. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Superseded by PR #5727. Documentation for custom project variables was relocated to the snapcraft crafting guide rather than craft-parts, aligning with snapcraft-specific keys. |
Update history
No update history recorded yet.
Related work
-
Superseded By:
canonical/snapcraft#5727
(confidence 99%)
Merged replacement PR containing the custom project-variable documentation in commit cba259a0d.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #5727 docs: document custom project vars (SNAPCRAFT-1053) | snapcraft | merged | Merged in canonical/snapcraft#5727 as cba259a0d, documenting custom project variables for SNAPCRAFT-1053 after the work moved from canonical/craft-parts#1216. | |
| #1625758 Missing documentation for snapcraft variables | snapcraft (launchpad) | closed | Documentation request for $SNAPCRAFT_PROJECT_NAME/VERSION/STAGE/PART_INSTALL went unanswered for years and the Launchpad bug was closed as stale. Later docs PR canonical/snapcraft#5727 (cba259a0d) covered custom project vars but did not close this bug. | |
| #1619418 parser needs to replace project level variables | snapcraft (launchpad) | closed | Parser-side substitution of SNAPCRAFT_PROJECT_NAME/VERSION landed via merged PR snapcore/snapcraft#773 (commit 362d6a5f5), closing the Launchpad bug that requested it. | |
| #4231 SNAPCRAFT_PROJECT_VERSION is empty if not explicitly set at top level | snapcraft | closed | Closed as intended static behavior: Snapcraft does not dynamically refresh project variables, and the part-environment documentation was clarified on 2023-08-11. | |
| #757 Export important project variables | snapcraft | merged | Merged PR #757 (commit dc0b68174) exports SNAPCRAFT_PROJECT_NAME, SNAPCRAFT_PROJECT_VERSION, SNAPCRAFT_PROJECT_STAGE and per-part SNAPCRAFT_PART_INSTALL, refactoring _expand_env into the project loader so variables work in fixed yaml fields. LP #1588336. | |
| #5499 fix: evaluate variables in project file | snapcraft | merged | Merged in canonical/snapcraft#5499 (commit abd5db829), restoring project-variable expansion and fixing #5491 in Snapcraft 8.9.2. | |
| #3748 parts: define variables and expand them in snapcraft.yaml | snapcraft | merged | Merged PR #3748 in commit fba20a970, adding global and step-specific SNAPCRAFT_* variables for snapcraft.yaml expansion and lifecycle environments. | |
| #773 parser - Handle project name and version variables | snapcraft | merged | Merged PR #773 (commit 362d6a5f5) added substitution of SNAPCRAFT_PROJECT_NAME and SNAPCRAFT_PROJECT_VERSION in remote parts using the origin snapcraft.yaml. |