← Back to issue list

build: correctly set version of dev builds

View original Github issue

Metadata

Project
snapcraft
Number
#5568
Type
pull request
State
open
Author
bepri
Labels
—
Created
Updated
Closed
—

Current evaluation

Updates Snapcraft's development snap versioning, but the unreviewed two-file change has been inactive for 391 days and still has failing build and OSV-scanner checks.

Suggested action: close stale

Reason: The +2/-5 change has no review or comments, no activity for 391 days, and a failing build check, so it is not ready to merge. Later packaging work in canonical/snapcraft#5872 moved the snap build to the uv plugin, and the current snap/snapcraft.yaml derives its version with uv pip show, making this old build-version change obsolete.

Evaluated by: mr-cal-bot

Impact: 38 Quick Win: 2 Complexity: 24 Confidence: 82 Actionability: 8

Issue body

- [x] Have you followed the [guidelines for contributing](https://github.com/canonical/snapcraft/blob/main/CONTRIBUTING.md)? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] Have you successfully run `make lint`? - [ ] Have you successfully run `make test`? ---

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 38
Quick Win: 2
Complexity: 24
Confidence: 82
Actionability: 8
close stale Updates Snapcraft's development snap versioning, but the unreviewed two-file change has been inactive for 391 days and still has failing build and OSV-scanner checks.
qwen/qwen3.6-35b-a3b
Impact: 15
Quick Win: 1
Complexity: 10
Confidence: 70
Actionability: 5
close stale PR to fix version setting for dev builds in the build system. Open for 456 days with no activity for 379 days, 0 comments, 0 reviewers, and failing CI (build and OSV-scanner checks).
qwen/qwen3.8-27b
Impact: 30
Quick Win: 26
Staleness: 70
Complexity: 15
Confidence: 55
needs review Small build fix (+2/-5, 2 files) by maintainer bepri to correctly set the version of dev builds. Pending with 0 reviewers and 0 comments; last activity 360 days ago. CI mostly passing but 'build' and 'OSV-scanner' checks failing.
qwen/qwen3.6-35b-a3b
Staleness: 92
Complexity: 15
Confidence: 85
close stale Corrects dev build version assignment in build scripts. Currently inactive for over 10 months, lacks maintainer review, and has failing CI checks for build and security scanning.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 15
Confidence: 90
close stale Updates build configuration to correctly set the version for development builds. Inactive for over 10 months with no comments, CI results, or description.

Update history

No update history recorded yet.

Related work

  • Superseded By: canonical/snapcraft#5872 (confidence 78%)

    The later uv-plugin migration replaced the build path, and the current snap definition obtains its version through uv pip show.

Related issues

Issue Project State Summary Similarity
#1893850 Snapcraft doesn't inject itself into build VM if host rev doesn't change snapcraft (launchpad) open An old, unlabeled report says sideloaded Snapcraft snaps with identical x1 revisions can leave a stale build-VM copy; the tracker has no follow-up or confirmed hash-based fix.
71%
#2161190 Rebuild fails because of 'version' can be set only once snapcraft (launchpad) open Incremental Snapcraft packing can fail when override-pull sets version again, requiring snapcraft clean; the report remains unlabelled and unanswered.
70%