← Back to issue list

feat(snapcraft_legacy): support verbosity args

View original Github issue

Metadata

Project
snapcraft
Number
#5646
Type
pull request
State
merged
Author
mr-cal
Labels
—
Created
Updated
Closed

Current evaluation

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.

Resolution: closed resolved

Reason: The PR itself was merged to main as commit 3aeded2fa, fixing issue #5423 (SNAPCRAFT-1043) by wiring craft-application/craft-cli verbosity handling into the snapcraft_legacy emitter and command groups. A follow-up PR #5680 (4a7663069) added verbosity support to non-lifecycle legacy commands; the remaining follow-up issue #5658 was closed won't-fix once snapcraft_legacy was removed.

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`? --- Allows using craft-cli verbosity arguments and environment variables for core20 commands. `--enable-developer-debug` is still supported in legacy snapcraft. It is an alias to `--verbosity=debug`. Creates https://github.com/canonical/snapcraft/issues/5658 Fixes #5423 (SNAPCRAFT-1043)

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved 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.
stealth/space-bunny-alpha — closed resolved PR #5646 merged (commit 3aeded2fa), adding craft-cli verbosity args/env vars to core20 snapcraft_legacy commands, with --enable-developer-debug kept as an alias for --verbosity=debug. Closes #5423; leftover quiet-mode work tracked in #5658.
stealth/space-bunny-alpha — closed resolved Merged PR #5646 (commit 3aeded2fa): snapcraft_legacy now accepts craft-cli verbosity flags/env vars for core20 lifecycle commands, with --enable-developer-debug kept as a --verbosity=debug alias. Follow-up #5680 extended it to non-lifecycle commands.
stealth/space-bunny-alpha — closed resolved PR #5646 merged (commit 3aeded2fa), adding craft-cli verbosity args/env vars to snapcraft_legacy core20 commands, keeping --enable-developer-debug as an alias of --verbosity=debug. Follow-up #5680 (4a7663069) extended it to non-lifecycle commands.
stealth/space-bunny-alpha — closed resolved Merged PR #5646 (commit 3aeded2fa), adding craft-cli verbosity flags and environment variables to core20 snapcraft_legacy commands while retaining --enable-developer-debug as an alias.
qwen/qwen3.6-35b-a3b — — 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.
qwen3.6-35b-a3b-mtp-q6 — — Merged implementation adding craft-cli verbosity arguments and environment variables for core20 commands in snapcraft_legacy. The --enable-developer-debug flag persists as an alias. Resolves #5423 following dismissal of unrelated spread failures.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: canonical/snapcraft#5680 (confidence 92%)

    Follow-up PR merged as 4a7663069, extending verbosity args to non-lifecycle legacy commands

  • Related To: canonical/snapcraft#5658 (confidence 85%)

    Follow-up issue created by this PR (quiet verbosity printing in legacy); closed won't-fix after snapcraft_legacy removal

  • Duplicate Of: canonical/snapcraft#5423 (confidence 80%)

    Tracking issue that this PR explicitly fixes; closed by the merge

Related issues

Issue Project State Summary Similarity
#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.
88%
#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.
78%
#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).
77%
#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.
72%
#3958 cli: set default verbosity level with environment variable snapcraft merged Merged #3958 as commit 010fd708d, adding SNAPCRAFT_VERBOSITY_LEVEL defaults for quiet, brief, verbose, debug, and trace logging.
71%
#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.
70%