Add `--verbosity`, `--verbose`, and `--quiet` for legacy commands in Snapcraft 7
Metadata
Current evaluation
Implemented in Snapcraft 8.11 via PR #5423. The verbosity flags were added to the current release, but the maintainer declined to backport the enhancement to Snapcraft 7, closing the issue.
Suggested action: —
No scores available.
Issue body
### What needs to get done
For all legacy commands in Snapcraft 8, add support for:
* `--verbosity=<mode>`
* `--verbose`
* `--quiet`
This should be able to be passed [here](https://github.com/canonical/snapcraft/blob/945ab1505b603f298ff491392bf570d959229edb/snapcraft_legacy/cli/_runner.py#L96).
### Why it needs to get done
For a consistent and improved UX.
Related:
- https://bugs.launchpad.net/snapcraft/+bug/1980515
- https://bugs.launchpad.net/snapcraft/+bug/1990549
- https://bugs.launchpad.net/snapcraft/+bug/2016662
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Implemented in Snapcraft 8.11 via PR #5423. The verbosity flags were added to the current release, but the maintainer declined to backport the enhancement to Snapcraft 7, closing the issue. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed for Snapcraft 7. The requested verbosity flags were implemented in Snapcraft 8.11 via pull request #5423 instead. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Implemented in Snapcraft 8.11 via PR #5423. The verbosity flags were added to legacy commands in the newer release. The enhancement was not backported to Snapcraft 7, and the issue was closed. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without implementation in Snapcraft 7. The enhancement was resolved in Snapcraft 8.11 via pull request #5423. Backporting the verbosity flag support to version 7 was declined by the maintainer. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #5423 Add `--verbosity`, `--verbose`, and `--quiet` for legacy commands in Snapcraft 8 | snapcraft | closed | The verbosity flag enhancement for legacy Snapcraft 8 commands was closed without implementation. A maintainer outlined a level mapping, but the feature was deferred following triage and Jira ticket creation. | |
| #5680 feat(snapcraft_legacy): support verbosity args in non-lifecycle commands | snapcraft | merged | Merged to add verbosity argument support to non-lifecycle commands in snapcraft legacy, allowing them to accept and ignore these flags. Resolves #5298 after passing CI and receiving three approvals. | |
| #5646 feat(snapcraft_legacy): support verbosity args | snapcraft | merged | Merged. Implements craft-cli verbosity arguments and environment variable support for core20 commands in snapcraft_legacy, preserving --enable-developer-debug alias. Approved by reviewers and resolves #5423. | |
| #4024 cli: pass `--verbose` and `-v` to snapcraft_legacy | snapcraft | merged | Merged into main. Enables passing --verbose and -v flags to snapcraft_legacy for core18 and core20 builds. Approved by reviewer, passed CI, and integrated without coverage changes. | |
| #5097 [doc] Clarify the difference between `-v` and `--verbosity` in help messages | snapcraft | open | Clarify the confusing overlap between -v/--verbose and --verbosity in snapcraft help messages. Triaged as an enhancement; maintainer acknowledged it's valid but the help text is driven internally by Canonical and not ready for external contribution. An upstream craft-cli PR (#424) was submitted. |