← Back to issue list

command: charmcraft init to use charmcraft.yaml only

View original Github issue

Metadata

Project
charmcraft
Number
#1149
Type
pull request
State
merged
Author
syu-w
Labels
Created
Updated
Closed

Current evaluation

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.

Suggested action:

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
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.
qwen3.6-35b-a3b-mtp-q6 Updates charmcraft init to default to a unified charmcraft.yaml, consolidating metadata, actions, and config. Merged after initial blocks on external dependencies and discussions on removing legacy templates.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#91 First pass at 'charmcraft init' charmcraft merged Merged the initial 'charmcraft init' implementation. Approved by two reviewers, the PR adds 1087 lines across 24 files to scaffold charms. README.md, additional options, and interactive prompts require future updates.
77%
#1126 Allow use actions/config/metadata in charmcraft.yaml charmcraft merged Merged. Allows defining actions, config, and metadata directly in charmcraft.yaml when corresponding files are absent. Addresses CRAFT-1747, CRAFT-1788, and CRAFT-1789. Approved with passing CI checks.
77%
#415 init command: populate default charmcraft.yaml (CRAFT-330) charmcraft merged Merged. Adds default charmcraft.yaml generation to the init command, setting type charm and Ubuntu 20.04 bases. Approved by two reviewers and merged after PR #414 enabled integration tests.
76%
#1850 feat(metadata): add charm-user to charmcraft.yaml charmcraft merged Merged a feature adding charm-user to charmcraft.yaml, resolving issue #1806. Approved by two reviewers and passing CI, the update modifies five files with 38 additions and 2 deletions.
76%
#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.
76%
#46 New functionality from charmcraft (CRAFT-706). craft-cli merged Merged new charmcraft functionality (CRAFT-706) following approval from two reviewers. The update adds approximately 2000 lines across 13 files, successfully integrating the feature set into the codebase.
75%
#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.
75%
#1114 config: support use actions in charmcraft.yaml charmcraft merged Merged update allowing actions in charmcraft.yaml instead of separate actions.yaml. Includes refactoring to fix circular imports. Approved by one reviewer across 10 files with 345 additions and 3 deletions.
74%
#1622 fix: reorganise charmcraft.yaml preprocessing charmcraft merged Merged following two approvals and passing CI. Reorganized charmcraft.yaml preprocessing to apply extensions on raw data, assign default parts to charms with bases, and enforce dictionary type for parts. Modified 5 files (+27/-14 lines).
73%
#397 feat: add charmcraft inspector fetch-service merged Merged the charmcraft inspector, verifying charmcraft.yaml existence. Approved by two reviewers, passed CI, and changed 7 files. The author addressed invocation order review comments prior to final merge.
73%