commit/galaxy-central: davebgx: Reduce minimum length of repository names from 4 characters to 2.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/5834b1066462/ Changeset: 5834b1066462 Branch: stable User: davebgx Date: 2014-12-16 20:00:50+00:00 Summary: Reduce minimum length of repository names from 4 characters to 2. Affected #: 1 file diff -r c265480083ecb81f1e968521932342137807601c -r 5834b1066462dd219f67c1c3cbd77c78e7cf3a6c lib/tool_shed/util/repository_util.py --- a/lib/tool_shed/util/repository_util.py +++ b/lib/tool_shed/util/repository_util.py @@ -322,8 +322,8 @@ return 'You have a deleted repository named <b>%s</b>, so choose a different name.' % name else: return "You already have a repository named <b>%s</b>, so choose a different name." % name - if len( name ) < 4: - return "Repository names must be at least 4 characters in length." + if len( name ) < 2: + return "Repository names must be at least 2 characters in length." if len( name ) > 80: return "Repository names cannot be more than 80 characters in length." if not( VALID_REPOSITORYNAME_RE.match( name ) ): Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
commits-noreply@bitbucket.org