[Python-modules-commits] r12321 - in packages/turbogears2/trunk/debian (4 files)
zack at users.alioth.debian.org
zack at users.alioth.debian.org
Sun Mar 21 18:51:35 UTC 2010
Date: Sunday, March 21, 2010 @ 18:51:31
Author: zack
Revision: 12321
new patch routes-mapper-minimize-by-default
enables Routes mapper minimization
it is required by TG2, but it has been disabled in python-routes
(>=1.12)
(Closes: #574640)
Added:
packages/turbogears2/trunk/debian/patches/
packages/turbogears2/trunk/debian/patches/routes-mapper-minimize-by-default
packages/turbogears2/trunk/debian/patches/series
Modified:
packages/turbogears2/trunk/debian/changelog
Modified: packages/turbogears2/trunk/debian/changelog
===================================================================
--- packages/turbogears2/trunk/debian/changelog 2010-03-21 18:34:31 UTC (rev 12320)
+++ packages/turbogears2/trunk/debian/changelog 2010-03-21 18:51:31 UTC (rev 12321)
@@ -1,6 +1,10 @@
turbogears2 (2.0.3-2) UNRELEASED; urgency=low
- * add quilt support (build-dup, CDBS snippet)
+ * add quilt support (build-dep, CDBS snippet)
+ * add patch routes-mapper-minimize-by-default which enables Routes
+ mapper minimization: it is required by TG2, but it has been disabled
+ in python-routes (>= 1.12). Thanks to Piotr Ożarowski for the patch!
+ (Closes: #574640)
-- Stefano Zacchiroli <zack at debian.org> Sun, 21 Mar 2010 19:32:01 +0100
Added: packages/turbogears2/trunk/debian/patches/routes-mapper-minimize-by-default
===================================================================
--- packages/turbogears2/trunk/debian/patches/routes-mapper-minimize-by-default (rev 0)
+++ packages/turbogears2/trunk/debian/patches/routes-mapper-minimize-by-default 2010-03-21 18:51:31 UTC (rev 12321)
@@ -0,0 +1,10 @@
+--- a/tg/configuration.py
++++ b/tg/configuration.py
+@@ -211,6 +211,7 @@
+
+ map = Mapper(directory=config['pylons.paths']['controllers'],
+ always_scan=config['debug'])
++ map.minimization = True
+
+ # Setup a default route for the root of object dispatch
+ map.connect('*url', controller='root', action='routes_placeholder')
Added: packages/turbogears2/trunk/debian/patches/series
===================================================================
--- packages/turbogears2/trunk/debian/patches/series (rev 0)
+++ packages/turbogears2/trunk/debian/patches/series 2010-03-21 18:51:31 UTC (rev 12321)
@@ -0,0 +1 @@
+routes-mapper-minimize-by-default
More information about the Python-modules-commits
mailing list