snapcraft init doesn't finish the yaml with an empty line
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
Low
|
RoxD |
Bug Description
It is nice to always finish the source code files with an empty line. The snapcraft.yaml we get after calling snapcraft init doesn't finish with an empty line.
$ snapcraft init
$ cat snap/snapcraft.yaml
name: my-snap-name # you probably want to 'snapcraft register <name>'
version: '0.1' # just for humans, typically '1.2+git' or '1.3.2'
summary: Single-line elevator pitch for your amazing snap # 79 char long summary
description: |
This is my-snap's description. You have a paragraph or two to tell the
most important story about your snap. Keep it under 100 words though,
we live in tweetspace and your description wants to look good in the snap
store.
grade: devel # must be 'stable' to release into candidate/stable channels
confinement: devmode # use 'strict' once you have the right plugs and slots
parts:
my-part:
# See 'snapcraft plugins'
plugin: nilelopio@
Changed in snapcraft: | |
importance: | Undecided → Low |
Changed in snapcraft: | |
status: | New → In Progress |
assignee: | nobody → RoxD (roxd) |
Changed in snapcraft: | |
status: | Fix Committed → Fix Released |
https:/ /github. com/snapcore/ snapcraft/ pull/1275