Permalink
Browse files

check repository now support '.' and '_' in its name

  • Loading branch information...
1 parent 7d4b3ed commit a5a4816adcbf6a1fd7af1fd60a31946ec5b8358e Young King committed Jun 7, 2012
Showing with 3 additions and 2 deletions.
  1. +1 −0 README.rst
  2. +1 −1 recipe/git/__init__.py
  3. +1 −1 setup.py
View
@@ -40,4 +40,5 @@ the as_egg feature of ``zerokspot.recipe.git`` .
CHANGES
---------
+- 0.0.4 determine repository now support '.' and '_' in its name.
- 0.0.3 add offline/newest configuration.
View
@@ -34,7 +34,7 @@ def __init__(self, buildout, name, options):
self.as_egg = options.get('as_egg', 'false').lower() == 'true'
# determine repository name
- match = re.search('\/(?P<repo_name>[a-zA-Z0-9-]*)(.git)?$', self.url)
+ match = re.search('\/(?P<repo_name>[a-zA-Z0-9-_.]*)(.git)$', self.url)
if match:
repo_name = match.groupdict()['repo_name']
self.repo_path = os.path.join(self.buildout['buildout']['parts-directory'], repo_name)
View
@@ -3,7 +3,7 @@
setup(
name="git-recipe",
- version='0.0.3',
+ version='0.0.4',
description='Simple buildout recipe for downloading git repositories. It uses system git command and its syntax',
author='Young King',
author_email='yanckin@gmail.com',

0 comments on commit a5a4816

Please sign in to comment.