Merge lp:~ubuntu-branches/ubuntu/precise/zeroinstall-injector/precise-201203280703 into lp:ubuntu/precise/zeroinstall-injector

Proposed by Ubuntu Package Importer
Status: Rejected
Rejected by: James Westby
Proposed branch: lp:~ubuntu-branches/ubuntu/precise/zeroinstall-injector/precise-201203280703
Merge into: lp:ubuntu/precise/zeroinstall-injector
Diff against target: 74 lines (+63/-0) (has conflicts)
2 files modified
debian/patches/packagekit-api.patch (+62/-0)
debian/patches/series (+1/-0)
Conflict adding file debian/patches.  Moved existing file to debian/patches.moved.
To merge this branch: bzr merge lp:~ubuntu-branches/ubuntu/precise/zeroinstall-injector/precise-201203280703
Reviewer Review Type Date Requested Status
Ubuntu branches Pending
Review via email: mp+99675@code.launchpad.net

Description of the change

The package importer has detected a possible inconsistency between the package history in the archive and the history in bzr. As the archive is authoritative the importer has made lp:ubuntu/precise/zeroinstall-injector reflect what is in the archive and the old bzr branch has been pushed to lp:~ubuntu-branches/ubuntu/precise/zeroinstall-injector/precise-201203280703. This merge proposal was created so that an Ubuntu developer can review the situations and perform a merge/upload if necessary. There are three typical cases where this can happen.
  1. Where someone pushes a change to bzr and someone else uploads the package without that change. This is the reason that this check is done by the importer. If this appears to be the case then a merge/upload should be done if the changes that were in bzr are still desirable.
  2. The importer incorrectly detected the above situation when someone made a change in bzr and then uploaded it.
  3. The importer incorrectly detected the above situation when someone just uploaded a package and didn't touch bzr.

If this case doesn't appear to be the first situation then set the status of the merge proposal to "Rejected" and help avoid the problem in future by filing a bug at https://bugs.launchpad.net/udd linking to this merge proposal.

(this is an automatically generated message)

To post a comment you must log in.

Unmerged revisions

33. By Mathieu Trudel-Lapierre

releasing version 1.6-1ubuntu1

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added directory 'debian/patches'
2=== renamed directory 'debian/patches' => 'debian/patches.moved'
3=== added file 'debian/patches/packagekit-api.patch'
4--- debian/patches/packagekit-api.patch 1970-01-01 00:00:00 +0000
5+++ debian/patches/packagekit-api.patch 2012-03-28 07:09:19 +0000
6@@ -0,0 +1,62 @@
7+Description: Fixed API incompatibility with PackageKit's InstallPackages.
8+ Ubuntu uses its own implementation of PackageKit, which behaves slightly
9+ differently.
10+Author: Thomas Leonard <talex5@gmail.com>
11+Origin: upstream, http://repo.or.cz/w/zeroinstall.git/commit/9b466b9b5fab731a9eaa565627cf3b2bea713153
12+Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/zeroinstall-injector/+bug/953756
13+Last-Update: 2012-03-26
14+
15+Index: zeroinstall-injector.dev/zeroinstall/injector/packagekit.py
16+===================================================================
17+--- zeroinstall-injector.dev.orig/zeroinstall/injector/packagekit.py 2012-03-26 17:05:10.902188000 +0100
18++++ zeroinstall-injector.dev/zeroinstall/injector/packagekit.py 2012-03-26 17:05:39.420375222 +0100
19+@@ -204,8 +204,8 @@
20+ package_name = self.packagekit_id
21+ self._transaction = _PackageKitTransaction(self.pk, installed_cb, error_cb)
22+ self._transaction.compat_call([
23+- ('InstallPackages', [package_name]),
24+ ('InstallPackages', False, [package_name]),
25++ ('InstallPackages', [package_name]),
26+ ])
27+
28+ _auth_wrapper(install_packages)
29+@@ -289,8 +289,8 @@
30+ defaultlocale = locale.getdefaultlocale()[0]
31+ if defaultlocale is not None:
32+ self.compat_call([
33+- ('SetLocale', defaultlocale),
34+ ('SetHints', ['locale=%s' % defaultlocale]),
35++ ('SetLocale', defaultlocale),
36+ ])
37+
38+ def getPercentage(self):
39+@@ -305,6 +305,8 @@
40+ except:
41+ return default
42+
43++ # note: Ubuntu's aptdaemon implementation of PackageKit crashes if passed the wrong
44++ # arguments (rather than returning InvalidArgs), so always try its API first.
45+ def compat_call(self, calls):
46+ for call in calls:
47+ method = call[0]
48+@@ -313,8 +315,9 @@
49+ dbus_method = self.proxy.get_dbus_method(method)
50+ return dbus_method(*args)
51+ except dbus.exceptions.DBusException as e:
52+- if e.get_dbus_name() != \
53+- 'org.freedesktop.DBus.Error.UnknownMethod':
54++ if e.get_dbus_name() not in (
55++ 'org.freedesktop.DBus.Error.UnknownMethod',
56++ 'org.freedesktop.DBus.Error.InvalidArgs'):
57+ raise
58+ raise Exception('Cannot call %r DBus method' % calls)
59+
60+@@ -340,7 +343,7 @@
61+ package_name, version, arch, repo_ = id.split(';')
62+ clean_version = distro.try_cleanup_distro_version(version)
63+ if not clean_version:
64+- _logger_pk.warn(_("Can't parse distribution version '%(version)s' for package '%(package)s'"), {'version': version, 'package': package_name})
65++ _logger_pk.info(_("Can't parse distribution version '%(version)s' for package '%(package)s'"), {'version': version, 'package': package_name})
66+ clean_arch = distro.canonical_machine(arch)
67+ package = {'version': clean_version,
68+ 'name': package_name,
69
70=== added file 'debian/patches/series'
71--- debian/patches/series 1970-01-01 00:00:00 +0000
72+++ debian/patches/series 2012-03-28 07:09:19 +0000
73@@ -0,0 +1,1 @@
74+packagekit-api.patch

Subscribers

People subscribed via source and target branches

to all changes: