← Back to issue list

cli: new lifecycle CLI command "init"

View original Github issue

Metadata

Project
rockcraft
Number
#35
Type
pull request
State
merged
Author
cjdcordeiro
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #35 in commit f6e83e93, adding an init command that generates a minimal functional rockcraft.yaml; review changed init from a lifecycle step to a standalone command.

Resolution: closed resolved

Reason: PR #35 was merged into main as commit f6e83e93. It added project initialization through `init`, generating a minimal functional rockcraft.yaml.

Evaluated by: mr-cal-bot

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
stealth/space-bunny-alpha — closed resolved Merged PR #35 in commit f6e83e93, adding an init command that generates a minimal functional rockcraft.yaml; review changed init from a lifecycle step to a standalone command.
stealth/space-bunny-alpha — closed resolved Merged canonical/rockcraft#35 (f6e83e93), adding init to generate a minimal rockcraft.yaml; review changed it from a lifecycle step to a standalone command.
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.

Update history

No update history recorded yet.

Related work

  • Related To: rockcraft#34 (confidence 90%)

    Introduced the metadata properties on which the init template was based; it later closed unmerged.

Related issues

Issue Project State Summary Similarity
#2 bootstrap minimal command line interface (CRAFT-571) rockcraft merged Merged PR #2 bootstrapping a minimal rockcraft CLI (CRAFT-571), +306/-11 across 12 files, just enough to run "rockcraft pack"; approved by one reviewer with no unresolved comments.
71%