The team behind Snapcraft is pleased to announce the release of Snapcraft 4.3.
Highlights for this release include:
- a new ROS 1 extension for
- new v2 versions of the catkin and catkin-tools plugins
- the ability to set a default track for a snap
- a new
--enable-experimental-extensionsoption for expand-extensions
ROS 1 Extension
The new ROS 1 extension allows you to target
core20 with ROS 1 Noetic Ninjemys, the latest (and last) ROS 1 LTS that runs on Ubuntu 20.04 LTS (Focal Fossa).
You can now build a ROS 1 application with a
snapcraft.yaml as simple as:
name: catkin-noetic-hello version: "1.0" summary: hello world description: | A ROS 1 roscpp-based workspace. grade: stable confinement: strict base: core20 apps: catkin-noetic-hello: command: opt/ros/noetic/lib/snapcraft_hello/snapcraft_hello plugs: [network, network-bind] extensions: [ros1-noetic] parts: hello: plugin: catkin source: . build-packages: [g++, make]
Set the default Channel Track
It is now possible to set a default track for your snap:
$ snapcraft set-default-track <snap-name> 17 Default track for '<snap-name>' set to '17'
This features complements the ability to list channel tracks, which as added in Snapcraft 4.2.
New v2 plugins
- client side check for setting default tracks @sergiusens (#3278)
--enable-experimental-extensionsoption for expand-extensions @cjp256 (#3266)
- spread tests: remove references of core16 @cjp256 (#3269)
- cli: ignore sudo warning when using multipass @sergiusens (#3275)
- schema: rename package-repository’s “deb-types” to “format” @cjp256 (#3274)
- spread tests: lock down setuptools for plainbox @sergiusens (#3273)
- build providers: hide systemd setup for LXD @sergiusens (#3281)
- Set VDPAU_DRIVER_PATH appropriately @flexiondotorg (#3279)
- storeapi: improve to channel map docstrings @sergiusens (#3272)
- colcon v2 plugin: honour http(s) proxy for stage-runtime-dependencies @cjp256 (#3265)