Merge lp:~mterry/ubuntu-release-upgrader/u-m-symlinks into lp:ubuntu-release-upgrader

Proposed by Michael Terry
Status: Merged
Merged at revision: 2527
Proposed branch: lp:~mterry/ubuntu-release-upgrader/u-m-symlinks
Merge into: lp:ubuntu-release-upgrader
Diff against target: 146 lines (+18/-18)
8 files modified
DistUpgrade/DistUpgradeCache.py (+1/-1)
DistUpgrade/DistUpgradeController.py (+9/-9)
DistUpgrade/DistUpgradeFetcher.py (+1/-1)
DistUpgrade/DistUpgradeFetcherCore.py (+1/-1)
DistUpgrade/DistUpgradeFetcherKDE.py (+2/-2)
DistUpgrade/DistUpgradeQuirks.py (+2/-2)
DistUpgrade/DistUpgradeViewText.py (+1/-1)
DistUpgrade/GtkProgress.py (+1/-1)
To merge this branch: bzr merge lp:~mterry/ubuntu-release-upgrader/u-m-symlinks
Reviewer Review Type Date Requested Status
Michael Vogt (community) Approve
Review via email: mp+113260@code.launchpad.net

Description of the change

This branch adds back some symlinks necessary to make the dist upgrade tarball more self sufficient.

What's the best test reproduction steps to help make sure this fixes all issues?

To post a comment you must log in.
Revision history for this message
Michael Vogt (mvo) wrote :

This looks good, a good way for testing is using the auto-upgrade-tester, but it would have to grow a feature to test-upgrade from a bzr branch.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'DistUpgrade/DistUpgradeCache.py'
--- DistUpgrade/DistUpgradeCache.py 2012-06-27 16:20:05 +0000
+++ DistUpgrade/DistUpgradeCache.py 2012-07-03 16:54:27 +0000
@@ -40,7 +40,7 @@
40from .DistUpgradeGettext import gettext as _40from .DistUpgradeGettext import gettext as _
41from .DistUpgradeGettext import ngettext41from .DistUpgradeGettext import ngettext
4242
43from UpdateManager.Core.utils import inside_chroot, estimate_kernel_size_in_boot43from .utils import inside_chroot, estimate_kernel_size_in_boot
4444
45class CacheException(Exception):45class CacheException(Exception):
46 pass46 pass
4747
=== modified file 'DistUpgrade/DistUpgradeController.py'
--- DistUpgrade/DistUpgradeController.py 2012-06-28 17:58:02 +0000
+++ DistUpgrade/DistUpgradeController.py 2012-07-03 16:54:27 +0000
@@ -45,14 +45,14 @@
45except ImportError:45except ImportError:
46 # < 3.046 # < 3.0
47 from ConfigParser import SafeConfigParser, NoOptionError47 from ConfigParser import SafeConfigParser, NoOptionError
48from UpdateManager.Core.utils import (country_mirror,48from .utils import (country_mirror,
49 url_downloadable,49 url_downloadable,
50 check_and_fix_xbit,50 check_and_fix_xbit,
51 get_arch,51 get_arch,
52 iptables_active,52 iptables_active,
53 inside_chroot,53 inside_chroot,
54 get_string_with_no_auth_from_source_entry,54 get_string_with_no_auth_from_source_entry,
55 is_child_of_process_name)55 is_child_of_process_name)
56from string import Template56from string import Template
57try:57try:
58 from urllib.parse import urlsplit58 from urllib.parse import urlsplit
@@ -305,7 +305,7 @@
305 and we have network - we will then try to fetch a update305 and we have network - we will then try to fetch a update
306 of ourself306 of ourself
307 """ 307 """
308 from UpdateManager.Core.MetaRelease import MetaReleaseCore308 from .MetaRelease import MetaReleaseCore
309 from .DistUpgradeFetcherSelf import DistUpgradeFetcherSelf309 from .DistUpgradeFetcherSelf import DistUpgradeFetcherSelf
310 # check if we run from a LTS 310 # check if we run from a LTS
311 forceLTS=False311 forceLTS=False
312312
=== modified file 'DistUpgrade/DistUpgradeFetcher.py'
--- DistUpgrade/DistUpgradeFetcher.py 2012-06-28 17:28:17 +0000
+++ DistUpgrade/DistUpgradeFetcher.py 2012-07-03 16:54:27 +0000
@@ -25,7 +25,7 @@
25from gi.repository import Gtk, Gdk25from gi.repository import Gtk, Gdk
2626
27from .ReleaseNotesViewer import ReleaseNotesViewer27from .ReleaseNotesViewer import ReleaseNotesViewer
28from UpdateManager.Core.utils import error, inhibit_sleep, allow_sleep28from .utils import error, inhibit_sleep, allow_sleep
29from .DistUpgradeFetcherCore import DistUpgradeFetcherCore29from .DistUpgradeFetcherCore import DistUpgradeFetcherCore
30from .SimpleGtk3builderApp import SimpleGtkbuilderApp30from .SimpleGtk3builderApp import SimpleGtkbuilderApp
31from gettext import gettext as _31from gettext import gettext as _
3232
=== modified file 'DistUpgrade/DistUpgradeFetcherCore.py'
--- DistUpgrade/DistUpgradeFetcherCore.py 2012-06-28 16:12:09 +0000
+++ DistUpgrade/DistUpgradeFetcherCore.py 2012-07-03 16:54:27 +0000
@@ -34,7 +34,7 @@
34from gettext import gettext as _34from gettext import gettext as _
35from aptsources.sourceslist import SourcesList35from aptsources.sourceslist import SourcesList
3636
37from UpdateManager.Core.utils import get_dist, url_downloadable, country_mirror37from .utils import get_dist, url_downloadable, country_mirror
3838
3939
40class DistUpgradeFetcherCore(object):40class DistUpgradeFetcherCore(object):
4141
=== modified file 'DistUpgrade/DistUpgradeFetcherKDE.py'
--- DistUpgrade/DistUpgradeFetcherKDE.py 2012-06-28 16:12:09 +0000
+++ DistUpgrade/DistUpgradeFetcherKDE.py 2012-07-03 16:54:27 +0000
@@ -29,7 +29,7 @@
29import apt_pkg29import apt_pkg
30import sys30import sys
3131
32from UpdateManager.Core.utils import inhibit_sleep, allow_sleep32from .utils import inhibit_sleep, allow_sleep
33from .DistUpgradeFetcherCore import DistUpgradeFetcherCore33from .DistUpgradeFetcherCore import DistUpgradeFetcherCore
34from gettext import gettext as _34from gettext import gettext as _
35try:35try:
@@ -39,7 +39,7 @@
39 from urllib2 import urlopen, HTTPError39 from urllib2 import urlopen, HTTPError
40import os40import os
4141
42from UpdateManager.Core.MetaRelease import MetaReleaseCore42from .MetaRelease import MetaReleaseCore
43import time43import time
44import apt44import apt
4545
4646
=== modified file 'DistUpgrade/DistUpgradeQuirks.py'
--- DistUpgrade/DistUpgradeQuirks.py 2012-06-27 16:20:05 +0000
+++ DistUpgrade/DistUpgradeQuirks.py 2012-07-03 16:54:27 +0000
@@ -34,10 +34,10 @@
34from subprocess import PIPE, Popen34from subprocess import PIPE, Popen
35from hashlib import md535from hashlib import md5
3636
37from UpdateManager.Core.utils import lsmod, get_arch37from .utils import lsmod, get_arch
3838
39from .DistUpgradeGettext import gettext as _39from .DistUpgradeGettext import gettext as _
40from janitor.plugincore.manager import PluginManager40from .janitor.plugincore.manager import PluginManager
4141
42class DistUpgradeQuirks(object):42class DistUpgradeQuirks(object):
43 """43 """
4444
=== modified file 'DistUpgrade/DistUpgradeViewText.py'
--- DistUpgrade/DistUpgradeViewText.py 2012-06-27 16:20:05 +0000
+++ DistUpgrade/DistUpgradeViewText.py 2012-07-03 16:54:27 +0000
@@ -33,7 +33,7 @@
3333
34import gettext34import gettext
35from .DistUpgradeGettext import gettext as _35from .DistUpgradeGettext import gettext as _
36from UpdateManager.Core.utils import twrap36from .utils import twrap
3737
38class TextAcquireProgress(AcquireProgress, apt.progress.text.AcquireProgress):38class TextAcquireProgress(AcquireProgress, apt.progress.text.AcquireProgress):
39 def __init__(self):39 def __init__(self):
4040
=== modified file 'DistUpgrade/GtkProgress.py'
--- DistUpgrade/GtkProgress.py 2012-06-28 17:28:17 +0000
+++ DistUpgrade/GtkProgress.py 2012-07-03 16:54:27 +0000
@@ -25,7 +25,7 @@
25from gi.repository import Gtk, Gdk25from gi.repository import Gtk, Gdk
26import apt26import apt
27from gettext import gettext as _27from gettext import gettext as _
28from UpdateManager.Core.utils import humanize_size28from .utils import humanize_size
29from .SimpleGtk3builderApp import SimpleGtkbuilderApp29from .SimpleGtk3builderApp import SimpleGtkbuilderApp
3030
3131
3232
=== added symlink 'DistUpgrade/MetaRelease.py'
=== target is u'/usr/lib/python3/dist-packages/UpdateManager/Core/MetaRelease.py'
=== added symlink 'DistUpgrade/janitor'
=== target is u'/usr/lib/python3/dist-packages/janitor/'
=== added symlink 'DistUpgrade/utils.py'
=== target is u'/usr/lib/python3/dist-packages/UpdateManager/Core/utils.py'

Subscribers

People subscribed via source and target branches