[neon/forks/ubuntu-release-upgrader]: Summary of bulk changes made

KDE Git Services - Bulk Change null at kde.org
Fri May 6 10:23:53 BST 2022


Git repository change summary for neon/forks/ubuntu-release-upgrader
Pushed by jriddell into branch 'Neon/unstable_focal'.
Changed from f872cc56e3f407adc22e746105aa89a6963f34ca to 058a4c2568ce30b2d974eb942ae27e444e0e5c56
Acknowledgement was received that this change introduces only existing code that has been pushed to another public open source repository.

This change contains the following new commits:

Git commit 7a8a075ab4e3268fc6ddaa29ab979a9bede12dc6 by Nick Rosbrook on 14/04/2022 at 17:20..
do-release-upgrade: preserve env vars needed for screen lock prevention

The screen lock prevention code relies on environment variables such as
DBUS_SESSION_BUS_ADDRESS being preserved, since the
org.freedesktop.ScreenSaver DBus interface is needed. This works in
cases where the dist-upgrade script is invoked with 'sudo -E' (e.g.
DistUpgradeViewText frontend). However, when pkexec is used (e.g.
DistUpgradeViewGtk3 frontend) the environment variables cannot be
preserved as per pkexec's design.

Add an --env flag to do-release-upgrade that accepts a comma-separated
list of environment variables (e.g. VAR1=VALUE1,VAR2=VALUE2) which should be set when
executing the dist-upgrade script. This approach is similar to the
existing workaround for RELEASE_UPGRADER_ALLOW_THIRD_PARTY, but is
generalized to allow any environment variables to be set.

Finally, when the DistUpgradeViewGtk3 or DistUpgradeViewKDE frontends
are used, and the do-release-upgrade script is re-exec'd with pkexec,
set the DBUS_SESSION_BUS_ADDRESS and XDG_SESSION_TYPE variables with
--env so that the screen lock prevention code works with these
frontends.

LP: #1968607
https://invent.kde.org/neon/forks/ubuntu-release-upgrader/commit/7a8a075ab4e3268fc6ddaa29ab979a9bede12dc6

Git commit edf0082a797bb16b035327f1d5f983bc15169525 by Nick Rosbrook on 14/04/2022 at 17:20..
Run pre-build.sh: updating translations.
https://invent.kde.org/neon/forks/ubuntu-release-upgrader/commit/edf0082a797bb16b035327f1d5f983bc15169525

Git commit dc977e40a27d96779ad915e0982c1cb08f1a09c9 by Nick Rosbrook on 14/04/2022 at 17:21..
releasing package ubuntu-release-upgrader version 1:20.04.38
https://invent.kde.org/neon/forks/ubuntu-release-upgrader/commit/dc977e40a27d96779ad915e0982c1cb08f1a09c9

Git commit 2b01b00d7695fde654b1d1d8c71223dfe05cbd14 by Nick Rosbrook on 18/04/2022 at 14:11..
data: manually update mirrors.cfg

The age check in pre-build.sh prevented this from happening in the
previous run.
https://invent.kde.org/neon/forks/ubuntu-release-upgrader/commit/2b01b00d7695fde654b1d1d8c71223dfe05cbd14

Git commit 058a4c2568ce30b2d974eb942ae27e444e0e5c56 by Jonathan Esk-Riddell on 06/05/2022 at 09:23..
Merge remote-tracking branch 'lp/ubuntu/focal' into Neon/unstable_focal
https://invent.kde.org/neon/forks/ubuntu-release-upgrader/commit/058a4c2568ce30b2d974eb942ae27e444e0e5c56


More information about the Neon-commits mailing list