cli: pass `--verbose` and `-v` to snapcraft_legacy
Metadata
Current evaluation
Merged #4024 (commit be005b98d) to forward --verbose and -v to snapcraft_legacy for core18/core20 builds, implementing CRAFT-1292.
Resolution: closed resolved
Reason: PR #4024 was merged with approval. Repository history records resolving commit be005b98d, while the merge report identifies merge commit 8c4f929.
Evaluated by: mr-cal-bot
No scores available.
Issue body
- [X] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [X] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] Have you successfully run `make lint`?
- [ ] Have you successfully run `pytest tests/unit`?
-----
This PR allows `--verbose` and `-v` to be used when building core18|20 snaps.
Support for other verbosity options (`-q`, `--quiet`, `--verbosity=<verbosity level>`) can be added in the same manner.
(CRAFT-1292)
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged #4024 (commit be005b98d) to forward --verbose and -v to snapcraft_legacy for core18/core20 builds, implementing CRAFT-1292. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #4024 added CLI forwarding of --verbose and -v to snapcraft_legacy for core18 and core20 builds, implementing CRAFT-1292. | |
| qwen/qwen3.6-35b-a3b | — | — | 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. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged into main. Enables passing --verbose and -v flags to snapcraft_legacy for core18 and core20 builds. Codecov reported no coverage change. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1980686 snapcraft build won't allow `verbose` flag | snapcraft (launchpad) | closed | Snapcraft 7.0.11 fixed core22 only; canonical/snapcraft#4024 (be005b98d) later forwarded -v and --verbose to snapcraft_legacy for core18/core20 builds. | |
| #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. | |
| #5680 feat(snapcraft_legacy): support verbosity args in non-lifecycle commands | snapcraft | merged | Merged in PR #5680 (commit 4a7663069), adding verbosity handling to snapcraft_legacy non-lifecycle commands and fixing #5298; released in Snapcraft 8.11.1. | |
| #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). | |
| #1986643 "snapcraft extension" both does and does not accept "--verbose" | snapcraft (launchpad) | closed | Reported inconsistent handling of --verbose: verbose logging started, then the CLI errored with 'No such option'. Fixed by snapcore/snapcraft#4024 (commit be005b98d) forwarding --verbose/-v to snapcraft_legacy, shipped in snapcraft 7.3; tracked as CRAFT-1292. | |
| #5658 Make `quiet` verbosity print nothing in snapcraft _legacy | snapcraft | closed | Enhancement to silence remaining core20/legacy quiet-mode output was closed as won't fix by maintainer mr-cal, since Snapcraft 9 removes snapcraft_legacy; the legacy package was later deleted in PR #6241 (ffb164b7a, 995f0a3bc). | |
| #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. | |
| #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. |