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
1=== modified file 'DistUpgrade/DistUpgradeCache.py'
2--- DistUpgrade/DistUpgradeCache.py 2012-06-27 16:20:05 +0000
3+++ DistUpgrade/DistUpgradeCache.py 2012-07-03 16:54:27 +0000
4@@ -40,7 +40,7 @@
5 from .DistUpgradeGettext import gettext as _
6 from .DistUpgradeGettext import ngettext
7
8-from UpdateManager.Core.utils import inside_chroot, estimate_kernel_size_in_boot
9+from .utils import inside_chroot, estimate_kernel_size_in_boot
10
11 class CacheException(Exception):
12 pass
13
14=== modified file 'DistUpgrade/DistUpgradeController.py'
15--- DistUpgrade/DistUpgradeController.py 2012-06-28 17:58:02 +0000
16+++ DistUpgrade/DistUpgradeController.py 2012-07-03 16:54:27 +0000
17@@ -45,14 +45,14 @@
18 except ImportError:
19 # < 3.0
20 from ConfigParser import SafeConfigParser, NoOptionError
21-from UpdateManager.Core.utils import (country_mirror,
22- url_downloadable,
23- check_and_fix_xbit,
24- get_arch,
25- iptables_active,
26- inside_chroot,
27- get_string_with_no_auth_from_source_entry,
28- is_child_of_process_name)
29+from .utils import (country_mirror,
30+ url_downloadable,
31+ check_and_fix_xbit,
32+ get_arch,
33+ iptables_active,
34+ inside_chroot,
35+ get_string_with_no_auth_from_source_entry,
36+ is_child_of_process_name)
37 from string import Template
38 try:
39 from urllib.parse import urlsplit
40@@ -305,7 +305,7 @@
41 and we have network - we will then try to fetch a update
42 of ourself
43 """
44- from UpdateManager.Core.MetaRelease import MetaReleaseCore
45+ from .MetaRelease import MetaReleaseCore
46 from .DistUpgradeFetcherSelf import DistUpgradeFetcherSelf
47 # check if we run from a LTS
48 forceLTS=False
49
50=== modified file 'DistUpgrade/DistUpgradeFetcher.py'
51--- DistUpgrade/DistUpgradeFetcher.py 2012-06-28 17:28:17 +0000
52+++ DistUpgrade/DistUpgradeFetcher.py 2012-07-03 16:54:27 +0000
53@@ -25,7 +25,7 @@
54 from gi.repository import Gtk, Gdk
55
56 from .ReleaseNotesViewer import ReleaseNotesViewer
57-from UpdateManager.Core.utils import error, inhibit_sleep, allow_sleep
58+from .utils import error, inhibit_sleep, allow_sleep
59 from .DistUpgradeFetcherCore import DistUpgradeFetcherCore
60 from .SimpleGtk3builderApp import SimpleGtkbuilderApp
61 from gettext import gettext as _
62
63=== modified file 'DistUpgrade/DistUpgradeFetcherCore.py'
64--- DistUpgrade/DistUpgradeFetcherCore.py 2012-06-28 16:12:09 +0000
65+++ DistUpgrade/DistUpgradeFetcherCore.py 2012-07-03 16:54:27 +0000
66@@ -34,7 +34,7 @@
67 from gettext import gettext as _
68 from aptsources.sourceslist import SourcesList
69
70-from UpdateManager.Core.utils import get_dist, url_downloadable, country_mirror
71+from .utils import get_dist, url_downloadable, country_mirror
72
73
74 class DistUpgradeFetcherCore(object):
75
76=== modified file 'DistUpgrade/DistUpgradeFetcherKDE.py'
77--- DistUpgrade/DistUpgradeFetcherKDE.py 2012-06-28 16:12:09 +0000
78+++ DistUpgrade/DistUpgradeFetcherKDE.py 2012-07-03 16:54:27 +0000
79@@ -29,7 +29,7 @@
80 import apt_pkg
81 import sys
82
83-from UpdateManager.Core.utils import inhibit_sleep, allow_sleep
84+from .utils import inhibit_sleep, allow_sleep
85 from .DistUpgradeFetcherCore import DistUpgradeFetcherCore
86 from gettext import gettext as _
87 try:
88@@ -39,7 +39,7 @@
89 from urllib2 import urlopen, HTTPError
90 import os
91
92-from UpdateManager.Core.MetaRelease import MetaReleaseCore
93+from .MetaRelease import MetaReleaseCore
94 import time
95 import apt
96
97
98=== modified file 'DistUpgrade/DistUpgradeQuirks.py'
99--- DistUpgrade/DistUpgradeQuirks.py 2012-06-27 16:20:05 +0000
100+++ DistUpgrade/DistUpgradeQuirks.py 2012-07-03 16:54:27 +0000
101@@ -34,10 +34,10 @@
102 from subprocess import PIPE, Popen
103 from hashlib import md5
104
105-from UpdateManager.Core.utils import lsmod, get_arch
106+from .utils import lsmod, get_arch
107
108 from .DistUpgradeGettext import gettext as _
109-from janitor.plugincore.manager import PluginManager
110+from .janitor.plugincore.manager import PluginManager
111
112 class DistUpgradeQuirks(object):
113 """
114
115=== modified file 'DistUpgrade/DistUpgradeViewText.py'
116--- DistUpgrade/DistUpgradeViewText.py 2012-06-27 16:20:05 +0000
117+++ DistUpgrade/DistUpgradeViewText.py 2012-07-03 16:54:27 +0000
118@@ -33,7 +33,7 @@
119
120 import gettext
121 from .DistUpgradeGettext import gettext as _
122-from UpdateManager.Core.utils import twrap
123+from .utils import twrap
124
125 class TextAcquireProgress(AcquireProgress, apt.progress.text.AcquireProgress):
126 def __init__(self):
127
128=== modified file 'DistUpgrade/GtkProgress.py'
129--- DistUpgrade/GtkProgress.py 2012-06-28 17:28:17 +0000
130+++ DistUpgrade/GtkProgress.py 2012-07-03 16:54:27 +0000
131@@ -25,7 +25,7 @@
132 from gi.repository import Gtk, Gdk
133 import apt
134 from gettext import gettext as _
135-from UpdateManager.Core.utils import humanize_size
136+from .utils import humanize_size
137 from .SimpleGtk3builderApp import SimpleGtkbuilderApp
138
139
140
141=== added symlink 'DistUpgrade/MetaRelease.py'
142=== target is u'/usr/lib/python3/dist-packages/UpdateManager/Core/MetaRelease.py'
143=== added symlink 'DistUpgrade/janitor'
144=== target is u'/usr/lib/python3/dist-packages/janitor/'
145=== added symlink 'DistUpgrade/utils.py'
146=== target is u'/usr/lib/python3/dist-packages/UpdateManager/Core/utils.py'

Subscribers

People subscribed via source and target branches