~ubuntu-branches/ubuntu/oneiric/loggerhead/oneiric

« back to all changes in this revision

Viewing changes to debian/patches/debian-changes-1.18.1-1

  • Committer: Bazaar Package Importer
  • Author(s): Jelmer Vernooij
  • Date: 2011-05-01 02:55:06 UTC
  • Revision ID: james.westby@ubuntu.com-20110501025506-skoiuc4f6w2yzum9
Tags: 1.18.1-2
Add build dependency on python-bzrlib.tests, required for newer
versions of bzr.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Description: Upstream changes introduced in version 1.18.1-1
2
 
 This patch has been created by dpkg-source during the package build.
3
 
 Here's the last changelog entry, hopefully it gives details on why
4
 
 those changes were made:
5
 
 .
6
 
 loggerhead (1.18.1-1) unstable; urgency=high
7
 
 .
8
 
   * Bump python-simplejson from Recommends to Depends, as loggerhead
9
 
     breaks with python-json. LP: #586611
10
 
   * Switch to dh_python2. Closes: #616876
11
 
   * Switch to debhelper 7, drop cdbs.
12
 
   * Claim support for Bazaar 2.4.
13
 
   * New upstream release.
14
 
    + Fixes escaping of filenames in revision views. (CVE-2011-0728)
15
 
      LP: #740142
16
 
 .
17
 
 The person named in the Author field signed this changelog entry.
18
 
Author: Jelmer Vernooij <jelmer@debian.org>
19
 
Bug-Debian: http://bugs.debian.org/616876
20
 
Bug-Ubuntu: https://bugs.launchpad.net/bugs/586611
21
 
Bug-Ubuntu: https://bugs.launchpad.net/bugs/740142
22
 
 
23
 
---
24
 
The information above should follow the Patch Tagging Guidelines, please
25
 
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
26
 
are templates for supplementary fields that you might want to add:
27
 
 
28
 
Origin: <vendor|upstream|other>, <url of original patch>
29
 
Bug: <url in upstream bugtracker>
30
 
Bug-Debian: http://bugs.debian.org/<bugnumber>
31
 
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
32
 
Forwarded: <no|not-needed|url proving that it has been forwarded>
33
 
Reviewed-By: <name and email of someone who approved the patch>
34
 
Last-Update: <YYYY-MM-DD>
35
 
 
36
 
--- /dev/null
37
 
+++ loggerhead-1.18.1/serve-branches.conf.example
38
 
@@ -0,0 +1,3 @@
39
 
+served_branches=/srv/bzr
40
 
+prefix=/loggerhead
41
 
+port=8080
42
 
--- loggerhead-1.18.1.orig/info.py
43
 
+++ loggerhead-1.18.1/info.py
44
 
@@ -6,7 +6,8 @@ bzr_plugin_name = "loggerhead"
45
 
 bzr_plugin_version = (1, 18, 0)
46
 
 
47
 
 bzr_compatible_versions = [
48
 
-    (1, 17, 0), (1, 18, 0), (2, 0, 0), (2, 1, 0), (2, 2, 0), (2, 3, 0)]
49
 
+    (1, 17, 0), (1, 18, 0), (2, 0, 0), (2, 1, 0), (2, 2, 0), (2, 3, 0),
50
 
+    (2, 4, 0)]
51
 
 
52
 
 bzr_minimum_version = bzr_compatible_versions[0]
53
 
 
54
 
--- loggerhead-1.18.1.orig/loggerhead.conf.example
55
 
+++ loggerhead-1.18.1/loggerhead.conf.example
56
 
@@ -8,10 +8,6 @@
57
 
 # use this if you want loggerhead to listen to another interface than 127.0.0.1
58
 
 # server.socket_host = 'your_hostname_or_ip'
59
 
 
60
 
-# where's bzrlib?
61
 
-# (you only need this if you don't install bzr.)
62
 
-#bzrpath = '/Users/robey/code/bzr/bzr'
63
 
-
64
 
 # if you want a special title on the front page, set it here:
65
 
 title = 'branches in loggerhead'
66
 
 
67
 
--- loggerhead-1.18.1.orig/loggerhead/tests/test_simple.py
68
 
+++ loggerhead-1.18.1/loggerhead/tests/test_simple.py
69
 
@@ -19,7 +19,10 @@ import cgi
70
 
 import logging
71
 
 
72
 
 from bzrlib.tests import TestCaseWithTransport
73
 
-from bzrlib.util.configobj.configobj import ConfigObj
74
 
+try:
75
 
+    from bzrlib.util.configobj.configobj import ConfigObj
76
 
+except ImportError:
77
 
+    from configobj import ConfigObj
78
 
 from bzrlib import config
79
 
 
80
 
 from loggerhead.apps.branch import BranchWSGIApp
81
 
--- loggerhead-1.18.1.orig/loggerhead/apps/config.py
82
 
+++ loggerhead-1.18.1/loggerhead/apps/config.py
83
 
@@ -10,7 +10,10 @@ import posixpath
84
 
 
85
 
 import bzrlib.lru_cache
86
 
 
87
 
-from bzrlib.util.configobj.configobj import ConfigObj
88
 
+try:
89
 
+    from bzrlib.util.configobj.configobj import ConfigObj
90
 
+except ImportError:
91
 
+    from configobj import ConfigObj
92
 
 
93
 
 from paste.request import path_info_pop
94
 
 from paste import httpexceptions