← Back to issue list

snapcraft does not print its version when running with --debug

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1659817
Type
issue
State
closed
Author
~chipaca
Labels
—
Created
Updated
Closed

Current evaluation

Snapcraft now prints its version at startup in --debug mode, fixing Launchpad #1659817 via PR #1086 (commit c21dc1abc).

Resolution: closed resolved

Reason: Resolved by commit c21dc1abc, titled "ux: print the version on startup when running with --debug," associated with PR #1086.

Evaluated by: mr-cal-bot

No scores available.

Issue body

snapcraft does not print its version when running with --debug. This means that every report where the reporter has taken the trouble of showing debug logs of their problem is faced with the face question "what version are you running?". E.g. http://paste.ubuntu.com/23873837/

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Snapcraft now prints its version at startup in --debug mode, fixing Launchpad #1659817 via PR #1086 (commit c21dc1abc).
stealth/space-bunny-alpha — closed resolved Fixed by merged PR canonical/snapcraft#1086 (commit c21dc1abc), adding a Snapcraft version banner at startup in --debug mode and updating integration-test expectations.
qwen/qwen3.6-35b-a3b — — Closed without comments or explicit resolution. The missing version output during debug runs was likely fixed in a subsequent release.
qwen/qwen3.6-35b-a3b — — Closed without comment. The missing version output during snapcraft --debug runs was not addressed or merged.
qwen/qwen3.6-35b-a3b — — Closed without resolution details or comments. The missing version output during debug runs was not addressed.
qwen3.6-35b-a3b-mtp-q6 — — Fixed: snapcraft now outputs its version when run with --debug, eliminating the need to manually request version details from debug logs.

Update history

Date Change
created

Related work

  • Likely Fixed By: canonical/snapcraft#1086 (confidence 100%)

    Commit c21dc1abc implements the reported debug-version behavior.

Related issues

Issue Project State Summary Similarity
#1086 print snapcraft's version on startup when running with --debug snapcraft merged PR #1086 (commit c21dc1abc) merged into master, printing Snapcraft's version banner at startup in --debug mode; fixes LP bug #1659817. Integration test expectations updated.
84%
#1590266 snapcraft-parser -v prints devel snapcraft (launchpad) closed snapcraft-parser’s version output was fixed to use Snapcraft’s version lookup instead of the devel fallback in canonical/snapcraft#982 (commit 6e6e43627).
71%
#1548492 Snapcraft swallows exceptions snapcraft (launchpad) closed Added a global --debug flag for tracebacks and debug logs via merged PR ubuntu-core/snapcraft#332 (commit 580c43ebc).
70%