Add support for `craftctl get version`
Metadata
Current evaluation
The original version-access use case is already available through undocumented CRAFT_PROJECT_VERSION, but support for craftctl get/set version remains undecided and needs maintainer direction.
Suggested action: needs triage
Reason: Integration tests show ${CRAFT_PROJECT_VERSION} is populated during override execution, providing an undocumented workaround for reading the version, but no Rockcraft registration for craftctl get/set version was found. The latest comment explicitly asks whether the craftctl design remains wanted, while the issue has no labels or implementation commitment, so its read-versus-set scope and priority need triage.
Evaluated by: mr-cal-bot
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha |
Impact:
34
Quick Win:
15
Complexity:
28
Confidence:
89
Actionability:
61
|
needs triage | The original version-access use case is already available through undocumented CRAFT_PROJECT_VERSION, but support for craftctl get/set version remains undecided and needs maintainer direction. | |
| stealth/space-bunny-alpha |
Impact:
28
Quick Win:
16
Complexity:
20
Confidence:
91
Actionability:
72
|
needs triage | Version is already available to scripted build steps as CRAFT_PROJECT_VERSION, but it is undocumented; maintainers still need to decide whether craftctl get/set version remains wanted. | |
| qwen/qwen3.6-35b-a3b |
Impact:
30
Quick Win:
14
Complexity:
20
Confidence:
60
Actionability:
60
|
keep open | Request to add craftctl get version support in rockcraft; CRAFT_PROJECT_VERSION env var exists but craftctl get/set version may not be documented or fully working | |
| qwen/qwen3.8-27b |
Impact:
40
Quick Win:
28
Staleness:
25
Complexity:
30
Confidence:
70
Support Request:
15
|
keep open | Request to expose project version via craftctl get version (or env var) in override-* scriptlets. Recent triage notes CRAFT_PROJECT_VERSION env var already covers the use case; gap may be documentation. Awaiting maintainer confirmation on whether craftctl get version is still wanted. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
65
Complexity:
20
Confidence:
60
Support Request:
10
|
needs triage | Feature request to expose project version via craftctl get version during build. Open, awaiting maintainer confirmation on design alignment and whether documentation updates suffice. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
45
Complexity:
30
Confidence:
80
Support Request:
10
|
keep open | Feature request to expose the project version via craftctl get version or an environment variable in rockcraft build scripts. Currently awaiting maintainer confirmation on design alignment before implementation. |
Update history
No update history recorded yet.
Related issues
No related issues found above the similarity threshold.