Snapcraft 2.0

Milestone information

Project:
Snapcraft
Series:
trunk
Version:
2.0
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 Jonathan Cave, 9 Kyle Fazzari, 5 Leo Arias, 1 Renat, 12 Sergio Schvezov
Blueprints:
No blueprints are targeted to this milestone.
Bugs:
29 Fix Released

Download files for this release

After you've downloaded a file, you can verify its authenticity using its MD5 sum or signature. (How do I verify a download?)

File Description Downloads
download icon snapcraft_2.0.tar.xz (md5, sig) 2.0 Release 51
last downloaded 37 weeks ago
Total downloads: 51

Release notes 

Hi all,

We are happy to announce this release new version (2.0) of snapcraft: https://launchpad.net/snapcraft/+milestone/2.0

2.0 marks a new beginning for snapcraft, targeting only Xenial Xerus (16.04) aligned with all the changes 16.04 is bringing to the table. The changelog for this release is quite big, so I invite you to directly check it out in the milestone link, in summary though there have been:

- snapcraft lifecycle changes.
- meta data changes to have a natural feel with snap.yaml and the new language being put in place for 16.04.
- a fancier command line interface.
- squashfs based snaps, which inherently only work on 16.04

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

    sudo apt update
    sudo apt install snapcraft

If you don't want to consume 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. There are some new examples included in this release as well.

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

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

[ Daniel Holbach ]
* Add document detailing the snapcraft.yaml syntax.
* Add missing periods and fixed typos on the docs.
* Remove vendor for 'master'.
* Add document about parts.
* Add link to config docs.

[ Sergio Schvezov ]
* Removing the `run` command.
* Update the release for the tomcat example snap.
* Wrapping exe should not remove the path. (LP: #1523912)
* cli: Move to docopt, help cmd migrated.
* cli: list-plugins cmd migrated to docopts.
* cli: clean cmd migrated to docopts.
* cli: init cmd migrated to docopts.
* cli: pull command migrated to docopts.
* clean cmd: migrate to use new lifecycle attribs.
* Removing dead test code.
* cli: build command migrated to docopts.
* cli: stage command migrated to docopts.
* Remove dead code from lifecycle.
* cli: strip command migrated to docopts.
* Obsolete deprecations from 1.x.
* Removing the 'vendor' keyword. (LP: #1510522)
* Making the icon optional.
* cli: snap command migrated to docopts.
* Enabling testing with new cli.
* Fix ordering for conditional negations in catkin tests.
* Replace use of `assert_not_called` in the catkin tests.
* General documentation update.
* Add licensing support. (LP: #1527453)
* snap.yaml implementation with support for readme.md and package.yaml.
  (LP: #1532842)
* Documentation refresh. (LP: #1533021)
* Support the new security-override semantics. (LP: #1533293)
* Remove ssh module from snapcraft. (LP: #1533400)
* Fix environment variable handling. (LP: #1531481)
* Wrap apps with the app name. (LP: #1534150)
* Replace SNAP envvars with the 16.04 ones. (LP: #1533552)
* Add bin paths to the to the shebang replace paths in repo (LP: #1534812)
* Initialize CMAKE_PREFIX_PATH to [] for ros (LP: #1535309)

[ Leo Arias ]
* Added a test to check that the snapcraft files are not copied to the build dir.
* On autopkgtests, run the integration tests, build the examples but do not
  install them, do not run the unittests.
* Translated the plainbox tests to python.
* Workaround the failure of the binaries in trusty.
* Updated the runtests script error message.
* Updated the autopkg integration tests.
* Handle the filter parameter for examples tests. (LP: #1533393)
* Split the static and unit tests. (LP: #1533397)
* Added the option to output subunit results in examples tests. (LP: #1533403)
* Updated the tomcat example network capability. (LP: #1533736)
* Added the network-listener capability. (LP: #1534784)
* Add a security-override for chown.

[ Kyle Fazzari ]
* Catkin plugin: Add support for ROS tools.
* Add contribution guide.
* Resolve FIXME in Catkin plugin.
* Add a tutorial for turning a ROS project into a .snap.
* Catkin plugin: use rosdep for dependency resolution.
* Python{2,3} plugins: Make site-packages link relative. (LP: #1523384)
* Catkin plugin: Refactor build.
* ROS documentation: Fix missing step to make script executable.
* Catkin plugin: Improve cmake path rewrite.
* Add support for mesa libraries. (LP: #1531620)
* Autotools plugin: Set autogen.sh executable. (LP: #1530995)
* Update CONTRIBUTING.md to require a bug. (LP: #1532195)
* Ensure rosdep resolves dependencies using Trusty. (LP: #1532241)
* Catkin plugin: Use in-snap python instead of OS-provided. (LP: #1533297)
* Always migrate files, even if they already exist. (LP: #1534800)

[ Alexander Sack ]
* Use archive.apache.org URL to ensure we refer to a stable URL that does
   not disappear on latest release.

[ Jonathan Cave ]
* Go plugin creating invalid env. (LP: #1524374)

[ Renat Galimov ]
* Close not called on the qml plugin. (LP: #1531994)

[ Vamshi Balanaga ]
* Added test for git sources in sources.py (LP: #1534411)

0 blueprints and 29 bugs targeted

Bug report Importance Assignee Status
1523912 #1523912 Shebang write uses overly broad regex 2 Critical Sergio Schvezov  10 Fix Released
1534150 #1534150 _wrap_exec should this the app name as the basename for the wrapper 2 Critical Sergio Schvezov  10 Fix Released
1535309 #1535309 ros setup files lead to confined paths 2 Critical Sergio Schvezov  10 Fix Released
1511440 #1511440 python based package created using snapcraft fails review checks due to external symlink 3 High Kyle Fazzari  10 Fix Released
1523384 #1523384 broken symlinks when snapping a python project using requirements.txt 3 High Kyle Fazzari  10 Fix Released
1524374 #1524374 Snap fails to build with "Bad Variable Name" 3 High Jonathan Cave  10 Fix Released
1531481 #1531481 snapcraft should setup search paths/flags for parts built after parts 3 High Sergio Schvezov  10 Fix Released
1531994 #1531994 QML plugin doesn't close snappy-qt5.conf 3 High Renat  10 Fix Released
1532241 #1532241 Catkin plugin: Unable to determine dependencies for Indigo for any release past Trusty 3 High Kyle Fazzari  10 Fix Released
1532842 #1532842 New packaging format for 16.04 3 High Sergio Schvezov  10 Fix Released
1533297 #1533297 ROS .snaps don't run on rolling edge 3 High Kyle Fazzari  10 Fix Released
1533393 #1533393 Examples tests are not receiving the filter parameter 3 High Leo Arias  10 Fix Released
1533736 #1533736 tomcat-maven-webapp example fails to install in rolling 3 High Leo Arias  10 Fix Released
1534784 #1534784 examples are missing the network-listener capability 3 High Leo Arias  10 Fix Released
1534800 #1534800 Files customized in .snap build process is clobbered if stage-package contains same file 3 High Kyle Fazzari  10 Fix Released
1534812 #1534812 python shebang is hardcoded in ros debs 3 High   10 Fix Released
1527270 #1527270 Create an integration test confirming the lack of broken symlinks in a Python2/3 project 4 Medium Kyle Fazzari  10 Fix Released
1530995 #1530995 Snapcraft requires autogen.sh to be executable 4 Medium Kyle Fazzari  10 Fix Released
1532195 #1532195 CONTRIBUTING.md should reflect that making a bug is the first step 4 Medium Kyle Fazzari  10 Fix Released
1533403 #1533403 There is no way for jenkins to collect the examples results 4 Medium Leo Arias  10 Fix Released
1523372 #1523372 Can't specify environment variable in a service start command 5 Low Sergio Schvezov  10 Fix Released
1533397 #1533397 The static tests are run as part of the unit tests 5 Low Leo Arias  10 Fix Released
1533400 #1533400 The ssh module should not be exported in snapcraft 5 Low Sergio Schvezov  10 Fix Released
1510522 #1510522 Remove vendor from meta 6 Wishlist Sergio Schvezov  10 Fix Released
1527453 #1527453 license text is not prompted during the snappy installation 6 Wishlist Sergio Schvezov  10 Fix Released
1531620 #1531620 Snapcraft should expand its default LD_LIBRARY_PATH to include libGL 6 Wishlist Kyle Fazzari  10 Fix Released
1533021 #1533021 Documentation refresh for 2.0 features 6 Wishlist Sergio Schvezov  10 Fix Released
1533293 #1533293 security-override in snapcraft needs to support 16.04 changes 6 Wishlist Sergio Schvezov  10 Fix Released
1533552 #1533552 Please update snapcraft for new environment variables 6 Wishlist Sergio Schvezov  10 Fix Released
This milestone contains Public information
Everyone can see this information.