← Back to issue list

cli: pass `--verbose` and `-v` to snapcraft_legacy

View original Github issue

Metadata

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

Current evaluation

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.

Suggested action:

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
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.
qwen3.6-35b-a3b-mtp-q6 Merged into main. Passes --verbose and -v flags to snapcraft_legacy for core18 and core20 builds, enabling consistent verbosity control during legacy snapcraft operations.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#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.
78%
#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.
78%
#4093 cli: add option to enable experimental plugins for snapcraft_legacy snapcraft merged Merged after reviewer approval and passing CI. Adds the --enable-experimental-extensions CLI flag and corresponding environment variable to snapcraft_legacy, enabling experimental plugins for core18 and core20.
73%
#4090 snapcraft_legacy: inject current snapcraft snap into instances snapcraft merged Merged into main. Injects the current snapcraft snap into build instances for core18 and core20 snaps. Approved by two reviewers, passed CI, and modified six files with 100% diff coverage.
72%
#5424 Add `--verbosity`, `--verbose`, and `--quiet` for legacy commands in Snapcraft 7 snapcraft closed 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.
71%
#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.
71%