Update the charmcraft status --format
Metadata
Current evaluation
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.
Suggested action: —
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 |
|---|---|---|---|---|
| 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. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged after the author removed YAML formatting support per reviewer feedback. The update now exclusively improves the charmcraft status --format help text, resolving issue #794. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #794 Clarify `charmcraft status --help` text for `--format` | charmcraft | closed | Closed without a linked fix or PR, likely abandoned. The misleading help text for charmcraft status --format remains unupdated. | |
| #1974 Check `charmcraft.yaml` for charm name | charmcraft | merged | Merged changes to validate the charm name in charmcraft.yaml, resolving issue 1973. It passed CI, received two approvals, and was merged after the author corrected a CLA email mismatch via force push. | |
| #940 Add yaml formatting feature in charmcraft status | charmcraft | closed | The request to add YAML formatting to charmcraft status was abandoned. The maintainer clarified the format flag is for machine consumption, not human readability. The author agreed and closed the issue. | |
| #1862 ci: make charmcraft.yaml render as YAML in bug reports | charmcraft | merged | Merged a one-line CI update ensuring charmcraft.yaml renders as YAML in bug reports. Approved by two reviewers, the change aligns with a similar rockcraft update and was integrated directly. | |
| #188 Small text cleanups for README and charmcraft help | charmcraft | merged | Merged text cleanups for the README and charmcraft help documentation. Approved by two reviewers, the change updates 13 files to improve clarity while preserving test compatibility. | |
| #799 Update `charmcraft status charmname --format json` output terminology | charmcraft | closed | The charmcraft status JSON output terminology was updated. The channels key was renamed to mappings, and a bug causing the channel field to omit the track was fixed. Resolved via PR 802. | |
| #913 Add `charmcraft fmt` command | charmcraft | open | Feature request for a charmcraft format command to apply opinionated YAML formatting to metadata.yaml, actions.yaml, config.yaml, and charmcraft.yaml. Triaged by maintainer who created a forum post for consensus; no implementation yet after over a year of inactivity. |