← Back to issue list

Created the profile option for the init command (CRAFT-1317).

View original Github issue

Metadata

Project
charmcraft
Number
#854
Type
pull request
State
merged
Author
facundobatista
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #854 as commit 21b83fb0, adding an optional charmcraft init profile that defaults to simple and updating its scaffold template for CRAFT-1317.

Resolution: closed resolved

Reason: PR #854 was merged in commit 21b83fb0, delivering the profile option, the simple default profile, and revised initialization templates.

Evaluated by: mr-cal-bot

No scores available.

Issue body

It's optional and currently only accepts its default, "simple", which uses a template very similar to what we had so far, evolved according to [this template from Jon](https://github.com/canonical/template-operator/tree/charmcraft-templates/default).

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #854 as commit 21b83fb0, adding an optional charmcraft init profile that defaults to simple and updating its scaffold template for CRAFT-1317.
stealth/space-bunny-alpha — closed resolved Merged in canonical/charmcraft#854 (commit 21b83fb0), adding an optional init profile that defaults to "simple" and updates the scaffold template for CRAFT-1317.
qwen/qwen3.6-35b-a3b — — Merged an optional profile option for the init command, defaulting to simple. Addressed review feedback, resolved flake8 and black conflicts, and cleaned up duplicate configuration prior to merge.
qwen3.6-35b-a3b-mtp-q6 — — Merged an optional profile option for the init command, defaulting to simple. The author resolved flake8 and black conflicts, updated requirements, and fixed duplicate configuration during review before final merge.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/charmcraft#855 (confidence 98%)

    Immediate follow-up that corrected the simple scaffold to match the canonical template source.

  • Related To: canonical/charmcraft#859 (confidence 90%)

    Added a Kubernetes init profile using the profile framework introduced by PR #854.

Related issues

Issue Project State Summary Similarity
#868 Added a machine profile to init command (CRAFT-1046). charmcraft merged Merged PR #868 added a machine profile to charmcraft init, resolving #568 and #593; merge commit: a6c21119.
78%
#859 Added a kubernetes profile to init command (CRAFT-1318). charmcraft merged Merged in canonical/charmcraft#859 (451c399a), adding the Kubernetes init profile and fixing the simple template for CRAFT-1318.
77%
#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%
#2873 feat(init): support base-specific profiles charmcraft merged PR #2873 merged: charmcraft init migrated to craft-application's generic init flow, adding --base selection of base-specific <profile>__<base> templates (Ubuntu 26.04 frameworks; 24.04 stays default).
73%
#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).
73%
#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.
72%
#1383 Profile `simple` in `charmcraft init` has an unclear name charmcraft closed Charmcraft 4 removed the unclear simple init profile and made kubernetes the default in PR #2295 (commit fc17daa7).
72%
#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.
71%
#379 Add a profile option to the rockcraft init command rockcraft merged Merged PR #379 added a --profile option to rockcraft init, enabling different flavors of initial project files.
70%