3–5 Nov 2023
Riga, Latvia
Europe/Riga timezone

Improving Snap maintenance: Automating Snap updates on new upstream releases of the app

4 Nov 2023, 12:00
1h
Beta 2 – Workshops (Radisson Blu Latvija)

Beta 2 – Workshops

Radisson Blu Latvija

1
Workshop (1 Hour) Linux Desktop

Speakers

Jesus Soto
Canonical
Till Kamppeter
OpenPrinting/Canonical

Description

In this workshop, Till and Jesús from Canonical's Desktop Team will show how anyone can utilize the GitHub automation put in place to keep their Snaps up to date! This project is easy to implement and scales nicely, allowing Snap maintainers to do more with their time.

We will showcase our custom GitHub action, and how workflows can use it, using a simple example Snap and also gnome-calculator as real-world example. Once run, the Snap will automatically have bumped source tags for each part for which a new upstream release got issued, gets committed, and pushed to the main branch. We will also show how to get the Snap rebuilt and uploaded to the Snap Store with each push to the repo.

Attendees are expected to bring a laptop for doing the exercises, cloning our example repos and deploying Snap update automation on them, or having an own GitHub repo in mind where they would like to add the described automation. Being able to use GIT and GitHub, both via command line and via web browser and also to access Launchpad is all what you need to be able to do with your laptop. Actually running snapcraft to build the Snap is not required.

Basic knowledge in Snap packaging and GIT is required.

Before attending the workshop, please download the slides for this workshop via the link below and follow the instructions in the "Setup" section near the beginning. Also have the slides handy during the workshop to copy and paste examples and commands.

Session author's bio

Till is leader of OpenPrinting since it was founded in 2001, introduced the CUPS printing system in Mandrake Linux in 2000 working at MandrakeSoft and with this and a lot of evangelism (booths, talks, workshops) made the other distros also switch to CUPS, since 2006 printing maintainer at Canonical, co-organizing annual meetings with the Printer Working Group (PWG), since 2008 every year mentoring in Google Summer of Code, doing everything to make printing on Linux and alike operating systems "just work". Due to the fact that printing goes through several daemons (CUPS, Printer Applications) got a daemon snapper and Snap enthusiast and evangelist. Till is also one of the 8 fellows of the Linux Foundation.

Jesús is a Software Engineer working for Canonical in the
Desktop team, Gaming experience squad. His main experience is packaging and maintaining Snaps.

Level of Difficulty Intermediate
Social Media Till (Mastodon): @till@ubuntu.social, Jesús: @jssotomdz

Presentation materials