← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1581113] Re: Add support for epoch property

 

This bug was fixed in the package snapcraft - 2.9+16.10

---------------
snapcraft (2.9+16.10) yakkety; urgency=medium

  [ Leo Arias ]
  * autopkgtests: run the install examples tests in classic. (#481)
    (LP: #1572764)

  [ Matteo Bertini ]
  * Fix typo in description of the python3 example. (#504)

  [ Jamie Bennett ]
  * Documentation: Use plugs instead of caps. (#507)

  [ Chris Wayne ]
  * Add in bash completion. (#453) (LP: #1570506)

  [ Sergio Schvezov ]
  * Fail validation if plugs or slots are declared at the part level (#514)
    (LP: #1581166)

  [ Kyle Fazzari ]
  * Make pull and build steps dirty if target arch changes. (#450)
    (LP: #1564192)
  * Add support for the confinement property. (#501) (LP: #1580819)
  * Add support for the epoch property. (#502) (LP: #1581113)

 -- Sergio Schvezov <sergio.schvezov@xxxxxxxxxx>  Tue, 24 May 2016
23:32:11 -0300

** Changed in: snapcraft (Ubuntu Yakkety)
       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/1581113

Title:
  Add support for epoch property

Status in Canonical Click Reviewers tools:
  Fix Released
Status in Snapcraft:
  Fix Committed
Status in snapcraft package in Ubuntu:
  Fix Released
Status in snapcraft source package in Xenial:
  New
Status in snapcraft source package in Yakkety:
  Fix Released

Bug description:
  [Impact]

   * In order to support step upgrades, snaps need to be able to specify
  upgrade paths.

   * The method decided upon to specify upgrade paths is an optional
  "epoch" property. Valid values consist of integers and an asterisk
  (e.g. 1 is epoch 1, 1* is the upgrade path from 1 to 2, and 2 is epoch
  2).

   * `snapcraft init` should not specify "epoch" at all.

   * The "epoch" property, if specified, should be copied into the
  resulting `snap.yaml`.

   * Example YAML:

          name: foo
          version: 1
          summary: foo
          description: foo
          epoch: 1*
          
          parts:
            foo:
              plugin: nil

  [Test Case]

   * Run `snapcraft init`. Make sure "epoch" is not specified.

   * Create a valid snapcraft.yaml (without "epoch" property) and run
  `snapcraft` on it. Make sure the resulting `snap.yaml` doesn't contain
  "epoch" property.

   * Create a valid snapcraft.yaml and include the "epoch" property. Run
  `snapcraft`. Make sure the resulting `snap.yaml` contains the same
  "epoch" property.

  [Regression Potential]

   * snapcraft.yaml validation could be incorrect (required properties
  may not be required correctly, etc.)

To manage notifications about this bug go to:
https://bugs.launchpad.net/click-reviewers-tools/+bug/1581113/+subscriptions