# HG changeset patch # User Bjoern Ricks # Date 1289832063 0 # Node ID 4a56ebc53ada8c02dee3cf68849e66f98b4b2409 # Parent e73a4bbc35e7057d1ef0b2016536ebad1e11ad8a tag_pkg_parameters is also used in enterprise tags recipe diff -r e73a4bbc35e7 -r 4a56ebc53ada recipes/kde/enterprise/tags.py --- 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])) diff -r e73a4bbc35e7 -r 4a56ebc53ada treepkg/git.py --- 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[0-9]{8})",