`charmcraft init` should not populate actions.yaml with real data
Metadata
Current evaluation
Closed without resolution. The report that charmcraft init populates config.yaml and actions.yaml with real YAML, risking accidental Charmhub uploads, was abandoned due to inactivity. No fix was implemented.
Suggested action: —
No scores available.
Issue body
After `charmcraft init` I notice that there is real YAML in `config.yaml` and `actions.yaml`.
While it would be OK to have examples in comments, having real YAML in there is likely to lead to someone uploading it to Charmhub without realising it.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without resolution. The report that charmcraft init populates config.yaml and actions.yaml with real YAML, risking accidental Charmhub uploads, was abandoned due to inactivity. No fix was implemented. | |
| qwen/qwen3.6-35b-a3b | — | — | The request to prevent charmcraft init from populating actions.yaml with real YAML was closed without resolution or discussion. The feature request appears abandoned, leaving the default behavior unchanged. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. The request to prevent charmcraft init from generating real YAML in actions.yaml and config.yaml was abandoned after five years with no comments or changes. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Requesting that charmcraft init avoid populating actions.yaml with real YAML was closed without resolution. No code changes were implemented, and the report was abandoned. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Abandoned. The report that charmcraft init generates real YAML in actions.yaml and config.yaml, risking accidental Charmhub uploads, was closed due to inactivity. No fix or follow-up was implemented. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #142 fix the action generated by 'charmcraft init' | charmcraft | merged | Merged a fix for the action generated by charmcraft init, resolving issue #141. Approved by three reviewers and verified by the reporter. Corrects a generation bug in the init command. | |
| #36 'charmcraft build' should pull in actions.yaml and config.yaml | charmcraft | merged | Merged after two reviewer approvals. The pull request implements automatic inclusion of actions.yaml and config.yaml during charmcraft builds, adding 80 lines across two files. Changes were successfully integrated. |