Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions planemo/shed/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@

# TODO: sync this with tool shed impl someday
VALID_REPOSITORYNAME_RE = re.compile(r"^[a-z0-9\_]+$")
VALID_PUBLICNAME_RE = re.compile(r"^[a-z0-9\-]+$")
VALID_PUBLICNAME_RE = re.compile(r"^[a-z0-9._\-]+$")


# Generate with python scripts/categories.py
CURRENT_CATEGORIES = [
Expand Down Expand Up @@ -1392,7 +1393,7 @@ def _build_error(descript):
)
if not(VALID_PUBLICNAME_RE.match(owner)):
msg = _build_error(
"Owner must contain only lower-case letters, numbers and '-'"
"Owner must contain only lower-case letters, numbers, dots, underscores, and '-'"
)
return msg

Expand Down