'snapcraft init' examples are not style compliant
Metadata
Current evaluation
⚠️ This summary may be outdated — the issue content or evaluation prompts have changed since this evaluation was made.
Resolved via PR #673, which updated snapcraft init boilerplate indentation to 2 spaces and added missing minimum properties.
Suggested action: —
No scores available.
Issue body
Using the standard boiler-plate from `snapcraft init` is slightly annoying because the indentations are 4 spaces instead of 2. As well, there aren't quite enough properties for a minimum example.
Patch submitted on github, #673
https://github.com/snapcore/snapcraft/pull/673
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Resolved via PR #673, which updated snapcraft init boilerplate indentation to 2 spaces and added missing minimum properties. | |
| qwen/qwen3.6-35b-a3b | — | — | Resolved via PR #673. The snapcraft init boilerplate was updated to use 2-space indentation and include required minimum properties, fixing the style compliance issue. | |
| qwen/qwen3.6-35b-a3b | — | — | The snapcraft init style compliance issues were fixed and merged via pull request #673. Generated examples now use 2-space indentation and include necessary minimum properties, resolving the reported boilerplate formatting concerns. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Resolved by merging pull request #673. The update corrects the snapcraft init boilerplate indentation to 2 spaces and adds missing properties, ensuring style compliance. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1575581 "snapcraft init" doesn't generate a valid template | snapcraft (launchpad) | closed | Fixed by updating the snapcraft init template to include the required parts section and a documentation comment. The fix was verified, closed, and validated with a regression test ensuring the generated template builds successfully. | |
| #2393 lifecycle: make snapcraft init template use > not | | snapcraft | merged | Merged changes to update the snapcraft init template, replacing the YAML literal style with the folded style for the description field. Approved and integrated to correct formatting per bug report lp:1801973. | |
| #1660880 snapcraft init doesn't finish the yaml with an empty line | snapcraft (launchpad) | closed | Closed. The missing trailing newline in generated snapcraft.yaml was fixed. The update ensures generated files adhere to standard formatting conventions. |