← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1587933] Re: Allow using .snapcraft.yaml as input

 

** Changed in: snapcraft (Ubuntu)
       Status: New => Fix Released

-- 
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/1587933

Title:
  Allow using .snapcraft.yaml as input

Status in Snapcraft:
  Fix Released
Status in snapcraft package in Ubuntu:
  Fix Released
Status in snapcraft source package in Xenial:
  Fix Released
Status in snapcraft source package in Yakkety:
  Fix Released

Bug description:
  [Impact]

   * Allow using an alternate snapcraft.yaml which would be hidden
  (.snapcraft.yaml)

  [Test Case]

   1. Running `snapcraft init` creates a snapcraft.yaml
   2. Running `snapcraft` creates a snap using snapcraft.yaml as a source
   3. Create a copy `cp snapcraft.yaml .snapcraft.yaml`
   4. Running `snapcraft` results in an error due to duplicate sources
   5. Remove snapcraft.yaml
   6. Running `snapcraft` creates a snap using .snapcraft.yaml as a source

  [Regression Potential]

   * Existing projects can fail to run snapcraft if the logic to check
  duplicates fails. This should be heavily covered by unit and
  integration tests (all tests would fail today if the code changed in
  incompatible ways).

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