'git' version not expanded in version-script
Metadata
Current evaluation
Legacy request to expand version: git before running version-script is obsolete because version-script was deprecated in favor of adopt-info and its legacy implementation was removed.
Suggested action: close stale
Reason: Current documentation says top-level version-script was deprecated in favor of adopt-info, and repository history includes the removal of snapcraft_legacy; current source contains no version-script implementation. The reporter also noted it could be assembled with git describe --dirty --always, making this legacy ordering request no longer relevant.
Evaluated by: mr-cal-bot
Impact:
24
Quick Win:
12
Complexity:
35
Confidence:
95
Actionability:
76
Issue body
If a snapcraft.yaml contains both version: git and a version-script:, then $SNAPCRAFT_PROJECT_VERSION is set to 'git' when the version-script is being executed. It would be useful if 'git' was expanded first, so I could use it when generating my version override.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha |
Impact:
24
Quick Win:
12
Complexity:
35
Confidence:
95
Actionability:
76
|
close stale | Legacy request to expand version: git before running version-script is obsolete because version-script was deprecated in favor of adopt-info and its legacy implementation was removed. | |
| stealth/space-bunny-alpha |
Impact:
10
Quick Win:
9
Complexity:
5
Confidence:
95
Actionability:
96
|
close stale | Legacy request to expand version: git before top-level version-script; version-script is deprecated and removed in favor of adopt-info and craftctl version handling. | |
| qwen/qwen3.6-35b-a3b |
Impact:
10
Quick Win:
10
Complexity:
0
Confidence:
90
Actionability:
100
|
close resolved | The version-script feature has been deprecated and removed from the codebase in favor of adopt-info, which is the recommended way to handle dynamic versioning. | |
| qwen/qwen3.8-27b |
Impact:
15
Quick Win:
9
Staleness:
90
Complexity:
40
Confidence:
70
Support Request:
20
|
close stale | Request to expand 'git' version before running version-script so SNAPCRAFT_PROJECT_VERSION holds the real version. version-script is deprecated/removed in current snapcraft (only docs reference remains), so the feature no longer exists. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
95
Complexity:
20
Confidence:
85
Support Request:
10
|
close stale | Unexpanded git string passed to version-script instead of resolved version. Issue is over 9 years old with no maintainer interaction or comments. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
98
Complexity:
25
Confidence:
90
Support Request:
10
|
close stale | Feature request to expand 'git' version to actual commit hash before running version-script in snapcraft. Unlabelled, zero comments, inactive for over 9 years. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
98
Complexity:
45
Confidence:
90
Support Request:
15
|
close stale | Feature request to expand git version before running version-script in snapcraft.yaml. Issue is over 9 years old with no maintainer response or activity. |
Update history
| Date | Change |
|---|---|
| created |
Related issues
No related issues found above the similarity threshold.