[Treepkg-commits] r489 - in trunk: recipes/kde/enterprise treepkg
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Mon Nov 15 15:41:03 CET 2010
Author: bricks
Date: 2010-11-15 15:41:03 +0100 (Mon, 15 Nov 2010)
New Revision: 489
Modified:
trunk/recipes/kde/enterprise/tags.py
trunk/treepkg/git.py
Log:
tag_pkg_parameters is also used in enterprise tags recipe
Modified: trunk/recipes/kde/enterprise/tags.py
===================================================================
--- trunk/recipes/kde/enterprise/tags.py 2010-11-15 14:34:15 UTC (rev 488)
+++ trunk/recipes/kde/enterprise/tags.py 2010-11-15 14:41:03 UTC (rev 489)
@@ -59,7 +59,7 @@
self.tag_revision = tag_revision
self.tag_rules_url = tag_rules_url
self.tag_rules_revision = tag_rules_revision
- tag_date, tag_change_count = self.tag_pkg_parameters(tag_url)
+ tag_date, tag_change_count = self.tag_detector.tag_pkg_parameters(tag_url)
pkg_revision = (self.pkg_revision_template
% dict(pkg_revision=tag_change_count,
rules_revision=revision[1]))
Modified: trunk/treepkg/git.py
===================================================================
--- trunk/treepkg/git.py 2010-11-15 14:34:15 UTC (rev 488)
+++ trunk/treepkg/git.py 2010-11-15 14:41:03 UTC (rev 489)
@@ -173,7 +173,7 @@
return urlrev
def tag_pkg_parameters(self, tag_name):
- # FIXME: Don't hardcore svn tag path and regex
+ # FIXME: Don't hardcore regex
#match = re.search(r"enterprise[^.]*\.[^.]*\."
match = re.search(r"enterprise[^.]*"
r"(?P<date>[0-9]{8})",
More information about the Treepkg-commits
mailing list