Init output issue
Metadata
Current evaluation
Fixed in PR #1149. The charmcraft init command for the machine profile incorrectly instructed users to edit a non-existent config.yaml file. Output instructions were corrected to reflect the actual generated files.
Suggested action: —
No scores available.
Issue body
### Bug Description
When you run `charmcraft init --profile machine`, the output instructs you to edit config.yaml but it does not exist.
### To Reproduce
Run `charmcraft init --profile machine`.
### Environment
```
$ charmcraft version
2.4.1
```
### charmcraft.yaml
```shell
-
```
### Relevant log output
```shell
dylan@protostar:~/repos/prometheus-snmp-exporter$ charmcraft init --profile machine
Charmed operator package file and directory tree initialised.
Now edit the following package files to provide fundamental charm metadata and other information:
metadata.yaml
config.yaml
src/charm.py
README.md
dylan@protostar:~/repos/prometheus-snmp-exporter$ cat config.yaml
cat: config.yaml: No such file or directory
```
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen3.6-35b-a3b-mtp-q6 | — | — | Fixed in PR #1149. The charmcraft init command for the machine profile incorrectly instructed users to edit a non-existent config.yaml file. Output instructions were corrected to reflect the actual generated files. | |
| qwen/qwen3.6-35b-a3b | — | — | Fixed in PR #1149. The charmcraft init command for the machine profile incorrectly instructed users to edit a non-existent config.yaml file. The output was corrected. | |
| qwen/qwen3.6-35b-a3b | — | — | Fixed in PR #1149. The charmcraft init --profile machine command incorrectly instructed users to edit a non-existent config.yaml. Output was corrected to list actual generated files. Included in the next stable release. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Fixed in PR #1149. The charmcraft init --profile machine command was updated to stop instructing users to edit a non-existent config.yaml file. The fix is included in the next stable release. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Fixed in PR #1149. The charmcraft init --profile machine command incorrectly listed a non-existent config.yaml in its output instructions. The instructions were corrected, and the fix is included in the next stable release. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1139 `charmcraft init --profile machine` doesn't produce `config.yaml` | charmcraft | closed | Fixed in PR #1149. The machine charm init template and output were updated to remove config.yaml and metadata.yaml from the default files, now directing users to only edit charmcraft.yaml. |