Merge lp:~yolanda.robla/glance/grizzly into lp:~openstack-ubuntu-testing/glance/grizzly

Proposed by Yolanda Robla
Status: Merged
Approved by: Chuck Short
Approved revision: 229
Merged at revision: 229
Proposed branch: lp:~yolanda.robla/glance/grizzly
Merge into: lp:~openstack-ubuntu-testing/glance/grizzly
Diff against target: 69 lines (+4/-35)
3 files modified
debian/changelog (+4/-2)
debian/patches/series (+0/-1)
debian/patches/webob_1.1_compat.patch (+0/-32)
To merge this branch: bzr merge lp:~yolanda.robla/glance/grizzly
Reviewer Review Type Date Requested Status
Openstack Ubuntu Testers Pending
Review via email: mp+141773@code.launchpad.net

Description of the change

Updated changelog, removed unused patches

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/changelog'
--- debian/changelog 2012-12-17 10:14:40 +0000
+++ debian/changelog 2013-01-03 15:58:59 +0000
@@ -1,9 +1,8 @@
1glance (2013.1~g2~20121215.46.gbeb1536-0ubuntu1) UNRELEASED; urgency=low1glance (2013.1~g2~20130103.63.g48cf125-0ubuntu1) UNRELEASED; urgency=low
22
3 [ James Page ]3 [ James Page ]
4 * New upstream release.4 * New upstream release.
5 * Re-enable gating of package build based on unit test success:5 * Re-enable gating of package build based on unit test success:
6 - d/p/webob_1.1_compat.patch: Patch for compatibility with webob 1.1.
7 - d/rules: Enable build failure on unit testing failure, scope6 - d/rules: Enable build failure on unit testing failure, scope
8 test execution to glance/tests.7 test execution to glance/tests.
9 * Switched upstart configurations to use start-stop-daemon instead of su.8 * Switched upstart configurations to use start-stop-daemon instead of su.
@@ -16,6 +15,9 @@
16 * debian/*.manpages: Install Sphinx-generated manpages for binaries15 * debian/*.manpages: Install Sphinx-generated manpages for binaries
17 installed by glance-common, glance-registry, and glance-api.16 installed by glance-common, glance-registry, and glance-api.
1817
18 [ Yolanda Robla Mota ]
19 * Updated package version
20
19 -- Adam Gandelman <adamg@ubuntu.com> Wed, 05 Dec 2012 11:12:37 -080021 -- Adam Gandelman <adamg@ubuntu.com> Wed, 05 Dec 2012 11:12:37 -0800
2022
21glance (2013.1~g1-0ubuntu1) raring; urgency=low23glance (2013.1~g1-0ubuntu1) raring; urgency=low
2224
=== modified file 'debian/patches/series'
--- debian/patches/series 2012-11-26 13:36:21 +0000
+++ debian/patches/series 2013-01-03 15:58:59 +0000
@@ -1,3 +1,2 @@
1sql_conn.patch1sql_conn.patch
2disable-network-for-docs.patch2disable-network-for-docs.patch
3webob_1.1_compat.patch
43
=== removed file 'debian/patches/webob_1.1_compat.patch'
--- debian/patches/webob_1.1_compat.patch 2012-12-17 08:33:27 +0000
+++ debian/patches/webob_1.1_compat.patch 1970-01-01 00:00:00 +0000
@@ -1,32 +0,0 @@
1Description: webob 1.1 compatibility fixes.
2 Some behaviour changes between 1.0.8 and 1.1 cause test
3 failures; specifically:
4 .
5 - when app_iter is used for chunked transfers the
6 Content-MD5 header is dropped automatically; this
7 might be a bug in webob but setting the MD5 after
8 providing the iterator fixes the issue for the time
9 being.
10 .
11 Upstream openstack still baseline on 1.0.8 so Ubuntu will
12 need to hold this patch until they upgrade.
13Author: James Page <james.page@ubuntu.com>
14Forwarded: no
15Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/python-webob/+bug/1083155
16
17--- a/glance/api/v2/image_data.py
18+++ b/glance/api/v2/image_data.py
19@@ -137,10 +137,11 @@ class ResponseSerializer(wsgi.JSONRespon
20 checksum = result['meta']['checksum']
21 response.headers['Content-Length'] = size
22 response.headers['Content-Type'] = 'application/octet-stream'
23- if checksum:
24- response.headers['Content-MD5'] = checksum
25 response.app_iter = common.size_checked_iter(
26 response, result['meta'], size, result['data'], self.notifier)
27+ if checksum:
28+ response.headers['Content-MD5'] = checksum
29+
30
31 def upload(self, response, result):
32 response.status_int = 201

Subscribers

People subscribed via source and target branches