feat(snapcraft_legacy): support verbosity args in non-lifecycle commands
Metadata
Current evaluation
Merged in PR #5680 (commit 4a7663069), adding verbosity handling to snapcraft_legacy non-lifecycle commands and fixing #5298; released in Snapcraft 8.11.1.
Resolution: closed resolved
Reason: PR #5680 was merged as commit 4a7663069 and made legacy non-lifecycle commands accept and ignore verbosity arguments, resolving #5298. The issue record identifies the fix as included in Snapcraft 8.11.1.
Evaluated by: mr-cal-bot
No scores available.
Issue body
- [x] Have you followed the [guidelines for contributing](https://github.com/canonical/snapcraft/blob/main/CONTRIBUTING.md)?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] Have you successfully run `make lint`?
- [x] Have you successfully run `make test`?
---
Adds support for verbosity args in non-lifecycle commands in snapcraft legacy.
Verbosity gets parsed by modern snapcraft, so this PR allows legacy commands to accept and ignore verbosity args.
Fixes https://github.com/canonical/snapcraft/issues/5298
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged in PR #5680 (commit 4a7663069), adding verbosity handling to snapcraft_legacy non-lifecycle commands and fixing #5298; released in Snapcraft 8.11.1. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged in PR #5680 (commit 4a7663069): snapcraft_legacy non-lifecycle commands now accept and ignore verbosity arguments parsed by modern Snapcraft, fixing #5298. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #5680 (commit 4a7663069), enabling legacy non-lifecycle commands to accept and ignore modern verbosity arguments; fixes #5298. | |
| qwen/qwen3.6-35b-a3b | — | — | 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. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged changes allowing legacy snapcraft commands to accept and ignore verbosity arguments, resolving issue #5298. Aligns legacy command parsing with modern snapcraft behavior. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
canonical/snapcraft#5298
(confidence 100%)
PR #5680 explicitly fixes this issue.
-
Related To:
canonical/snapcraft#5646
(confidence 95%)
Earlier merged PR added verbosity support for core20 legacy commands; #5680 extends it to non-lifecycle commands.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #5646 feat(snapcraft_legacy): support verbosity args | snapcraft | merged | Merged as commit 3aeded2fa: snapcraft_legacy core20 commands now accept craft-cli verbosity args/env vars, with --enable-developer-debug as alias for --verbosity=debug. Follow-up #5680 (4a7663069) extended it to non-lifecycle commands. | |
| #5423 Add `--verbosity`, `--verbose`, and `--quiet` for legacy commands in Snapcraft 8 | snapcraft | closed | Legacy command verbosity support merged in PR #5646 (3aeded2fa), with non-lifecycle coverage completed by PR #5680 (4a7663069). | |
| #5424 Add `--verbosity`, `--verbose`, and `--quiet` for legacy commands in Snapcraft 7 | snapcraft | closed | Enhancement request for --verbosity/--verbose/--quiet on legacy commands in Snapcraft 7. Maintainer closed it 2025-08-07 noting it shipped in Snapcraft 8.11 via #5423 (PR #5646, commit 3aeded2fa) and is not planned for Snapcraft 7. | |
| #4024 cli: pass `--verbose` and `-v` to snapcraft_legacy | snapcraft | merged | Merged #4024 (commit be005b98d) to forward --verbose and -v to snapcraft_legacy for core18/core20 builds, implementing CRAFT-1292. | |
| #2016662 7.3.1 Error: No such option: --verbosity (Possible options: --verbose, --version) | snapcraft (launchpad) | closed | Legacy (core20) code path rejected --verbosity/--verbose/--quiet. Fixed via canonical/snapcraft#5423: PR #5646 (commit 3aeded2fa) plus follow-up PR #5680 (4a7663069), shipped in Snapcraft 8.11/8.11.1; snapcraft_legacy later removed entirely. | |
| #4194 Migrate snapcraft_legacy subcommands to use craft-cli | snapcraft | closed | Requested legacy-handler bypass was abandoned; verbosity support landed in #5646/#5680, and snapcraft_legacy was later removed in ffb164b7a. | |
| #1988065 Default verbosity level should be configurable | snapcraft (launchpad) | closed | Added SNAPCRAFT_VERBOSITY_LEVEL for persistent default output verbosity in snapcraft#3958 (commit 010fd708d). |