← Back to issue list

move to new version setting

View original Launchpad issue

Metadata

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

Current evaluation

Snapcraft migrated from "version: git" to custom set-version handling in merged PR #2230 (commit e1b59b75b), completing the planned version-setting change.

Resolution: closed resolved

Reason: Merged PR #2230, commit e1b59b75b, changed Snapcraft to use set-version and set-grade. Repository history identifies it as the fix for Launchpad bug #1789695.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Move to using our own set-version in snapcraft instead of the "version: git" stanza

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Snapcraft migrated from "version: git" to custom set-version handling in merged PR #2230 (commit e1b59b75b), completing the planned version-setting change.
stealth/space-bunny-alpha — closed resolved Snapcraft replaced “version: git” handling with snapcraftctl set-version/set-grade in merged PR #2230, commit e1b59b75b, resolving Launchpad bug #1789695.
stealth/space-bunny-alpha — closed resolved Snapcraft migrated from “version: git” to custom set-version and set-grade handling in merged PR #2230 (e1b59b75b), resolving Launchpad bug #1789695.
qwen/qwen3.6-35b-a3b — — Replaced the version: git stanza with a custom set-version command in snapcraft. Resolved and closed.
qwen/qwen3.6-35b-a3b — — Closed without implementation. The request to replace the version: git stanza with a custom set-version command was abandoned or superseded by upstream snapcraft changes.

Update history

Date Change
created

Related work

  • Likely Fixed By: snapcraft#2230 (confidence 99%)

    Merged commit e1b59b75b implemented the requested migration and directly resolves the bug.

  • Related To: snapcraft#2063 (confidence 95%)

    Commit 278f9b79f introduced the snapcraftctl set-version functionality used by the resolving change.

Related issues

Issue Project State Summary Similarity
#396 build: set version from git rockcraft merged Merged PR #396 as commit 2ef84cb8, adding Git-derived versioning, snapcraft.yaml adopt-info, and relocating overlay initialization to the lifecycle service.
74%
#4614 feat(craft-application): migrate version command snapcraft merged Merged PR #4614 (commit 885106d06) migrated Snapcraft's version command to craft-application, resolving #4468; legacy version handling remained out of scope.
70%
#1260 meta: version from git support. snapcraft merged Merged PR #1260 in commit 1a936f40c, adding version: git support so Snapcraft derives project versions from Git tags.
70%