changeset 526:4a56ebc53ada

tag_pkg_parameters is also used in enterprise tags recipe
author Bjoern Ricks <bricks@intevation.de>
date Mon, 15 Nov 2010 14:41:03 +0000
parents e73a4bbc35e7
children 8138df69a32e
files recipes/kde/enterprise/tags.py treepkg/git.py
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/recipes/kde/enterprise/tags.py	Mon Nov 15 14:34:15 2010 +0000
+++ b/recipes/kde/enterprise/tags.py	Mon Nov 15 14:41:03 2010 +0000
@@ -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]))
--- a/treepkg/git.py	Mon Nov 15 14:34:15 2010 +0000
+++ b/treepkg/git.py	Mon Nov 15 14:41:03 2010 +0000
@@ -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})",
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)