Merge lp:~ubuntu-branches/ubuntu/precise/gwibber-service-sina/precise-201203201005 into lp:ubuntu/precise/gwibber-service-sina

Proposed by Ubuntu Package Importer
Status: Needs review
Proposed branch: lp:~ubuntu-branches/ubuntu/precise/gwibber-service-sina/precise-201203201005
Merge into: lp:ubuntu/precise/gwibber-service-sina
Diff against target: 106 lines (+73/-0) (has conflicts)
4 files modified
debian/changelog (+19/-0)
debian/patches/logger.patch (+52/-0)
debian/patches/series (+1/-0)
debian/source/format (+1/-0)
Text conflict in debian/changelog
Conflict adding file debian/patches.  Moved existing file to debian/patches.moved.
Conflict adding file debian/source.  Moved existing file to debian/source.moved.
To merge this branch: bzr merge lp:~ubuntu-branches/ubuntu/precise/gwibber-service-sina/precise-201203201005
Reviewer Review Type Date Requested Status
Ubuntu branches Pending
Review via email: mp+98380@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/gwibber-service-sina reflect what is in the archive and the old bzr branch has been pushed to lp:~ubuntu-branches/ubuntu/precise/gwibber-service-sina/precise-201203201005. 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

6. By Ken VanDine

releasing version 0.9.1-0ubuntu5

5. By Ken VanDine

releasing version 0.9.1-0ubuntu4

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/changelog'
--- debian/changelog 2012-03-19 15:21:22 +0000
+++ debian/changelog 2012-03-20 10:09:18 +0000
@@ -1,3 +1,4 @@
1<<<<<<< TREE
1gwibber-service-sina (0.9.1-0ubuntu6) precise; urgency=low2gwibber-service-sina (0.9.1-0ubuntu6) precise; urgency=low
23
3 * debian/patches/gtk3.patch4 * debian/patches/gtk3.patch
@@ -21,6 +22,24 @@
2122
22 -- Ken VanDine <ken.vandine@canonical.com> Mon, 19 Mar 2012 13:49:05 -040023 -- Ken VanDine <ken.vandine@canonical.com> Mon, 19 Mar 2012 13:49:05 -0400
2324
25=======
26gwibber-service-sina (0.9.1-0ubuntu5) precise; urgency=low
27
28 * debian/patches/logger.patch
29 - Fixed all ocurrances of log.logger
30
31 -- Ken VanDine <ken.vandine@canonical.com> Mon, 19 Mar 2012 14:05:28 -0400
32
33gwibber-service-sina (0.9.1-0ubuntu4) precise; urgency=low
34
35 * debian/patches/logger.patch
36 - Updated to use the new logger in gwibber-service (LP: #947559)
37 * debian/control
38 - require gwibber-service >= 3.3.92 for the logger changes
39
40 -- Ken VanDine <ken.vandine@canonical.com> Mon, 19 Mar 2012 13:49:05 -0400
41
42>>>>>>> MERGE-SOURCE
24gwibber-service-sina (0.9.1-0ubuntu3) precise; urgency=low43gwibber-service-sina (0.9.1-0ubuntu3) precise; urgency=low
2544
26 * Rebuild to drop dependencies on python2.6.45 * Rebuild to drop dependencies on python2.6.
2746
=== added directory 'debian/patches'
=== renamed directory 'debian/patches' => 'debian/patches.moved'
=== added file 'debian/patches/logger.patch'
--- debian/patches/logger.patch 1970-01-01 00:00:00 +0000
+++ debian/patches/logger.patch 2012-03-20 10:09:18 +0000
@@ -0,0 +1,52 @@
1=== modified file '__init__.py'
2--- old/__init__.py 2011-06-10 09:11:33 +0000
3+++ new/__init__.py 2012-03-19 18:05:16 +0000
4@@ -3,10 +3,13 @@
5 import re
6 import gnomekeyring
7 from oauth import oauth
8-from gwibber.microblog.util import log, resources
9+from gwibber.microblog.util import resources
10 from gettext import lgettext as _
11 import sina.utils
12-log.logger.name = "Sina"
13+
14+import logging
15+logger = logging.getLogger("Sina")
16+logger.debug("Initializing.")
17
18 PROTOCOL_INFO = {
19 "name": "Sina",
20@@ -107,7 +110,7 @@
21 m["images"] = images
22 m["type"] = "photo"
23 except:
24- log.logger.error("%s failure - %s", PROTOCOL_INFO["name"], data)
25+ logger.error("%s failure - %s", PROTOCOL_INFO["name"], data)
26 return {}
27
28 return m
29@@ -219,7 +222,7 @@
30 if isinstance(data, dict) and data.get("errors", 0):
31 if "authenticate" in data["errors"][0]["message"]:
32 logstr = """%s: %s - %s""" % (PROTOCOL_INFO["name"], _("Authentication failed"), error["message"])
33- log.logger.error("%s", logstr)
34+ logger.error("%s", logstr)
35 return [{"error": {"type": "auth", "account": self.account, "message": data["errors"][0]["message"]}}]
36 else:
37 for error in data["errors"]:
38@@ -228,11 +231,11 @@
39 elif isinstance(data, dict) and data.get("error", 0):
40 if "Incorrect signature" in data["error"]:
41 logstr = """%s: %s - %s""" % (PROTOCOL_INFO["name"], _("Request failed"), data["error"])
42- log.logger.error("%s", logstr)
43+ logger.error("%s", logstr)
44 return [{"error": {"type": "auth", "account": self.account, "message": data["error"]}}]
45 elif isinstance(data, str):
46 logstr = """%s: %s - %s""" % (PROTOCOL_INFO["name"], _("Request failed"), data)
47- log.logger.error("%s", logstr)
48+ logger.error("%s", logstr)
49 return [{"error": {"type": "request", "account": self.account, "message": data}}]
50
51 if parse == "list":
52
053
=== added file 'debian/patches/series'
--- debian/patches/series 1970-01-01 00:00:00 +0000
+++ debian/patches/series 2012-03-20 10:09:18 +0000
@@ -0,0 +1,1 @@
1logger.patch
02
=== added directory 'debian/source'
=== renamed directory 'debian/source' => 'debian/source.moved'
=== added file 'debian/source/format'
--- debian/source/format 1970-01-01 00:00:00 +0000
+++ debian/source/format 2012-03-20 10:09:18 +0000
@@ -0,0 +1,1 @@
13.0 (quilt)

Subscribers

People subscribed via source and target branches

to all changes: