Update the charmcraft status --format
Metadata
Current evaluation
Merged in canonical/charmcraft#933, commit 2f673059, clarifying that charmcraft status --format supports JSON only and fixing #794. YAML support was removed and split into #940.
Resolution: closed resolved
Reason: PR #933 merged with change commit 2f673059 after YAML handling was removed, retaining the corrected JSON-only --format help text. Its Fixes #794 reference closed the documentation issue.
Evaluated by: mr-cal-bot
No scores available.
Issue body
This commit add the option to format the output data in yaml format and also updates the text for charmcraft status --help for --format option.
Fixes #794
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged in canonical/charmcraft#933, commit 2f673059, clarifying that charmcraft status --format supports JSON only and fixing #794. YAML support was removed and split into #940. | |
| stealth/space-bunny-alpha | — | closed resolved | PR #933 merged as 58a6600f (commit 2f673059), clarifying that status --format currently supports only JSON and fixing #794. YAML support was removed. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #933 (58a6600f) clarified status --format help text via commit 2f673059; proposed YAML output was removed during review. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged after the author removed YAML formatting support per reviewer feedback, keeping only the help text update for the --format option. The PR was approved and merged following the requested changes. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged after the reviewer requested removing YAML support. The author removed the YAML code and refined the help text for charmcraft status --format, retaining JSON output. Resolves #794. |
Update history
No update history recorded yet.
Related work
-
Related To:
canonical/charmcraft#794
(confidence 100%)
The merged help-text clarification in PR #933 explicitly fixed #794.
-
Related To:
canonical/charmcraft#940
(confidence 95%)
The YAML-output proposal was split into #940 for separate discussion and removed from PR #933.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #794 Clarify `charmcraft status --help` text for `--format` | charmcraft | closed | Clarified `charmcraft status --format` help to state that it accepts `json`; merged via #933 (commit `2f673059`). | |
| #799 Update `charmcraft status charmname --format json` output terminology | charmcraft | closed | Resolved by merged PR #802 (commit 74dcf904): status JSON now uses "mappings" and preserves the full track in channel values. | |
| #940 Add yaml formatting feature in charmcraft status | charmcraft | closed | Proposal to add YAML output to `charmcraft status --format` was declined; maintainer facundobatista noted the flag exists for machine consumption. Author rahulsinghcanonical agreed and closed it himself with no code change. | |
| #722 Feature request: charmcraft revisions json / yaml output | charmcraft | closed | JSON/YAML output for `charmcraft revisions` was redirected to broader programmatic Store work in canonical/charmcraft#183; no resolving PR was cited. | |
| #780 Second batch of commands with added --format=json for programmatic output. | charmcraft | merged | Merged PR #780 (commit 4b516722) added --format=json programmatic output for a second batch of Charmcraft commands under CRAFT-1101. |