Snapcraft 2.8

Milestone information

Project:
Snapcraft
Series:
trunk
Version:
2.8
Released:
 
Registrant:
Sergio Schvezov
Release registered:
Active:
No. Drivers cannot target bugs and blueprints to this milestone.  

Download RDF metadata

Activities

Assigned to you:
No blueprints or bugs assigned to you.
Assignees:
1 Didier Roche-Tolomelli, 5 Kyle Fazzari, 3 Leo Arias, 8 Sergio Schvezov, 1 Vincent Ladeuil
Blueprints:
No blueprints are targeted to this milestone.
Bugs:
18 Fix Released

Download files for this release

File Description Downloads

Release notes 

Hello snapcrafters!

We are pleased to announce the release of version 2.8 of snapcraft: https://launchpad.net/snapcraft/+milestone/2.8
Among the many house keeping activities in preparation for Xenial's release we worked on these bits of interest:

- Better detection for dirty steps which would need to rerun to reflect the current snapraft.yaml
- More similarities to debuild. By default now, apt sources reflect those of the desktop. For ensuring a clean build you can use cleanbuild.
- Among popular request, geoip is disabled by default and enabled by setting --enable-geoip
- Work on supporting the new interfaces from snappy (ongoing work). This change should still work with the old-security interface if still required (keep in mind it won't be there for 16.04).
- As mentioned by the snappy core team, `config` is gone, hence support for it removed from snapcraft as well.

For plugin developers, system-related properties have been removed from `snapcraft.common` and are now available via the `project` attribute.

To consume the latest snapcraft release on Xenial Xerus (16.04), we suggest you install the snapcraft package from the Ubuntu Archives:

    sudo apt update
    sudo apt install snapcraft

If you don't want to use the examples from the source branch you can also install the examples package:

    sudo apt install snapcraft-examples

After installing this you can find them in /usr/share/doc/snapcraft-examples/examples.

To get the source for this release check it out at https://github.com/ubuntu-core/snapcraft/releases/tag/2.8

A great place to collaborate and discuss features, bugs and ideas on snapcraft is snappy-app-devel mailing list or directly in the #snappy channel on irc.freenode.net.

To file bugs, please go to https://bugs.launchpad.net/snapcraft/+filebug.

Happy snapcrafting,
- Sergio and the team

Changelog 

View the full changelog

  [ Didier Roche ]
  * Support .git extension detection (LP: #1566153)

  [ Kyle Fazzari ]
  * Copy plugin: Follow symlinks if outside of snap. (LP: #1532515)
  * Lifecycle: Check to see if prerequisite is already built. (#431)
    (LP: #1537790)
  * Clean command: Don't automatically clean reverse dependencies. (#436)
    (LP: #1568004)
  * Library crawling: Make ldd failure non-fatal. (#440) (LP: #1569280)
  * Automatically re-strip if dirty. (#442) (LP: #1477904)
  * Automatically re-stage if dirty. (#443) (LP: #1477904)
  * Detect dirty build step. (#447) (LP: #1477904)
  * Detect dirty pull step. (#448) (LP: #1477904)

  [ Sergio Schvezov ]
  * Precedence and library path ordering. (LP: #1548232)
  * Converge all commands into one (#433) (LP: #1567058, #1567041)
  * Make geoip optional and local sources a default (#430)
    (LP: #1536691, #1561068)
  * Remove global state attributes from snapcraft.common (#434) (LP: #1551849)
  * Remove support and mentions of the config hook. (#437) (LP: #1568826)
  * Remove `old-security`. Use proper interfaces. (#441) (LP: #1569452)
  * Make meta a class in snapcraft.internal.meta (#444) (LP: #1551849)
  * Move common directories to ProjectOptions (#445) (LP: #1551849)
  * debian/control: Update Standards-Version.

  [ Leo Arias ]
  * Add a test for the mosquitto example. (#418) (LP: #1564181)
  * Update the snap command in examples tests. (#439) (LP: #1569401)

  [ Vincent Ladeuil ]
  * VCS tools are test dependencies, they should be installed to run the
    tests or the tests should be skipped. (#427) (LP: #1566882)

0 blueprints and 18 bugs targeted

Bug report Importance Assignee Status
1569280 #1569280 Snapcraft fails to strip go binaries on arm 2 Critical Kyle Fazzari  10 Fix Released
1569401 #1569401 example tests are failing because they call the old snappy command 2 Critical Leo Arias  10 Fix Released
1537790 #1537790 lifecycle: rebuild with snapcraft clean part1; snapcraft build part1 breaks if part1 has an 'after' field 3 High Kyle Fazzari  10 Fix Released
1548232 #1548232 Snapcraft messes with include path precedence in unhealthy ways 3 High Sergio Schvezov  10 Fix Released
1567452 #1567452 webcam-webui when tested on infra consistenly fails 3 High Leo Arias  10 Fix Released
1568004 #1568004 Clean: Don't automatically clean reverse dependencies. 3 High Kyle Fazzari  10 Fix Released
1568826 #1568826 Remove configuration incantations 3 High Sergio Schvezov  10 Fix Released
1569452 #1569452 Update snapcraft to use new interfaces 3 High Sergio Schvezov  10 Fix Released
1551849 #1551849 Get rid of global state 4 Medium Sergio Schvezov  10 Fix Released
1561068 #1561068 cannot use ppa or deb source packages conveniently 4 Medium Sergio Schvezov  10 Fix Released
1564181 #1564181 missing test for the mosquitto example 4 Medium Leo Arias  10 Fix Released
1567041 #1567041 snapcraft init creates icon entry 4 Medium Sergio Schvezov  10 Fix Released
1567058 #1567058 commands are messy with module loading 4 Medium Sergio Schvezov  10 Fix Released
1532515 #1532515 Copy plugin should follow symlinks that point outside of the snap 5 Low Kyle Fazzari  10 Fix Released
1566882 #1566882 vcs tools integration tests should declare their dependencies 5 Low Vincent Ladeuil  10 Fix Released
1477904 #1477904 snapcraft.yaml needs to make all stages dirty (was: the can't add file without recreating entire package) 6 Wishlist Kyle Fazzari  10 Fix Released
1536691 #1536691 Missing option to disable geoip for fetching stage-/build-packages 6 Wishlist Sergio Schvezov  10 Fix Released
1566153 #1566153 Snapcraft should detect .git extension as source_type='git' 6 Wishlist Didier Roche-Tolomelli  10 Fix Released
This milestone contains Public information
Everyone can see this information.