← Back to issue list

Have a version in the project, show it in the command and on startup.

View original Github issue

Metadata

Project
charmcraft
Number
#8
Type
pull request
State
merged
Author
facundobatista
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #8, adding project version metadata and exposing the version through the Charmcraft CLI and startup output; commit 3c4ccc98.

Resolution: closed resolved

Reason: PR #8 was merged into the project as commit 3c4ccc98, implementing the requested version display.

Evaluated by: mr-cal-bot

No scores available.

Issue body

In the future, we could also build the version shown using what's in the file, plus the result of `git describe`, but first we'd need to have tags and (maybe) releases.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #8, adding project version metadata and exposing the version through the Charmcraft CLI and startup output; commit 3c4ccc98.
stealth/space-bunny-alpha — closed resolved Merged PR #86, adding project versioning and displaying it through the CLI and on startup.
qwen/qwen3.6-35b-a3b — — Merged changes adding a project version displayed in the command and on startup. Approved by two reviewers across nine files (+52/-16 lines). Future iterations plan to dynamically generate the version using git tags and releases.
qwen3.6-35b-a3b-mtp-q6 — — Merged: Added a project version string displayed in the command and during startup. Future plans include dynamically generating the version via git describe once tags and releases are established.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1101 add a "version" option on charmcraft release cli charmcraft closed Rejected: Charmhub only obtains a charm’s version from the built artifact, so Charmcraft did not add a release version option; metadata-based versioning remains separate work.
71%