~enr0n/ubuntu-release-upgrader:lp2015087

Last commit made on 2023-04-03
Get this branch:
git clone -b lp2015087 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:
lp2015087
Repository:
lp:~enr0n/ubuntu-release-upgrader

Recent commits

06bf6cf... by Nick Rosbrook

Release ubuntu-release-upgrader 1:23.04.3

d7cb9c0... by Nick Rosbrook

Update changelog

75f5b4b... by Nick Rosbrook

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

64afe80... by Nick Rosbrook

DistUpgrade: dynamically get new version string for UI labels

Both the Gtk3 and KDE frontends use string literals for the version of
Ubuntu we are upgrading to, which means they need to be manually updated
for each release.

Instead, get the codename from our DistUpgrade.cfg and map that to the
correct version string using distro_info.

LP: #2015087

1f34256... by Nick Rosbrook

Release ubuntu-release-upgrader 1:23.04.2

8ca2ba6... by Nick Rosbrook

Update changelog

28fc9a0... by Nick Rosbrook

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

d18c6a0... by Rudra Saraswat

add ubuntu-unity to DistUpgrade.cfg

LP: #2003014

711f825... by Nick Rosbrook

setup.py: make version string PEP-440 compliant

Building in lunar-proposed gives the following warning:

  UserWarning: The version specified ('1:23.04.2') is an invalid version [...]

and then an error:

  pkg_resources.extern.packaging.version.InvalidVersion: Invalid version: '1-23.04.2'

PEP 440 uses '!' as the epoch separator, so just replace ':' with '!' in
our version string in setup.py.

fc67d3a... by Nick Rosbrook

DistUpgradeQuirks: add quirk to prevent flatpak auto-removal if needed

Some Ubuntu flavors are un-seeding flatpak, which may cause the package
to be marked for auto-removal on upgrade. If a user actively uses
flatpak, we want to prevent this.

Add a quirk to check if there are any flatpak remotes configured, or
apps installed, and then mark the package as manually installed if so.
This will prevent the package, and possibly some related integration
packages, from being auto-removed.