Support CRAFT_VERBOSITY_LEVEL
Metadata
Current evaluation
Added CRAFT_VERBOSITY_LEVEL support to configure emitter verbosity, with invalid values falling back to BRIEF. Merged in PR #289 via commit 226fd102.
Resolution: closed resolved
Reason: PR #289 implemented environment-based emitter configuration and was merged as commit 226fd102. A maintainer later identified that PR as the fix for issue #264.
Evaluated by: mr-cal-bot
No scores available.
Issue body
### What needs to get done
The purpose of this environment variable is to set the initial verbosity level of the application's emitter. Its possible values are the values of the EmitterMode (as strings), see [how Snapcraft uses it](https://github.com/canonical/snapcraft/blob/8.0.4/snapcraft/cli.py#L163)
### Why it needs to get done
For parity, as users expect to be able to use this environment variable to configure the verbosity.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Added CRAFT_VERBOSITY_LEVEL support to configure emitter verbosity, with invalid values falling back to BRIEF. Merged in PR #289 via commit 226fd102. | |
| stealth/space-bunny-alpha | — | closed resolved | Added CRAFT_VERBOSITY_LEVEL support to set the emitter's initial verbosity. Merged in PR #289 as commit 226fd102 and documented in docs/reference/environment-variables.rst. | |
| stealth/space-bunny-alpha | — | closed resolved | Implemented CRAFT_VERBOSITY_LEVEL to set the emitter's initial verbosity (EmitterMode values, falling back to BRIEF for invalid input) and documented it. Merged in canonical/craft-application#289, commit 226fd102. | |
| stealth/space-bunny-alpha | — | closed resolved | Added CRAFT_VERBOSITY_LEVEL support to configure emitter verbosity, with invalid values defaulting to BRIEF. Merged in PR #289 (commit 226fd102). | |
| qwen/qwen3.6-35b-a3b | — | — | Added support for the CRAFT_VERBOSITY_LEVEL environment variable to configure initial verbosity, matching Snapcraft's implementation. The change was merged via pull request #289 in the craft-application repository. | |
| qwen/qwen3.6-35b-a3b | — | — | Implemented support for the CRAFT_VERBOSITY_LEVEL environment variable to configure emitter verbosity. Resolved and merged via pull request #289 in the canonical/craft-application repository. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
canonical/craft-application#289
(confidence 100%)
Merged PR #289 added CRAFT_VERBOSITY_LEVEL support in commit 226fd102.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #289 fix(log): allows set logging verbosity level from env | craft-application | merged | Merged PR #289 added CRAFT_VERBOSITY_LEVEL support for log emitter verbosity, defaulting to BRIEF for invalid values; landed as commit 226fd102. | |
| #90 Refactor Emitter to comply with the new verbosity levels behaviour (CRAFT-1136). | craft-cli | merged | Merged PR #90 as 89b9eaa (implementation 3526a7a), refactoring Emitter toward CRAFT-1136's new verbosity behavior as part of a broader PR series. | |
| #4699 fix(log): map SNAPCRAFT_VERBOSITY_LEVEL to CRAFT | snapcraft | merged | Merged PR #4699 as 2fd361741, restoring SNAPCRAFT_VERBOSITY_LEVEL by mapping it to CRAFT_VERBOSITY_LEVEL for Craft-based logging. | |
| #1988065 Default verbosity level should be configurable | snapcraft (launchpad) | closed | Added SNAPCRAFT_VERBOSITY_LEVEL for persistent default output verbosity in snapcraft#3958 (commit 010fd708d). |