~enr0n/ubuntu-release-upgrader:lp.1991096

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

Recent commits

7c76ad3... by Nick Rosbrook

Release ubuntu-release-upgrader 1:22.10.8

044f144... by Nick Rosbrook

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

5d309d9... by Nick Rosbrook

DistUpgrade: remove firefox from deb2snap.json

The firefox deb has its own logic for transitioning users to the firefox
snap, and we should not interfere with it.

LP: #1964036

a558d59... by Nick Rosbrook

DistUpgrade: just pass filename to apport report

When building the apport report in DistUpgradeApport.py, we open the
files before attaching to the report, rather than just passing the
filename (both options are supported by apport). However, we do not
open the file in binary mode which results in UnicodeDecodeError
exceptions:

 Traceback (most recent call last):
   File "/usr/lib/python3/dist-packages/problem_report.py", line 477, in add_to_existing
     self.write(f)
   File "/usr/lib/python3/dist-packages/problem_report.py", line 430, in write
     block = f.read(1048576)
   File "/usr/lib/python3.8/codecs.py", line 322, in decode
     (result, consumed) = self._buffer_decode(data, self.errors, final)
 UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte

Simplify this code by passing the path to apport, and let that code open
the file as it needs.

LP: #1985964

a905e67... by Nick Rosbrook

DistUpgrade: cast to int when calling QProgressBar.setValue()

The QProgessBar used in the KDE frontend expects an int argument when
calling setValue(). Currently, there are several locations where a float
is passed which raises a TypeError. Fix this by casting to int when
calling QProgressBar.setValue().

LP: #1991096

4f9a467... by Brian Murray

Remove some additional meta-pkg cruft

94e867b... by Brian Murray

releasing package ubuntu-release-upgrader version 1:22.10.7

a99f3ec... by Brian Murray

Update the changelog

1721098... by Brian Murray

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

ded0faf... by Brian Murray

DistUpgrade/DistUpgradeController.py: In one of the finall calls of need_server_mode() do not allow switching from a desktop mode upgrade to a server mode upgrade. (LP: #1969786)