snapcraft 2.37 has been released
Hello snapcrafters! The snapcraft team is pleased to announce that version 2.37 has been released.
Contributions
This release saw some excellent contributions from outside the snapcraft core team, and we want to give a shout out to those folks. A team thank you to:
The last three contributors have done so as part of Google's CodeIn initiative.
New in this release
CLI
help command
As a user experience improvement, the snapcraft help
command now produces the
same output as when running snapcraft --help
. Viewing help information
related to plugins and other topics previously supported by snapcraft help
is
still supported.
export-login command
Until now, the only support Snapcraft had baked in for CI systems was the enable-ci
command, which only supported Travis, and only supported pushing a given snap to edge. This release sees the addition of a new export-login
command that exports a login with the exact capabilities requested, which opens the door to many more possibilities in CI. Want to create a login that can only push a specific snap to edge? No problem. Want to create a login that can only migrate a specific snap from edge to beta? No problem. Here's how it works:
Error messages
Another improvement that was developed together with the design team is that now
most (if not all) errors have a very well defined semantic explaining first
what went wrong followed by a suggestion on how to fix it.
Store
The API to synchronize changes made to the metadata in the snap related to the
presentation layer of the store has been extended to support binary assets. So
far, icons are the only entry supported. Once a definition is made on other
potential assets such as screenshots are made, support for them will be added
as well.
To synchronize the data to the store, you need to run the command that was
introduced in version 2.34 of snapcraft:
snapcraft push-metadata
Plugins
catkin-tools
This release sees the addition of the catkin-tools
plugin. This plugin works similarly to the Catkin plugin, but instead of using Catkin, uses the newer (and faster) Catkin Tools. Catkin Tools is still under beta, as is this plugin, but please give it some mileage!
Final notes
To get the source for this release, check it out on github.
A great place to collaborate and discuss features, bugs and ideas on snapcraft are the forums. Please also feel free to file a bug.
Happy snapcrafting!
-- Sergio and the team