~enr0n/ubuntu-release-upgrader:jammy-srus

Last commit made on 2022-05-26
Get this branch:
git clone -b jammy-srus https://git.launchpad.net/~enr0n/ubuntu-release-upgrader
Only Nick Rosbrook can upload to this branch. If you are Nick Rosbrook please log in for upload directions.

Branch merges

Branch information

Name:
jammy-srus
Repository:
lp:~enr0n/ubuntu-release-upgrader

Recent commits

6569083... by Nick Rosbrook

releasing package ubuntu-release-upgrader version 1:22.04.11

d64f6f4... by Nick Rosbrook

Run pre-build.sh: updating mirrors, demotions, and translations.

33d381c... by Nick Rosbrook

DistUpgrade: add deb2snap entry for snapd-desktop-integration

LP: #1975747

003221b... by Nick Rosbrook

DistUpgrade: do not show lock screen error if XDG_SESSION_TYPE is tty

The lock screen inhibit code is expected to fail on e.g. server because
the DBus service will not exist. The existing check for empty
XDG_SESSION_TYPE is not sufficient, because this variable is set to
'tty' on server.

Fix the condition so that the error message is not shown if
XDG_SESSION_TYPE is empty, or is set to 'tty'.

LP: #1973785

318a976... by Nick Rosbrook

DistUpgrade: gracefully handle missing dbus module

Commit ef1158e4 ("DistUpgrade: use org.freedesktop.ScreenSaver to inhibit screen lock")
added a dependency on python3-dbus, but this added dependency was not
SRU'd to any stable releases. In most cases this is not an issue because
python3-dbus is seeded, but there is no guarantee that the package will
be present on the system.

Move the `import dbus` statement to the try block in _inhibitIdle(), and
handle any ImportErrors the same way as dbus exceptions, i.e. log the
exception and inform the user that they should manually disable their
screensaver. Note that we catch Exception rather than ImportError and
dbus.exceptions.DBusException explicitly because the latter will not be
defined if an ImportError occurs.

LP: #1965568

9d7c083... by Nick Rosbrook

add python3-yaml test dependency

466e383... by William Wilson

Add python3-yaml as a dependency

d05ee6b... by William Wilson

remove broken match section from default raspi netplan config on upgrades to jammy

dd5d72d... by Nick Rosbrook

releasing package ubuntu-release-upgrader version 1:22.04.10

ef52420... by Nick Rosbrook

Run pre-build.sh: updating mirrors, demotions, and translations.