snapcraft init doesn't finish the yaml with an empty line

Bug #1660880 reported by Leo Arias
6
This bug affects 1 person
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@ubuntu-xenial:~/test$

Tags: bitesize ui
Leo Arias (elopio)
Changed in snapcraft:
importance: Undecided → Low
RoxD (roxd)
Changed in snapcraft:
status: New → In Progress
assignee: nobody → RoxD (roxd)
Revision history for this message
Sergio Schvezov (sergiusens) wrote :
Changed in snapcraft:
milestone: none → 2.29.1
status: In Progress → Fix Committed
Changed in snapcraft:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.