feat: add init service and init command
Metadata
Current evaluation
Merged the reusable init command and InitService with tests and profile support in commit f2a4becf; fixes #452 and #508 and shipped in 4.4.0.
Resolution: closed resolved
Reason: PR #522 was approved and merged as commit f2a4becf. The 4.4.0 changelog confirms the new init command and InitService for initializing projects.
Evaluated by: mr-cal-bot
No scores available.
Issue body
- [x] Have you followed the guidelines for contributing?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] Have you successfully run `tox`?
-----
Broken into a few commits:
1. Imports the `init` command from its private location with only changes needed to satisfy the linters
2. Adds an `InitService`, a bunch of tests, and fixes some bugs caught when adding tests
3. Adds profile support
Due to the size, this may be easier to review the entire thing rather than per-commit.
Fixes #452
Fixes #508
Creates #530
(CRAFT-3542)
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged the reusable init command and InitService with tests and profile support in commit f2a4becf; fixes #452 and #508 and shipped in 4.4.0. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged the init command and InitService, including profile support and tests; fixes #452 and #508 (CRAFT-3542). | |
| qwen/qwen3.6-35b-a3b | — | — | Merged after two approvals and passing CI. Added the init service and command with profile support, resolving #452 and #508 and creating #530. The 19-file change includes tests and bug fixes discovered during development. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
canonical/craft-application#452
(confidence 100%)
Generic init implementation completed by this merged PR.
-
Related To:
canonical/craft-application#530
(confidence 100%)
Follow-up issue created for an init help-message defect.
-
Likely Fixed By:
canonical/craft-application#508
(confidence 98%)
Profile support for init was included and explicitly linked as fixed.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #439 feat: add generic init implementation | craft-application | closed | Generic init was delivered via #522 instead, merging InitService and the init command with profile support and tests in commit f2a4becf for 4.4.0. | |
| #694 feat: add a testing service and command | craft-application | merged | Merged the testing service and opt-in test command in #694 via commit 4910b2d8, building on testing work from #565 and #592. |