← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1575581] Re: "snapcraft init" doesn't generate a valid template

 

** Also affects: snapcraft (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: snapcraft (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Also affects: snapcraft (Ubuntu Yakkety)
   Importance: Undecided
       Status: New

** Changed in: snapcraft (Ubuntu Xenial)
    Milestone: None => xenial-updates

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1575581

Title:
  "snapcraft init" doesn't generate a valid template

Status in Snapcraft:
  Fix Committed
Status in snapcraft package in Ubuntu:
  New
Status in snapcraft source package in Xenial:
  New
Status in snapcraft source package in Yakkety:
  New

Bug description:
  Using snapcraft 2.8.4 in xenial

  Getting a source and doing "snapcraft init", editing the
  snapcraft.yaml to file the info required and doig "snapcraft build"
  leads to an error "'parts' is a required property" ... if that's
  required the default template should include it or at least a comment
  saying "you need to add a parts section, see documentation on ..."

  [Impact]

   * It's hard for a user to get started.

   * The init template will contain more info, and will be snapcraft-
  able.

  [Test Case]

   * Run snapcraft init
   * Run snapcraft
   * Verify that you get a valid snap.

  [Regression Potential]

   * The only risk would be that the error message is worse than before.
  We added a test to check that there is no error message anymore.

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapcraft/+bug/1575581/+subscriptions