← Back to issue list

First pass at 'charmcraft init'

View original Github issue

Metadata

Project
charmcraft
Number
#91
Type
pull request
State
merged
Author
chipaca
Labels
Created
Updated
Closed

Current evaluation

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.

Suggested action:

No scores available.

Issue body

Some files need more work. Especially README.md. Some more options needed. It's not interactive (should it be?).

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b 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.
qwen3.6-35b-a3b-mtp-q6 Merged as the initial implementation for 'charmcraft init'. The PR establishes core functionality, with the author noting that the README, additional options, and interactive prompts require future updates.
qwen3.6-35b-a3b-mtp-q6 Merged as an initial implementation of the 'charmcraft init' command. Establishes foundational structure and basic functionality, noting pending documentation updates, additional options, and potential interactivity improvements.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#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.
79%
#242 Add init documentation for a gentle introduction to the charm operator charmcraft merged Merged PR adding starter docs to charmcraft init. Reviewer requested moving content to a Charmhub discourse wiki and linking it. Contributor adapted the change, and the PR was merged with the external link integrated.
79%
#238 `charmcraft init` creates broken charm charmcraft closed Superseded by PR #247, which overhauls charmcraft init and its tests to prevent broken charm generation from commented-out actions. The new implementation resolves the template and test failures.
77%
#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%
#395 Update the default bundle from `charmcraft init` charmcraft merged Merged after reviewer approval and conflict resolution. Updates the charmcraft init default bundle with improved metadata examples, splits developer instructions to CONTRIBUTING.md, and clarifies README setup steps.
76%
#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).
75%
#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.
75%
#380 Charmcraft imported improvements starbase merged Merged minor import improvements for Charmcraft across two files. Approved by two reviewers and passed all CI checks before integration.
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%
#471 config: add charm part to documentation (CRAFT-356) charmcraft merged Merged changes adding charm configuration documentation to the configuration schema. Approved by two reviewers with zero unresolved comments. Updated two files with 15 additions and one deletion. Resolves CRAFT-356.
74%