cleanbuild loses scripted version
Metadata
Current evaluation
Closed as obsolete after cleanbuild was retired; no scripted-version fix was made. A maintainer closed the report on 2023-08-17, noting cleanbuild was no longer supported.
Resolution: closed stale
Reason: The report was closed after maintainer Sergiuens noted on 2023-08-17 that cleanbuild was no longer supported. The obsolete feature was removed rather than correcting its scripted-version handling.
Evaluated by: mr-cal-bot
No scores available.
Issue body
The version script is working fine for local builds. However, with 'cleanbuild' the calculated version is being thrown away and replaced with the hardcoded version: field. In this case, the snapcraft.yaml contains 'version: git'
Staging plinth
Priming plinth
Determining the version from the project repo (version-script).
The version has been set to '1.0.0+epoch-69-g9bc5ec3'
Snapping 'plinth' -
Snapped plinth_git_amd64.snap
Retrieved plinth_git_amd64.snap
Stopping local:snapcraft-jolly-tops-worm
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed stale | Closed as obsolete after cleanbuild was retired; no scripted-version fix was made. A maintainer closed the report on 2023-08-17, noting cleanbuild was no longer supported. | |
| stealth/space-bunny-alpha | — | closed stale | Cleanbuild was retired as unsupported, so the scripted-version discrepancy closed without a targeted fix after LXD-backed build-provider support was removed. | |
| stealth/space-bunny-alpha | — | closed stale | No code fix landed: only the .snap filename used the literal version; its stored version was correct. The issue was closed after cleanbuild became unsupported. | |
| stealth/space-bunny-alpha | — | closed resolved | Fixed by merged Snapcraft PR #1267 (88ebc1f35), which makes version-script override the YAML version instead of being discarded during cleanbuild. | |
| qwen/qwen3.6-35b-a3b | — | — | cleanbuild overwrote dynamically calculated versions with hardcoded values. The report was closed without comments or resolution, indicating it was abandoned. | |
| qwen/qwen3.6-35b-a3b | — | — | cleanbuild ignored the version script and used a hardcoded value instead. The report was closed without resolution, indicating it was abandoned. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. The cleanbuild process continues to discard scripted versions in favor of hardcoded values, leaving the defect unfixed. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without resolution or comments. The cleanbuild process continues to overwrite dynamically calculated versions with hardcoded values, indicating the report was abandoned. |
Update history
| Date | Change |
|---|---|
| created |
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1800119 snapcraft cleanbuild | snapcraft (launchpad) | closed | The obsolete cleanbuild command was retired because builds became clean by default; a maintainer closed the report in August 2023. |