snapcraft 2.30 has no version command
Metadata
Current evaluation
Resolved by merged PR canonical/snapcraft#1366 (commit be4a92ad7), adding global snapcraft --version; expected in Snapcraft 2.32.
Resolution: closed resolved
Reason: PR canonical/snapcraft#1366 was merged and added the requested --version flag, with the maintainer stating it would ship in Snapcraft 2.32. The resolving change is recorded in commit be4a92ad7.
Evaluated by: mr-cal-bot
No scores available.
Issue body
snapcraft 2.30 has no command to show the version.
ubuntu@glowing-foal:~$ snapcraft version
Usage: snapcraft [OPTIONS] COMMAND [ARGS]...
Error: No such command "version".
ubuntu@glowing-foal:~$ snapcraft -v
Error: no such option: -v
ubuntu@glowing-foal:~$ snapcraft --version
Error: no such option: --version
$ apt policy snapcraft
snapcraft:
Installed: 2.30
Candidate: 2.30
Version table:
*** 2.30 500
500 http://archive.ubuntu.com/ubuntu xenial-proposed/universe amd64 Packages
100 /var/lib/dpkg/status
2.29 500
500 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages
2.8.4 500
500 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Resolved by merged PR canonical/snapcraft#1366 (commit be4a92ad7), adding global snapcraft --version; expected in Snapcraft 2.32. | |
| stealth/space-bunny-alpha | — | closed resolved | Added `snapcraft --version` in merged PR canonical/snapcraft#1366 (commit be4a92ad7), with the fix expected in Snapcraft 2.32. | |
| stealth/space-bunny-alpha | — | closed resolved | Fixed by merged PR #1366 (commit be4a92ad7), adding --version. PR #1746 (0820103ae) later added the version subcommand and aligned its output. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without comments. The missing version command in snapcraft 2.30 was resolved in a subsequent release. | |
| qwen/qwen3.6-35b-a3b | — | — | Reported missing version command in snapcraft 2.30. The report was closed with zero comments, indicating it was likely abandoned or resolved in a later release without explicit resolution notes. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Likely Fixed By:
canonical/snapcraft#1366
(confidence 100%)
Merged PR that added snapcraft --version and was cited as the resolution.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1590349 snapcraft should have a 'version' command | snapcraft (launchpad) | closed | Added the version subcommand via snapcore/snapcraft PR #1746 (commit 0820103ae); the change was merged and released in Snapcraft 2.40. | |
| #1366 cli: Add --version command | snapcraft | merged | Merged in snapcraft#1366 as commit be4a92ad7, adding a global --version flag; the fix was expected in Snapcraft 2.32. | |
| #1746 cli: add version command | snapcraft | merged | Merged in snapcraft#1746 via commit 0820103ae, adding snapcraft version and snapcraft --version with matching output and tests. | |
| #1549221 snapcraft.yaml should have a version field | snapcraft (launchpad) | closed | Rejected as unnecessary: maintainers said Snapcraft 2.x rolled with Ubuntu releases 16.04, 17.04 and 18.04, so no format/version field was added to resolve the issue. |