← 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 PR #91 delivered the first non-interactive charmcraft init scaffolding implementation; README improvements, extra options, and prompts were deferred (commit 0ebd9f87).

Resolution: closed resolved

Reason: PR #91 was approved and merged, landing the first-pass charmcraft init command and non-interactive charm scaffolding in commit 0ebd9f87. Remaining refinements were explicitly deferred.

Evaluated by: mr-cal-bot

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
stealth/space-bunny-alpha — closed resolved Merged PR #91 delivered the first non-interactive charmcraft init scaffolding implementation; README improvements, extra options, and prompts were deferred (commit 0ebd9f87).
stealth/space-bunny-alpha — closed resolved Merged the first non-interactive charmcraft init implementation, adding initial charm-project scaffolding; README improvements, more options, and interactive prompts were deferred.
stealth/space-bunny-alpha — closed resolved Merged PR #91 via commit 12ceda1e, adding the first non-interactive charmcraft init implementation; README, options, and interactive refinements were deferred.
stealth/space-bunny-alpha — closed resolved Merged PR #91 (commit 12ceda1e) by chipaca added the first non-interactive `charmcraft init` command that scaffolds a charm; follow-ups like #142 fixed a bug in the generated action template.
stealth/space-bunny-alpha — closed resolved Merged #91 with the first charmcraft init implementation, adding non-interactive charm scaffolding. README improvements, additional options, and interactive prompts were deferred.
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.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#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.
78%
#243 Initial tests from `charmcraft init` do not pass charmcraft closed Superseded by charmcraft#247, which took ownership of redesigning charmcraft init and its generated tests; no direct fixing implementation was recorded for #243.
76%
#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).
75%
#16 Version 0.1.0 charmcraft merged Charmcraft 0.1.0 was released in merged PR #16 via commit 36dcd009.
75%
#4 First version of the build command. charmcraft merged Merged the initial Charmcraft build command into main via ad9f68c1, with implementation commit 27aece73.
75%
#1149 command: charmcraft init to use charmcraft.yaml only charmcraft merged Merged in ca4df024: charmcraft init now generates a unified charmcraft.yaml containing metadata, actions, and config, with profile descriptions and an updated URL.
75%
#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.
74%
#32 The charm tool should offer an initial skeleton charmcraft closed Implemented `charmcraft init` to generate an initial charm skeleton via merged PR canonical/charmcraft#91.
74%
#380 Charmcraft imported improvements starbase merged Merged PR #380 brought in Charmcraft-derived improvements; it passed all CI checks after approval by two reviewers.
74%
#762 Dynamically import charmcraft init template charmcraft closed Closed in favor of broader charmcraft init profile work, notably #568; live template-repository fetching was left for future discussion. Profile support later landed through PRs #854, #859 and #868.
74%