allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [09/36] git commit: [#6534] ticket:438 fixed regexp
Date Fri, 27 Sep 2013 16:43:14 GMT
[#6534] ticket:438 fixed regexp


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/4797960b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/4797960b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/4797960b

Branch: refs/heads/db/6534
Commit: 4797960b172b4ab6aa546863b3d1b918dc39c394
Parents: 4a182cf
Author: coldmind <sokandpal@yandex.ru>
Authored: Mon Sep 16 16:18:07 2013 +0300
Committer: Dave Brondsema <dbrondsema@slashdotmedia.com>
Committed: Fri Sep 27 16:39:31 2013 +0000

----------------------------------------------------------------------
 ForgeImporters/forgeimporters/github/project.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/4797960b/ForgeImporters/forgeimporters/github/project.py
----------------------------------------------------------------------
diff --git a/ForgeImporters/forgeimporters/github/project.py b/ForgeImporters/forgeimporters/github/project.py
index c969294..e04590a 100644
--- a/ForgeImporters/forgeimporters/github/project.py
+++ b/ForgeImporters/forgeimporters/github/project.py
@@ -31,7 +31,7 @@ from . import tasks
 log = logging.getLogger(__name__)
 
 class GitHubProjectForm(base.ProjectImportForm):
-    project_name = fev.Regex(r'^[a-z0-9][a-z0-9-_.]{,61}$',
+    project_name = fev.Regex(r'^[a-zA-Z0-9-_.]+$',
             not_empty=True,
             messages={
                 'invalid': 'Valid symbols are: letters, numbers, dashes, underscores and
periods',


Mime
View raw message