← Back to issue list

Allow use actions/config/metadata in charmcraft.yaml

View original Github issue

Metadata

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

Current evaluation

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.

Suggested action:

No scores available.

Issue body

Allow use actions/config/metadata in `charmcraft.yaml` when corresponding yaml file does not exist. Metadata in `charmcraft.yaml` also must be new keys defined in spec ST087. CRAFT-1747 CRAFT-1788 CRAFT-1789

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b 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.
qwen3.6-35b-a3b-mtp-q6 Merged. Enables defining actions, config, and metadata directly in charmcraft.yaml when corresponding files are absent, per spec ST087. Resolves CRAFT-1747, CRAFT-1788, and CRAFT-1789.
qwen3.6-35b-a3b-mtp-q6 Merged. Enables defining actions, config, and metadata directly in charmcraft.yaml when corresponding files are missing, per spec ST087. Resolves CRAFT-1747, CRAFT-1788, and CRAFT-1789.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#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.
78%
#1149 command: charmcraft init to use charmcraft.yaml only charmcraft merged 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.
77%
#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.
73%
#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.
72%