github canonical/snapcraft 4.3

latest releases: 8.4.4, 7.5.8, 8.4.3...
4 years ago

Special thanks to the contributors that made this release happen: @cjp256, @flexiondotorg, @kyrofa and @sergiusens

New Features

ROS 1 Extension together with a v2 catking and catkin-tools plugin for core20

This allows you to target ROS 1 Noetic Ninjemys which is the latest (and last)
ROS 1 LTS that runs on Ubuntu 20.04 (Focal Fossa).

This feature allows building ROS 1 applications 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]

The experience should be pretty similar to the newly introduced ROS 2 extension and colcon plugin
in Snapcraft 4.2.

Source is assumed to be local and a valid catkin project

Set the default Channel Track from the Snapcraft

Building on the feature set from Snapcraft 4.2
where track listing was introduced, it is now possible to set default tracks and it is as simple as running:

$ snapcraft set-default-track node 17
Default track for 'node' set to '17'.

Other improvements

  • build providers: use the releases endpoint for LXD @sergiusens (#3271)
  • cli: add --enable-experimental-extensions option for expand-extensions @cjp256 (#3266)

Bug Fixes

Specifications and Documentation

Don't miss a new snapcraft release

NewReleases is sending notifications on new releases.