feat: add --base option to the init command
Metadata
Current evaluation
Merged in canonical/craft-application#1137 (commit b79989ab), adding init --base profile-variant selection and default profile symlinks; released in 7.2.0.
Resolution: closed resolved
Reason: PR #1137 was approved and merged as commit b79989ab. The implementation and 7.2.0 changelog confirm support for selecting base-specific profile templates with init --base.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Allow users to specify an optional base when initializing a project
using the `--base=<base-name>` option. This maps to profile templates
variants named `<profile-name>__<base-name>.j2`. A default profile
symlink `<profile-name>` should be provided pointing to one of the
base-specific variants to be used when `--base` is not used.
- [x] Have you followed the guidelines for contributing?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] Have you successfully run `make lint && make test`?
- [ ] Have you added an entry to the changelog (`docs/reference/changelog.rst`)?
---
CRAFT-5252
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged in canonical/craft-application#1137 (commit b79989ab), adding init --base profile-variant selection and default profile symlinks; released in 7.2.0. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged canonical/craft-application#1137, adding init --base=<base-name> to select base-specific profile templates, with a default profile symlink when no base is specified. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged after three approvals and passing CI. Adds a --base option to the init command for specifying profile template variants. A reviewer noted the implementation could be more generic, but the feature was accepted and integrated. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
10
Complexity:
35
Confidence:
85
|
needs review | Adds a --base option to the init command to select profile template variants. Approved by 3 reviewers, CI mostly passing. Author is discussing renaming the argument to be more generic. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
5
Complexity:
25
Confidence:
85
|
needs review | Adds a --base option to the init command to select profile template variants. Currently a fresh submission with unchecked standard PR checkboxes and no maintainer comments or CI results. |
Update history
| Date | Change |
|---|---|
| updated | |
| updated | |
| updated |
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #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). |