Snapcraft 0.2

Milestone information

Project:
Snapcraft
Series:
trunk
Version:
0.2
Released:
2015-09-23  
Registrant:
Sergio Schvezov
Release registered:
2015-09-24
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 Björn Tillenius, 7 Daniel Holbach, 2 Leo Arias, 1 Michael Vogt, 9 Sergio Schvezov, 2 Zygmunt Krynicki
Blueprints:
No blueprints are targeted to this milestone.
Bugs:
27 Fix Released

Download files for this release

File Description Downloads

Release notes 

Snapcraft 0.2 is now available

Hi all,

Since the announcement we did back in August ( https://insights.ubuntu.com/2015/08/03/java-on-snappy/ ) snapcraft has come a long way and we are happy to announce the availability of our first official checkpoint release snapcraft 0.2: https://launchpad.net/snapcraft/+milestone/0.2

This release introduces quite a few improvements to our snapcraft.yaml, including:

     - support for a more powerful syntax to define and describe your binaries and services
     - the organize keyword that gives you fine grained control about the file tree structure exposed to the staging area and of the produced snap
     - the filesset keyword makes it easier for you select the files from your parts for your final snap
     - the after keyword supports to use parts collaboratively defined by the community on a wiki page (https://wiki.ubuntu.com/Snappy/Parts)
     - stage-packages makes it easier to include content from ubuntu packages in your snap wiithout the need for an Ubuntu plugin
     - a yaml schema that is used to validate the snapcraft.yaml making
     - the ability to define all metadata in snapcraft.yaml, without the need to ship a meta-data/ directory with a package.yaml

Further the plugins shipped saw improvements:
    - pip support now included in python3-project and python2-project plugins
    - no need to specify the module in the plugin definition
    - local plugins can be more conveniently developed and included in your project and don't need to use the x- prefix, they are searched for if no match is found in the main reposiory.

Also, the much requested "snapcraft clean" command got implemented as well as more tests and examples were added alongside a good chunk of bugs that got fixed that are listed on the milestone page linked above.

You will notice that this release introduces many breaking changes we felt were necessary to provide a neater and more solid snapcrafting experience. The improvements in the snapcraft.yaml format mean that projects using the old format need to be updated. The documentation for your first snap has been updated to reflect these changes https://developer.ubuntu.com/snappy/snapcraft/

To consume the latest snapcraft release on ubuntu, we suggest you install snapcraft package from the snappy tools release ppa:

    sudo add-apt-repository ppa:snappy-dev/tools
    sudo apt-get update
    sudo apt-get install snapcraft

If you prefer to keep tracking our daily trunk builds, use our tools-proposed ppa:

    sudo add-apt-repository ppa:snappy-dev/tools-proposed
    sudo apt-get update
    sudo apt-get install snapcraft

If you don't want to consume the examples from the source branch you can also get them from the ppas above:

    sudo apt-get install snapcraft-examples

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

To get the source for this release, you can branch lp:snapcraft/0.2. The trunk is available at lp:snapcraft.

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

To file bugs, please use our launchpad project: https://bugs.launchpad.net/snapcraft.

Happy snapcrafting,

 - Sergio and the team

Changelog 

View the full changelog

     - support for a more powerful syntax to define and describe your binaries and services
     - the organize keyword that gives you fine grained control about the file tree structure exposed to the staging area and of the produced snap
     - the filesset keyword makes it easier for you select the files from your parts for your final snap
     - the after keyword supports to use parts collaboratively defined by the community on a wiki page (https://wiki.ubuntu.com/Snappy/Parts)
     - stage-packages makes it easier to include content from ubuntu packages in your snap wiithout the need for an Ubuntu plugin
     - a yaml schema that is used to validate the snapcraft.yaml making
     - the ability to define all metadata in snapcraft.yaml, without the need to ship a meta-data/ directory with a package.yaml

Further the plugins shipped saw improvements:
    - pip support now included in python3-project and python2-project plugins
    - no need to specify the module in the plugin definition
    - local plugins can be more conveniently developed and included in your project and don't need to use the x- prefix, they are searched for if no match is found in the main reposiory.

Also, the much requested "snapcraft clean" command got implemented as well as more tests and examples were added alongside a good chunk of bugs that got fixed that are listed on the milestone page linked above.

0 blueprints and 27 bugs targeted

Bug report Importance Assignee Status
1498157 #1498157 armhf requires using a different archive host 2 Critical Sergio Schvezov  10 Fix Released
1498212 #1498212 setup.py based projects from remote sources broken 2 Critical Sergio Schvezov  10 Fix Released
1481864 #1481864 Better support python-setuptools 3 High Björn Tillenius  10 Fix Released
1491301 #1491301 qmldemo example doesn't work 3 High   10 Fix Released
1495662 #1495662 Services and binaries allow _ # 3 High Sergio Schvezov  10 Fix Released
1497371 #1497371 snapcraft clean fails on a clean directory 3 High Leo Arias  10 Fix Released
1497453 #1497453 snapcraft fails if it needs to pull a deb that has an uninstallable version on the system 3 High Sergio Schvezov  10 Fix Released
1497582 #1497582 pulling ubuntu packages fails when dependencies on virtual packages exist 3 High   10 Fix Released
1498140 #1498140 snapcraft run should only run from the project directory 3 High Sergio Schvezov  10 Fix Released
1498189 #1498189 Package examples 3 High Daniel Holbach  10 Fix Released
1498333 #1498333 Let apt download all packages in one go 3 High Michael Vogt  10 Fix Released
1498347 #1498347 godd example: error while loading shared libraries: libgudev-1.0.so.0: cannot open shared object file: No such file or directory 3 High Daniel Holbach  10 Fix Released
1477875 #1477875 parsing not robust 4 Medium Sergio Schvezov  10 Fix Released
1481499 #1481499 snapcraft run asks for the sudo password without explaining why 4 Medium Sergio Schvezov  10 Fix Released
1486659 #1486659 snapcraft run uses one ssh key to create the image and another to log in 4 Medium Zygmunt Krynicki  10 Fix Released
1486680 #1486680 snapcraft plugin for python2/3 should fix incorrect shebang on pkg_resources-generated scripts 4 Medium   10 Fix Released
1491303 #1491303 tomcat-maven-webapp example doesn't work 4 Medium Daniel Holbach  10 Fix Released
1494825 #1494825 examples/py2-project fails to build 4 Medium Daniel Holbach  10 Fix Released
1496381 #1496381 wiki.u.c is opened a lot during the build 4 Medium   10 Fix Released
1496789 #1496789 godd example: package gudev-1.0 was not found in the pkg-config search path. 4 Medium Daniel Holbach  10 Fix Released
1497108 #1497108 Long paths are not handled correctly when deleting partition mappings 4 Medium Sergio Schvezov  10 Fix Released
1476452 #1476452 snapcraft is not using the python logger 5 Low Leo Arias  10 Fix Released
1477639 #1477639 snapcraft has many exit points 5 Low Sergio Schvezov  10 Fix Released
1496363 #1496363 snapcraft fails to build because of missing build-dep for tests 5 Low Daniel Holbach  10 Fix Released
1496392 #1496392 Separate tests from build 5 Low Daniel Holbach  10 Fix Released
1484596 #1484596 tests print a lot of warnings when they leave files on the working directory 1 Undecided Zygmunt Krynicki  10 Fix Released
1484720 #1484720 snapcraft run fails with: cannot determine partition label for rootfs 1 Undecided   10 Fix Released
This milestone contains Public information
Everyone can see this information.