Merge pull request #2986 from coreos-inc/temp-name-fix

Temp revert dot fix because it applies to repo names as well on pull
This commit is contained in:
josephschorr 2018-01-26 14:44:57 -05:00 committed by GitHub
commit 5e82538fd5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,7 +5,7 @@ import anunidecode # Don't listen to pylint's lies. This import is required for
from uuid import uuid4
REPOSITORY_NAME_REGEX = re.compile(r'^[a-zA-Z0-9_-]+$')
REPOSITORY_NAME_REGEX = re.compile(r'^[\.a-zA-Z0-9_-]+$')
VALID_TAG_PATTERN = r'[\w][\w.-]{0,127}'
FULL_TAG_PATTERN = r'^[\w][\w.-]{0,127}$'