Snapcraft 0.5

Milestone information

Project:
Snapcraft
Series:
trunk
Version:
0.5
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:
2 Björn Tillenius, 1 Jonathan Cave, 2 Leo Arias, 8 Sergio Schvezov, 3 Ted Gould
Blueprints:
No blueprints are targeted to this milestone.
Bugs:
17 Fix Released

Download files for this release

File Description Downloads

Release notes 

Snapcraft 0.5 is now available
Hi all,

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

This release introduces quite a few bug fixes and some nice little things:

    - npm/nodejs plugin, look at the examples, the shout irc example is also on the store to consume.
    - nil plugin, externally contributed.
    - Better handling of shebangs for binaries and services.
    - No longer install recommends for packages.
    - snapcraft clean for individual parts.
    - A source-subdir keyword for parts.
    - Improvements to the go plugin, such as building locally and a go-packages keyword is introduced to have a
      similar experience as other plugins.
    - A pip-packages keyword for the python plugins to avoid the need to write a requirements.txt
    - Fixes for the copy plugin to support globs and better test coverage.
    - Minor fixes to the catkin plugin to better deal with errors.

This release has many other bug fixes and improvements, these same release notes and the full changelog can be seen in the aforementioned link.

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 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/doc/snapcraft-examples/examples

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

A great place to collaborate and discuss features, bugs and ideas on snapcraft is snappy-app-devel mailing list (https://lists.ubuntu.com/mailman/listinfo/snappy-app-devel) or directly in the #snappy channel on irc.freenode.net.

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

The team hopes to see you in the next snapcraft related snappy clinic where we will be going over most of these new additions.

A special thanks to those outside the team who spent some time with the project in order to contribute for this milestone:
 - Sujeevan Vijayakumaran
 - Bjorn Tillenius
 - Paul Larson
 - Jonathan Cave
 - Daniel Holbach

Happy snapcrafting,
 - Sergio and the team

Changelog 

View the full changelog

  [ Sujeevan Vijayakumaran ]
  * Added 'git@' to the automatic identification of the source.
  * Updated HACKING: replaced Launchpad with GitHub.

  [ Bjorn Tillenius ]
  * Rewrite the shebang and execute it in the wrapper script.
    (Fixes LP: #1507357 and LP: #1516404)

  [ Leo Arias ]
  * Replaced the usage of % with .format. (LP: #1477638)
  * Fixed the id of the circle tests.
  * Replaced the double quotes by single quotes on strings. (LP: #1476467)
  * Added the instructions to run the tests in travis.
  * Split the suite in two: unit and plainbox.

  [ Sergio Schvezov ]
  * Don't wrap the vcs commands in the env.
  * Making source management common to all types.
  * Updating setup.py's metadata.
  * Do not install recommends for build or stage pkgs. (LP: #1500375)
  * Silence the init unit test and verify stdout.
  * Making the examples individual tests.
  * Inherit directly from the BasePlugin for autotools.
  * Clean for parts and remove dup from lifecycle and plugin.
  * Validate that 'plugins' is not used as a part name.
  * Support the source-subdir keyword for parts.
  * Adding a ticker to `snappy build`. (LP: #1502410)
  * Exiting with error when a plugin cannot be loaded.
  * catkin plugin: Get deps from the part's sourcedir, fail if needed.
  * go plugin:
    - Use CGO_LDFLAGS when building. (LP: #1513935)
    - Support local sources. (LP: #1515132, LP: #1516228 and LP: #1499240)
    - Implement a go-packages plugin property
  * nodejs plugin:
    - Initial implementation. (LP: #1518403)
    - Support node-packages.
  * copy plugin: Support globs. (LP: #1478054)
  * catkin plugin:
    - Typo s/packages.xml/package.xml/
    - Catch the correct exception for missing catkin pkg

  [ Ted Gould ]
  * Adding a simple tree test to look at the dependency resolution
  * Add schema for the core properties of the system that are independent of a part
  * copy-plugin: test for directories. (LP: #1478052)
  * python plugins:
    - Support pip-packages. (LP: #1502132)
    - fix conflicts with pyc files. (LP: #1502105)

  [ Paul Larson ]
  * Don't throw exception on snapcraft run exit status. (LP: #1499242)
  * Minor fixes to setup.py

  [ Jonathan Cave ]
  * Add nil plugin. (LP: #1518404)

0 blueprints and 17 bugs targeted

Bug report Importance Assignee Status
1502410 #1502410 No visual indication that snappy build is running 2 Critical Sergio Schvezov  10 Fix Released
1502105 #1502105 when two python3 parts are used the pycs give a conflict 3 High Ted Gould  10 Fix Released
1507357 #1507357 Fail to build snap python3 distutils project 3 High Björn Tillenius  10 Fix Released
1513935 #1513935 when the host doesn't have installed a library needed by a go snap, the build fails 3 High Sergio Schvezov  10 Fix Released
1515132 #1515132 Snapcraft crashes after defining a local source for a golang project 3 High Sergio Schvezov  10 Fix Released
1516404 #1516404 Python scripts can't be used as a 'binary' 3 High Björn Tillenius  10 Fix Released
1478052 #1478052 copy plugin doesn't handle directories 4 Medium Ted Gould  10 Fix Released
1499240 #1499240 User friendly error missing when using go's source entry incorrectly 4 Medium Sergio Schvezov  10 Fix Released
1499242 #1499242 subprocess.CalledProcessError: Command '['ssh', '-i', '/home/daniel/.ssh/ubuntudevice_0149BDCB0C009017_id_rsa', '-oStrictHostKeyChecking=no', '-oUserKnownHostsFile=/tmp/tmpcaocvoj7', '-oKbdInteractiveAuthentication=no', '-p', '8022', 'ubuntu@localhost']' returned non-zero exit status 1 4 Medium   10 Fix Released
1500375 #1500375 inconsistent build results due to wrong usage of recommends 4 Medium Sergio Schvezov  10 Fix Released
1516228 #1516228 missing " git://" in the source crashes the snapcraft 4 Medium Sergio Schvezov  10 Fix Released
1476467 #1476467 snapcraft is mixing the string literals, some with ' and some with " 5 Low Leo Arias  10 Fix Released
1477638 #1477638 snapcraft uses % to format strings 5 Low Leo Arias  10 Fix Released
1478054 #1478054 copy plugin doesn't support globs 5 Low Sergio Schvezov  10 Fix Released
1502132 #1502132 Allow passing multiple requirements in the python plugin via a list in the snapcraft.yaml 6 Wishlist Ted Gould  10 Fix Released
1518403 #1518403 nodejs plugin 6 Wishlist Sergio Schvezov  10 Fix Released
1518404 #1518404 Add a nil plugin 6 Wishlist Jonathan Cave  10 Fix Released
This milestone contains Public information
Everyone can see this information.