Merge lp:~statik/ubuntu/lucid/python-django/fix-cookies-bug513719 into lp:ubuntu/lucid/python-django

Proposed by Elliot Murphy
Status: Merged
Merged at revision: not available
Proposed branch: lp:~statik/ubuntu/lucid/python-django/fix-cookies-bug513719
Merge into: lp:ubuntu/lucid/python-django
Diff against target: 60 lines (+28/-1)
4 files modified
debian/changelog (+6/-0)
debian/control (+2/-1)
debian/patches/07_test_client_cookie_fix.diff (+19/-0)
debian/patches/series (+1/-0)
To merge this branch: bzr merge lp:~statik/ubuntu/lucid/python-django/fix-cookies-bug513719
Reviewer Review Type Date Requested Status
Registry Administrators Pending
Review via email: mp+18273@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Elliot Murphy (statik) wrote :

This fix has already been committed upstream, and I have confirmed that building/installing this package allows 'make check' to pass on lp:django-openid-auth, which is otherwise totally broken in lucid. I would be grateful if someone uploaded this revision.

Revision history for this message
James Westby (james-w) wrote :

Hey Elliot,

I'm stuck on slow internet so can't test this right now, but I
would love to see

  https://wiki.ubuntu.com/UbuntuDevelopment/PatchTaggingGuidelines

used.

Feel free to just drop the relevant information here and I can add
it as I merge. I won't block on it though, I'll just look it up myself
if I get some better internet before I hear back.

Thanks,

James

Revision history for this message
Elliot Murphy (statik) wrote :

So I've been curious about patch tagging guidelines and now I finally
see when they should be used :)

I'll add the tags now and push in a few minutes. Thanks James!
--
Elliot Murphy | https://launchpad.net/~statik/

28. By Elliot Murphy

Tagged patch 7 per debian patch tagging guidelines.

Revision history for this message
Elliot Murphy (statik) wrote :

Added the patch tagging, pushed, and verified that the package still builds, installs, and the installed package fixes the problem.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/changelog'
--- debian/changelog 2009-12-01 23:46:22 +0000
+++ debian/changelog 2010-01-31 04:39:14 +0000
@@ -1,3 +1,9 @@
1python-django (1.1.1-2ubuntu1) lucid; urgency=low
2
3 * Fix django test client cookie handling (LP: #513719)
4
5 -- Elliot Murphy <elliot@ubuntu.com> Fri, 29 Jan 2010 13:01:27 -0500
6
1python-django (1.1.1-2) unstable; urgency=low7python-django (1.1.1-2) unstable; urgency=low
28
3 * Remove embedded "decimal" code copy and use system version instead. The9 * Remove embedded "decimal" code copy and use system version instead. The
410
=== modified file 'debian/control'
--- debian/control 2009-12-01 23:46:22 +0000
+++ debian/control 2010-01-31 04:39:14 +0000
@@ -1,7 +1,8 @@
1Source: python-django1Source: python-django
2Section: python2Section: python
3Priority: optional3Priority: optional
4Maintainer: Chris Lamb <lamby@debian.org>4Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
5XSBC-Original-Maintainer: Chris Lamb <lamby@debian.org>
5Uploaders: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>, Raphaël Hertzog <hertzog@debian.org>6Uploaders: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>, Raphaël Hertzog <hertzog@debian.org>
6Standards-Version: 3.8.37Standards-Version: 3.8.3
7Build-Depends: debhelper (>= 7.0.50), python-support, quilt (>= 0.46-7~), python (>= 2.5) | python-sqlite8Build-Depends: debhelper (>= 7.0.50), python-support, quilt (>= 0.46-7~), python (>= 2.5) | python-sqlite
89
=== added file 'debian/patches/07_test_client_cookie_fix.diff'
--- debian/patches/07_test_client_cookie_fix.diff 1970-01-01 00:00:00 +0000
+++ debian/patches/07_test_client_cookie_fix.diff 2010-01-31 04:39:14 +0000
@@ -0,0 +1,19 @@
1From: James Henstridge <jamesh@ubuntu.com>
2Subject: Fix Django test client cookie handling with latest python2.6 upload
3Origin: upstream, http://code.djangoproject.com/changeset/12343
4Bug: http://code.djangoproject.com/ticket/12720
5Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/python-django/+bug/513719
6Reviewed-By: Elliot Murphy <elliot@ubuntu.com>
7Last-Update: 2010-01-30
8
9--- python-django.orig/django/test/client.py 2010-01-29 13:09:25.885960656 -0500
10+++ python-django/django/test/client.py 2010-01-29 13:10:15.622491350 -0500
11@@ -193,7 +193,7 @@
12 using the arguments to the request.
13 """
14 environ = {
15- 'HTTP_COOKIE': self.cookies,
16+ 'HTTP_COOKIE': self.cookies.output(header='', sep='; '),
17 'PATH_INFO': '/',
18 'QUERY_STRING': '',
19 'REMOTE_ADDR': '127.0.0.1',
020
=== modified file 'debian/patches/series'
--- debian/patches/series 2009-12-01 23:46:22 +0000
+++ debian/patches/series 2010-01-31 04:39:14 +0000
@@ -4,3 +4,4 @@
404_hyphen-manpage.diff404_hyphen-manpage.diff
505_ftbfs_in_november.diff505_ftbfs_in_november.diff
606_python_2.6.3_regression.diff606_python_2.6.3_regression.diff
707_test_client_cookie_fix.diff

Subscribers

People subscribed via source and target branches

to all changes: