Snapcraft 2.1

Milestone information

Sergio Schvezov
Release registered:
No. Drivers cannot target bugs and blueprints to this milestone.  

Download RDF metadata


Assigned to you:
No blueprints or bugs assigned to you.
1 Alexander Sack, 5 Daniel Holbach, 3 Kyle Fazzari, 7 Leo Arias, 2 Ricardo Kirkner, 6 Sergio Schvezov
No blueprints are targeted to this milestone.
24 Fix Released

Download files for this release

File Description Downloads

Release notes 

Hi all,

We are pleased to announce this release new version (2.1) of snapcraft:

2.1 is a risky and ground breaking release as it introduces the skills concept, particularly the migration-skill. All the examples and relevant documentation has been updated, given the constant movement in this rolling release, we expect some things to require some polishing either on the snapcraft or Ubuntu Core side.

Additionally, you can now directly upload your snap using snapcraft (given you have authenticated), check out for detailed instructions. Speaking of which, there has been many documentation updates, they should be making their way to any time now.

Another interesting change is that we removed many base dependencies from snapcraft so not everyone needs to go through the burden of installing so many dependencies when not needed (e.g.; mercurial when only working with git, gcc when only working with pure java). Some build-packages will need polish.

There have been many bug fixes as well, for details we invite you to check the milestone on launchpad.

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

Las but not least, while 2.1 is out, we are already working on 2.2

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

To file bugs, please go to

Happy snapcrafting,
 - Sergio and the team


View the full changelog

  [ Leo Arias ]
  * Run the tests in a xenial LXC. (LP: #1532213)
  * Added a mosquitto example. (LP: #1537778)
  * Refactored the local source pull. (LP: #1538250)
  * Full coverage of with unit tests. (LP: #1538260)
  * Do not report coverage for static and examples tests. (LP: #1538643)
  * Add tests errors as details. (LP: #1538354)
  * Fix the examples tests using testtools as the base. (LP: #1539196)
  * Use the git http protocol in the examples tests. (LP: #1539139)

  [ Daniel Holbach ]
  * Make sure that version is set correctly no matter what (version for
    2.0.1 release was '2.0') (LP: #1537580)
  * Add document about how to specify app metadata (commands, daemons,
    config). (LP: #1535905)
  * Add document about debugging snaps. (LP: #1538016)
  * Try to capture what the articles are about in a more concise and
    clearer way. (LP: #1539502)
  * Add more links between the individual articles. (LP: #1539540)

  [ Reto Breitenmoser ]
  * tar-content plugin: Add capability to unpack into a specific
    destination directory (LP: #1478055)

  [ Kyle Fazzari ]
  * Make plugin: Support non-standard makefile name. (LP: #1500759)
  * Add documentation for how to use snapcraft upload. (LP: #1539234)
  * Upload: Clean up output. (LP: #1538692, #1539814)

  [ Alexander Sack ]
  * Fix FD leakage by closing apt cache in (LP: #1537705)

  [ Ricardo Kirkner ]
  * Added support for uploading snap packages directly to the Ubuntu
    Store. (LP: #1538657)
  * Make sure otp is included in the login request only if it's not
    empty (LP: #1539208)

  [ Sergio Schvezov ]
  * Support $SNAPCRAFT_STAGE for parts (LP: #1538688)
  * debian/control: add python3-responses (LP: #1539199)
  * Use the log fixture for logging by default for ut (LP: #1539817)
  * Make package installation dynamic to reduce deps (LP: #1539146)
  * Remove legacy formatting and implement skills (LP: #1539122)

0 blueprints and 24 bugs targeted

Bug report Importance Assignee Status
1539122 #1539122 Skills and specifically the migration-skill needs to be supported in snapcraft 2 Critical Sergio Schvezov  10 Fix Released
1539196 #1539196 AttributeError: 'TestSnapcraftExamples' object has no attribute 'addDetail' 2 Critical Leo Arias  10 Fix Released
1537705 #1537705 too many open files when using a heap of parts of plugin autotools 3 High Alexander Sack  10 Fix Released
1538692 #1538692 Clean up messages for uploads 3 High Kyle Fazzari  10 Fix Released
1539139 #1539139 example autopkgtests fail with fatal: unable to connect to 3 High Leo Arias  10 Fix Released
1539199 #1539199 Missing Build-Dependecy in debian/control: python3-responses 3 High Sergio Schvezov  10 Fix Released
1539208 #1539208 snapcraft login fails if account does not require two factor authentication 3 High Ricardo Kirkner  10 Fix Released
1539234 #1539234 Documentation is lacking an example of how to use snapcraft upload. 3 High Kyle Fazzari  10 Fix Released
1500759 #1500759 Add support for overriding the Makefile location in makefile part type 4 Medium Kyle Fazzari  10 Fix Released
1538354 #1538354 Poor information on tests errors 4 Medium Leo Arias  10 Fix Released
1539146 #1539146 snapcraft dependencies are too big 4 Medium Sergio Schvezov  10 Fix Released
1539814 #1539814 Upload not closing resource correctly 4 Medium Sergio Schvezov  10 Fix Released
1537580 #1537580 Update version in 5 Low Daniel Holbach  10 Fix Released
1537778 #1537778 Add a mosquitto example 5 Low Leo Arias  10 Fix Released
1538250 #1538250 The local source pull is not fully covered by unittests 5 Low Leo Arias  10 Fix Released
1538260 #1538260 The file is not fully covered by unit tests 5 Low Leo Arias  10 Fix Released
1538643 #1538643 Examples tests are generating an empty coverage file 5 Low Leo Arias  10 Fix Released
1539502 #1539502 Shorten Snapcraft article titles 5 Low Daniel Holbach  10 Fix Released
1539540 #1539540 Add links between articles 5 Low Daniel Holbach  10 Fix Released
1539817 #1539817 Unit tests are leaking messages 5 Low Sergio Schvezov  10 Fix Released
1535905 #1535905 Add quick document about how to add metadata (services, config, binaries) 6 Wishlist Daniel Holbach  10 Fix Released
1538016 #1538016 Integrate debug information from app dev manual. 6 Wishlist Daniel Holbach  10 Fix Released
1538657 #1538657 Support uploading snaps to the store 6 Wishlist Ricardo Kirkner  10 Fix Released
1538688 #1538688 Support referencing the stage dir from snapcraft.yaml 6 Wishlist Sergio Schvezov  10 Fix Released
This milestone contains Public information
Everyone can see this information.