← Back to issue list

Adapted project to the new Craft CLI verbosity levels (CRAFT-1143).

View original Github issue

Metadata

Project
charmcraft
Number
#801
Type
pull request
State
merged
Author
facundobatista
Labels
Created
Updated
Closed

Current evaluation

Merged after approvals and CI. Updates logging to debug, switches to progress/permanent messages, simplifies startup via --verbosity, initializes emit in BRIEF mode, and refreshes dependencies to match new Craft CLI verbosity levels.

Suggested action:

No scores available.

Issue body

These are the changes in detail: - lot of changes from calling `.trace` to calling `.debug` (except that changed one call to use `verbose` and left `trace` in a couple of places where auth headers were shown) - changed message/intermediate to progress/permanent (and added permanent=True to some calls that we converted to progress some branches ago) - simplified how charmcraft is started in the managed instance (as we now have `--verbosity` to set any mode - initiated `emit` in `BRIEF` now - updated/refreshed all dependencies versions (not only Craft CLI)

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged after approvals and CI. Updates logging to debug, switches to progress/permanent messages, simplifies startup via --verbosity, initializes emit in BRIEF mode, and refreshes dependencies to match new Craft CLI verbosity levels.
qwen3.6-35b-a3b-mtp-q6 Merged to adapt the codebase to new Craft CLI verbosity levels (CRAFT-1143). Changes replace trace with debug, standardize progress messages, simplify startup via verbosity flags, and initialize emit in BRIEF mode.
qwen3.6-35b-a3b-mtp-q6 Merged update adapting the codebase to new Craft CLI verbosity levels (CRAFT-1143). Replaced .trace with .debug, updated progress handling, simplified startup via --verbosity, initialized emit in BRIEF mode, and refreshed dependencies.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#3833 cli: update craft-cli to comply with UX guidelines snapcraft merged Merged into main. Updated craft-cli to align with UX guidelines for CLI verbosity, standardizing stdout and stderr output while reducing debug noise. Added a hidden -t/--trace flag for debug mode. Approved and passed CI.
74%
#90 Refactor Emitter to comply with the new verbosity levels behaviour (CRAFT-1136). craft-cli merged Merged PR refactoring the Emitter for new verbosity levels (CRAFT-1136). Approved, passed CI, and modified four files. The conceptual changes are part of a larger series, with test updates and future spec adjustments noted.
72%
#289 fix(log): allows set logging verbosity level from env craft-application merged Merged changes that enable log verbosity configuration via the CRAFT_VERBOSITY_LEVEL environment variable, defaulting to BRIEF on invalid input. Approved by two reviewers, passed CI, and updated two files.
72%