← Back to issue list

feat: add init service and init command

View original Github issue

Metadata

Project
craft-application
Number
#522
Type
pull request
State
merged
Author
mr-cal
Labels
Created
Updated
Closed

Current evaluation

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.

Suggested action:

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
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.
qwen3.6-35b-a3b-mtp-q6 Merged after prerequisite PR #530 landed. Introduces the init service and command with profile support, adds tests, and resolves issues #452 and #508.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#694 feat: add a testing service and command craft-application merged Merged a new testing service and opt-in test command. Approved by three reviewers, the change adds 537 lines across 13 files. Known issues were noted for future tracking.
76%
#5398 feat: add init test profile snapcraft merged Merged. Adds an init test profile containing spread.yaml and extension templates. Approved by two reviewers, passed all CI checks, and resolves #5099.
76%
#107 feat: add simple init template debcraft merged Merged a pull request that adds a simple init template. Approved by two reviewers with CI checks passing. The change modifies one file, adding 17 lines.
72%
#871 feat(init): add 'test' init profile rockcraft merged Merged the addition of a 'test' init profile. Approved by two reviewers, the change was integrated despite four unresolved comments and failing slow tests. Template refinements will be addressed later.
72%
#5366 feat: add 'test' command snapcraft merged Merged pull request introducing a new 'test' command. Approved by two reviewers, the change modified eight files with 170 additions and was successfully integrated into the repository.
71%
#69 feat(services): add service setup method craft-application merged Merged into main after three approvals and passing CI. Introduces a setup method for service classes to handle pre-execution preparation. The change added 21 lines across three files with 100% diff coverage.
70%