~enr0n/ubuntu-release-upgrader:drop-unused-code

Last commit made on 2024-06-21
Get this branch:
git clone -b drop-unused-code 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:
drop-unused-code
Repository:
lp:~enr0n/ubuntu-release-upgrader

Recent commits

26d6d81... by Nick Rosbrook

DistUpgradeController: fix attribute typoes

These were flagged by vulture as unused attributes. They are actually
typos of real attributes.

6356907... by Nick Rosbrook

DistUpgradeController: drop unused method _tryUpdateSelf

Gbp-Dch: Ignore

78a86fa... by Nick Rosbrook

DistUpgrade: remove imported/invoke-rc.d.diff

If this is still a problem, then we should carry a patch in
init-system-helpers or try to get something similar into Debian,
instead of putting this patched version of the script into our path at
runtime.

7e15524... by Nick Rosbrook

DistUpgrade: remove apt_clone.py symlink

This symlink was originally created in commit 06b5472b55 in 2011, and
was intended to be temporary. Finally remove it.

d5b6bb1... by Nick Rosbrook

DistUpgrade: remove unused zz-update-grub

This script was originally added for a quirk added in commit 1d467241cc,
but that quirk is long gone, so remove this unused script.

4032ae5... by Nick Rosbrook

DistUpgrade: fix several typos of 'upgrade'

66854fb... by Nick Rosbrook

DistUpgrade: remove old and unused DistUpgradePatcher

This patcher logic, although currently called, has been a no-op since
2013 when the last script in DistUpgrade patches was removed by
commit 460b2712b3 ("DistUpgrade/patches/: remove pycompile patch").

The README describing this feature:

 This dir can be used to drop *ed* script as patches (we can not use
 patch as its not part of the default install) to fixup stuff that is
 problematic during the upgrade (like doc-base and
 /usr/sbin/install-docs).

 The files have the format _path_to_binary.orig_md5sum.result_md5sum

 The upgrader will check for binaries with the matching md5sum and
 apply the patches if the md5sum is correct (first --dry-run to
 ensure it applies cleanly).

 Caveats:
 - it does *not* do binary patching
 - the md5sum calculation in python is not efficient, so do
   *not* patch huge files
 - the ed implementation is in python and reads the full file
   into memory so only use it for smallish files

This is very much like the quirk process, which we use consistently
these days. Remove this unused code.

ef435bf... by Nick Rosbrook

test: remove unused interactive_fetch_release_upgrader.py

This test does not get picked up by nose tests and is just dead code.
Remove it from the tree.

939a11f... by Nick Rosbrook

DistUpgradeQuirks: drop _test_and_fail_on_armhf_raspi

This was only needed for upgrades to 24.04 LTS.

Gbp-Dch: Ignore

f9f8187... by Nick Rosbrook

DistUpgradeQuirks: drop _remove_uboot_on_rpi

This is not required for upgrades from Noble, hence drop it.

Gbp-Dch: Ignore