← Back to issue list

meta: handle version git

View original Github issue

Metadata

Project
snapcraft
Number
#3779
Type
pull request
State
merged
Author
cmatsuoka
Labels
Created
Updated
Closed

Current evaluation

Merged into main. Adds special handling for projects using version: git by setting the snap version to git describe --dirty output. Approved by a reviewer, rebased on main, and updated with test fixes prior to merging.

Suggested action:

No scores available.

Issue body

Add special handling for projects with `version: git` so that the snap version is set to the result of `git describe --dirty`. Signed-off-by: Claudio Matsuoka <claudio.matsuoka@canonical.com> - [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] Have you successfully run `make lint`? - [ ] Have you successfully run `pytest tests/unit`? -----

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged into main. Adds special handling for projects using version: git by setting the snap version to git describe --dirty output. Approved by a reviewer, rebased on main, and updated with test fixes prior to merging.
qwen3.6-35b-a3b-mtp-q6 Merged implementation for handling version: git in project metadata, setting the snap version to git describe --dirty. Updated with amended verification, unit tests, and rebased on main prior to merge.
qwen3.6-35b-a3b-mtp-q6 Merged. Implements special handling for version: git by setting the snap version to git describe --dirty output. The author updated unit and spread tests, verified changes, rebased on main, and merged the pull request.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1260 meta: version from git support. snapcraft merged Merged. Added version: git support to snapcraft, allowing version determination via git tags. Fixed git repository error messages, suppressed unhelpful warnings when no tags exist, and improved error handling. Approved by reviewers and merged after addressing feedback.
79%