Merge lp:~laney/friends/sync-archive-gir into lp:friends

Proposed by Iain Lane
Status: Merged
Merged at revision: 255
Proposed branch: lp:~laney/friends/sync-archive-gir
Merge into: lp:friends
Diff against target: 53 lines (+14/-3)
3 files modified
debian/changelog (+11/-0)
debian/control (+2/-2)
friends/utils/http.py (+1/-1)
To merge this branch: bzr merge lp:~laney/friends/sync-archive-gir
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Approve
Super Friends Pending
Review via email: mp+220625@code.launchpad.net

Commit message

Adapt to changes in libsoup's gi bindings

Description of the change

I uploaded this as the autopkgtest was failing and blocking stuff (so you can manually merge this branch, no need to train it)

https://git.gnome.org/browse/libsoup/commit/?id=0f22a7505ae2e41e2a9e17854d9bd362f5a72945 changed the gi annotations to enable the length to be inferred and require the data to be in bytes.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

PASSED: Continuous integration, rev:255
http://jenkins.qa.ubuntu.com/job/friends-ci/58/
Executed test runs:
    SUCCESS: http://jenkins.qa.ubuntu.com/job/friends-utopic-amd64-ci/1

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/friends-ci/58/rebuild

review: Approve (continuous-integration)
Revision history for this message
Robert Bruce Park (robru) wrote :

Thanks laney!

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/changelog'
--- debian/changelog 2014-02-17 17:38:56 +0000
+++ debian/changelog 2014-05-22 11:58:32 +0000
@@ -1,3 +1,14 @@
1friends (0.2.0+14.04.20140217.1-0ubuntu2) utopic; urgency=medium
2
3 * friends/utils/http.py: Fix some incompatibilities introduced because
4 libsoup 2.46.0 made its gi bindings smarter in an incompatible way.
5 + The length parameter is now calculated from the list, don't pass it
6 explicitly.
7 + The list needs to be bytes, not a string.
8 * Increase deps to ensure we have the new version.
9
10 -- Iain Lane <iain.lane@canonical.com> Thu, 22 May 2014 11:18:04 +0100
11
1friends (0.2.0+14.04.20140217.1-0ubuntu1) trusty; urgency=low12friends (0.2.0+14.04.20140217.1-0ubuntu1) trusty; urgency=low
213
3 [ Scott Sweeny ]14 [ Scott Sweeny ]
415
=== modified file 'debian/control'
--- debian/control 2013-11-07 14:54:31 +0000
+++ debian/control 2014-05-22 11:58:32 +0000
@@ -16,7 +16,7 @@
16 gir1.2-networkmanager-1.0,16 gir1.2-networkmanager-1.0,
17 gir1.2-notify-0.7,17 gir1.2-notify-0.7,
18 gir1.2-signon-1.0,18 gir1.2-signon-1.0,
19 gir1.2-soup-2.4,19 gir1.2-soup-2.4 (>= 2.46.0),
20 gir1.2-unity-5.0,20 gir1.2-unity-5.0,
21 libaccounts-glib-dev (>= 1.10),21 libaccounts-glib-dev (>= 1.10),
22 libsignon-glib1,22 libsignon-glib1,
@@ -62,7 +62,7 @@
62 gir1.2-networkmanager-1.0,62 gir1.2-networkmanager-1.0,
63 gir1.2-notify-0.7,63 gir1.2-notify-0.7,
64 gir1.2-signon-1.0,64 gir1.2-signon-1.0,
65 gir1.2-soup-2.4,65 gir1.2-soup-2.4 (>= 2.46.0),
66 gir1.2-accounts-1.0,66 gir1.2-accounts-1.0,
67 python3-pkg-resources,67 python3-pkg-resources,
68 python3-dbus,68 python3-dbus,
6969
=== modified file 'friends/utils/http.py'
--- friends/utils/http.py 2013-02-19 17:00:41 +0000
+++ friends/utils/http.py 2014-05-22 11:58:32 +0000
@@ -181,7 +181,7 @@
181 if data is not None:181 if data is not None:
182 message.set_request(182 message.set_request(
183 'application/x-www-form-urlencoded; charset=utf-8',183 'application/x-www-form-urlencoded; charset=utf-8',
184 Soup.MemoryUse.COPY, data, len(data))184 Soup.MemoryUse.COPY, data.encode())
185185
186 # Possibly do some rate limiting.186 # Possibly do some rate limiting.
187 self._rate_limiter.wait(message)187 self._rate_limiter.wait(message)

Subscribers

People subscribed via source and target branches

to all changes: