← Back to issue list

parser needs to replace project level variables

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1619418
Type
issue
State
closed
Author
~sergiusens
Labels
Created
Updated
Closed

Current evaluation

Closed without resolution. The parser was expected to replace SNAPCRAFT_PROJECT_NAME and SNAPCRAFT_PROJECT_VERSION with project name and version values, but the request was abandoned or superseded by later updates.

Suggested action:

No scores available.

Issue body

With the introduction of SNAPCRAFT_PROJECT_NAME and SNAPCRAFT_PROJECT_VERSION we will need the parser to look for these and replace them with the values of name and version respectively from the origin.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Closed without resolution. The parser was expected to replace SNAPCRAFT_PROJECT_NAME and SNAPCRAFT_PROJECT_VERSION with project name and version values, but the request was abandoned or superseded by later updates.
qwen/qwen3.6-35b-a3b Closed without a linked resolution or pull request. The parser update to replace SNAPCRAFT_PROJECT_NAME and SNAPCRAFT_PROJECT_VERSION with origin values was abandoned.
qwen/qwen3.6-35b-a3b Abandoned. The parser was not updated to replace SNAPCRAFT_PROJECT_NAME and SNAPCRAFT_PROJECT_VERSION with origin name and version values. Closed without implementation or discussion.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#773 parser - Handle project name and version variables snapcraft merged Merged. Replaces $SNAPCRAFT_PROJECT_VERSION and $SNAPCRAFT_PROJECT_NAME with values from the origin snapcraft.yaml in remote parts, addressing LP:#1619418. Changes span 4 files with 86 additions and 27 deletions.
75%
#4231 SNAPCRAFT_PROJECT_VERSION is empty if not explicitly set at top level snapcraft closed Closed without a code fix. Maintainers explained dynamic environment variables are unsupported, and documentation was updated to clarify that SNAPCRAFT_PROJECT_VERSION only reflects statically set versions.
75%
#4702 [craft-application/core24] $SNAPCRAFT_PROJECT_VERSION and other fields not replaced snapcraft closed Resolved via PR #4757. The core24 variable replacement failure was fixed, though CRAFT_PROJECT_NAME and CRAFT_PROJECT_VERSION remain unevaluated and are tracked separately in craft-application#320.
73%
#3753 parts: expand CRAFT_PROJECT_VERSION and CRAFT_PROJECT_GRADE snapcraft closed Closed by author after reviewer recommended using craftctl get version and craftctl get grade instead. The proposed variable expansion was abandoned, with SNAPCRAFT_* variables retained for compatibility.
71%