← Back to issue list

main: rename debug option to trace for consistency (CRAFT-513)

View original Github issue

Metadata

Project
craft-parts
Number
#126
Type
pull request
State
merged
Author
cmatsuoka
Labels
Created
Updated
Closed

Current evaluation

Merged a change renaming the craft-parts CLI debug option to --trace for consistency with future craft tools. Approved by two reviewers, passed CI, and applied with a minimal two-line update.

Suggested action:

No scores available.

Issue body

Future craft tools will adopt `--trace` as the standard CLI option to display debug messages, and Snapcraft uses `--debug` for a different purpose. Rename the craft-parts CLI option to be consistent with tools. Signed-off-by: Claudio Matsuoka <claudio.matsuoka@canonical.com> - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? -----

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged a change renaming the craft-parts CLI debug option to --trace for consistency with future craft tools. Approved by two reviewers, passed CI, and applied with a minimal two-line update.
qwen3.6-35b-a3b-mtp-q6 Merged renaming the CLI --debug option to --trace to align with future craft tools, avoiding conflicts with Snapcraft's existing --debug usage.

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.
75%
#89 Improved default global options: removed --trace and added --verbosity as a way to set all modes (CRAFT-1133). craft-cli merged Merged by facundobatista, this update removes the --trace global option and adds --verbosity to set all modes (CRAFT-1133). Approved by one reviewer, it modifies five files with 106 additions and 50 deletions.
70%