command: charmcraft init to use charmcraft.yaml only
Metadata
Current evaluation
Merged in ca4df024: charmcraft init now generates a unified charmcraft.yaml containing metadata, actions, and config, with profile descriptions and an updated URL.
Resolution: closed resolved
Reason: PR #1149 was merged as commit ca4df024 after unified-schema support landed in PR #1126 (044b94f8). It updates init to generate charmcraft.yaml instead of separate configuration files.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Use unified charmcraft.yaml by default, that included `metadata.yaml`, `actions.yaml` and `config.yaml`.
Also added profiles descriptions and updated URL.
CRAFT-1795
CRAFT-1824
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged in ca4df024: charmcraft init now generates a unified charmcraft.yaml containing metadata, actions, and config, with profile descriptions and an updated URL. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged in #1149: charmcraft init now generates a unified charmcraft.yaml, with profile descriptions and updated URLs, replacing separate metadata, actions, and config templates. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged charmcraft#1126, making charmcraft init generate the unified charmcraft.yaml by default instead of separate metadata, actions, and config files. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged after review. Updated charmcraft init to use a unified charmcraft.yaml by default, replacing separate metadata, actions, and config files. Added profile descriptions and updated URLs. Initially blocked but eventually merged. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged after upstream dependency blocks. Updated charmcraft init to generate a unified charmcraft.yaml by default, consolidating metadata, actions, and config. Legacy template removal was suggested but the change was accepted. |
Update history
No update history recorded yet.
Related work
-
Blocked By:
canonical/craft-cli#164
(confidence 100%)
The maintainer explicitly identified this PR as an initial blocker before merging.
-
Blocked By:
operator#969
(confidence 100%)
The maintainer explicitly identified this issue as an initial blocker before merging.
-
Likely Fixed By:
canonical/charmcraft#1126
(confidence 99%)
Merged in 044b94f8, adding metadata, actions, and config support within charmcraft.yaml.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #415 init command: populate default charmcraft.yaml (CRAFT-330) | charmcraft | merged | Merged in charmcraft#415 via commit a4c2eab5, adding default charmcraft.yaml generation with type charm and Ubuntu 20.04 bases. | |
| #1139 `charmcraft init --profile machine` doesn't produce `config.yaml` | charmcraft | closed | Fixed in canonical/charmcraft#1149 via commit ca4df024: machine init now uses charmcraft.yaml and no longer tells users to edit metadata.yaml or config.yaml. | |
| #328 charmcraft init produces error charm for machine charms | charmcraft | closed | Machine charms gained a dedicated charmcraft init profile, resolving Kubernetes-only initialization; the change was merged in PR #868 (commit 2ed9033c). | |
| #91 First pass at 'charmcraft init' | charmcraft | merged | Merged PR #91 delivered the first non-interactive charmcraft init scaffolding implementation; README improvements, extra options, and prompts were deferred (commit 0ebd9f87). | |
| #680 The charmcraft.yaml is not longer optional for build command (CRAFT-784). | charmcraft | merged | Merged #680 in commit 7df649fd, making charmcraft.yaml required for builds and enforcing its mandatory type key through the config schema. | |
| #238 `charmcraft init` creates broken charm | charmcraft | closed | Superseded by charmcraft#247, a planned overhaul of init templates and generated tests; #247 later closed without implementing its proposed guard against building incomplete templates. | |
| #2167 charmcraft init --profile machine does not produce a valid charmcraft.yaml | charmcraft | closed | Fixed by #2200 (commit c4d43add), which migrated the machine init template from legacy bases syntax to platforms. | |
| #46 New functionality from charmcraft (CRAFT-706). | craft-cli | merged | Merged CRAFT-706 functionality from Charmcraft into craft-cli, including dispatcher and help-text improvements, via canonical/craft-cli#46 (4b190c5). | |
| #31 feat: charmcraft actions | craft-actions | merged | Merged in commit 91513c1, adding charmcraft/setup to install Charmcraft and LXD and charmcraft/pack to run setup and package charms. | |
| #1158 command: add profiles descriptions and update URL (#1156) | charmcraft | merged | Merged charmcraft#1156 via commits 15fba942 and 5b50d9e6, adding init profile descriptions and correcting the associated URL. |