snapcraft should be able to autofill the version field based on some property of the build and/or stage files.
Metadata
Current evaluation
Closed without implementation. The feature request to auto-fill snap versions from staged packages or git sources was abandoned due to inactivity.
Suggested action: —
No scores available.
Issue body
Given the following (incomplete) snap:
name: gmediarender
version: ????????
...
parts:
gmediarender:
plugin: nil
stage-packages:
- gmediarender
...
Here gmediarender is pulled from the Ubuntu archive and staged. I want the snap version to match the deb package version which was staged. There is no way I can know what that is before I run snapcraft and it fetches the package.
A similar problem occurs when I reference a git source URL.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Closed without implementation. The feature request to auto-fill snap versions from staged packages or git sources was abandoned due to inactivity. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed and abandoned. The feature request for automatic version detection from staged packages or git sources received no discussion and was never implemented. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed and abandoned. The feature request to auto-fill snap versions from staged packages or git sources received no discussion and was not implemented. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1549221 snapcraft.yaml should have a version field | snapcraft (launchpad) | closed | 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. |