lifecycle: make snapcraft init template use > not |
Metadata
Current evaluation
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.
Suggested action: —
No scores available.
Issue body
snapcraft init should use > (folded style) not | (literal style) for the description
- [ :heavy_check_mark: ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [ :heavy_check_mark: ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ :heavy_check_mark: ] If this is a bugfix. Have you checked that there is a bug report open for the issue you are trying to fix on [bug reports](https://bugs.launchpad.net/snapcraft)? [lp:1801973](https://bugs.launchpad.net/snapcraft/+bug/1801973)
- [ N/A ] If this is a new feature. Have you discussed the design on the [forum](https://forum.snapcraft.io)?
- [ :heavy_check_mark: ] Have you successfully run `./runtests.sh static`?
- [ :x: ] Have you successfully run `./runtests.sh tests/unit`? - existing tests fail for me, but confirmed that relevant tests pass
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | 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. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged a change updating the snapcraft init template to use YAML folded style (>) instead of literal style (|) for the description field, resolving bug lp:1801973. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged a fix updating the snapcraft init template to use YAML folded style (>) instead of literal style (|) for the description. Resolves bug lp:1801973 after passing static checks and relevant unit tests. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #2417 Revert "lifecycle: make snapcraft init template use > not | (#2393)" | snapcraft | merged | Merged a revert of the snapcraft init template syntax change from pipe to greater-than. The original commit was rolled back after forum discussions revealed issues with multi-line descriptions and markdown in snap metadata imports. | |
| #673 Updating styling and examples for `snapcraft init` in lifecycle.py | snapcraft | closed | Abandoned to resubmit cleanly. After addressing reviewer requests for a bug reference and CLA signature, the contributor cited a messy git history and intentionally closed the pull request to redo it without the clutter. | |
| #528 Improve the template for snapcraft init | snapcraft | merged | Merged updates to the snapcraft init template, adding placeholder metadata and a default part to simplify initial setup. Approved following maintainer review and positive contributor feedback. | |
| #776 Updated the contents of the snapcraft init template | snapcraft | merged | Merged update to the snapcraft init template. The maintainer modified 44 lines across three files to align with LP #1620428. Changes were integrated after a retest request, with no blocking CI failures or unresolved review comments. | |
| #5004 ci: make snapcraft.yaml render as YAML in bug reports | snapcraft | merged | Merged a one-line CI update ensuring snapcraft.yaml renders as proper YAML in bug reports. Approved by two reviewers, passed all checks, and integrated into the codebase. | |
| #1604504 'snapcraft init' examples are not style compliant | snapcraft (launchpad) | closed | Resolved via PR #673, which updated snapcraft init boilerplate indentation to 2 spaces and added missing minimum properties. | |
| #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. | |
| #5924 docs: clean up 'snapcraft.yaml' | snapcraft | merged | Merged documentation cleanup for snapcraft.yaml, including typo fixes, docstring link updates, and JSON schema regeneration. Reviewers approved the non-functional changes, and the schema workflow was resolved by running make schema. |