cli: new lifecycle CLI command "init"
Metadata
Current evaluation
Merged addition of the init CLI command for initializing new Rockcraft projects with a basic rockcraft.yaml template. Revised to a standalone command per reviewer feedback, as it differs from lifecycle steps, before final approval and merge.
Suggested action: —
No scores available.
Issue body
Adds a new CLI command `init` for initializing a new Rockcraft project. It populates the current directory with a minimal, but yet functional, rockcraft.yaml file.
The content of this template rockcraft.yaml depends on the new properties defined in https://github.com/canonical/rockcraft/pull/34
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged addition of the init CLI command for initializing new Rockcraft projects with a basic rockcraft.yaml template. Revised to a standalone command per reviewer feedback, as it differs from lifecycle steps, before final approval and merge. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged CLI init command scaffolding a Rockcraft project with a basic rockcraft.yaml. Accepted after fixing commit structure and reclassifying the command as non-lifecycle per reviewer feedback. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Introduced the init CLI command to scaffold a new Rockcraft project. Reviewers requested moving it out of the lifecycle group, and the author adjusted the categorization prior to merge. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #64 commands: add lifecycle step commands | rockcraft | merged | Merged. Implemented rockcraft commands for the parts lifecycle steps: pull, overlay, build, stage, and prime. Approved by one reviewer, changing seven files with 211 additions and 35 deletions. Originally created to debug OCI whiteout file issues. |