← Back to issue list

snapcraft.yaml should have a version field

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1549221
Type
issue
State
closed
Author
~removed2831044
Labels
Created
Updated
Closed

Current evaluation

⚠️ This summary may be outdated — the issue content or evaluation prompts have changed since this evaluation was made.

Closed without implementation. The proposal to add a version field to snapcraft.yaml was abandoned due to inactivity. No format standard or migration strategy was adopted.

Suggested action:

No scores available.

Issue body

snapcraft is a quickly moving target, making backwards-incompatible behaviour changes along the way often (including bugfixes). snapcraft.yaml should have a "snapcraft version" or "snapcraft format" entry, which allows the package maintainer to note what version this package was created for. Newer snapcraft versions can then decide if it will either emulate old behaviour, offer to migrate in a python 2to3 way or bail out -- ideally with a helpful message on what needs to be adapted manually. (There is lots of opportunity here for https://xkcd.com/1172/)

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Closed without implementation. The proposal to add a version field to snapcraft.yaml was abandoned due to inactivity. No format standard or migration strategy was adopted.
qwen/qwen3.6-35b-a3b Request to add a version field to snapcraft.yaml for managing backwards-incompatible changes was closed without discussion or implementation, indicating it was abandoned.
qwen3.6-35b-a3b-mtp-q6 Closed without discussion or implementation. The proposal to add a snapcraft version field to snapcraft.yaml was abandoned due to inactivity.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1590349 snapcraft should have a 'version' command snapcraft (launchpad) closed Feature request for a snapcraft version command alias was closed without implementation. No comments or resolution details were provided, indicating the request was abandoned due to prolonged inactivity.
74%
#1588336 Enable snap version to be used in other parts of the snapcraft.yaml snapcraft (launchpad) closed Abandoned without resolution. The request to interpolate the snapcraft version in other YAML fields received no comments or implementation, leaving the feature unimplemented.
73%
#1611439 snapcraft should be able to autofill the version field based on some property of the build and/or stage files. snapcraft (launchpad) closed Closed without implementation. The feature request to auto-fill snap versions from staged packages or git sources was abandoned due to inactivity.
73%
#1712061 snapcraft restricts version field too much snapcraft (launchpad) closed Closed without comments or resolution. The request was abandoned, and the version field regex restriction remains unchanged. No fix or policy update was implemented.
71%