mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-27 02:56:31 +00:00
Branch names can contain periods (#3721)
This commit is contained in:
parent
a5cc3cba63
commit
8b7aa7640c
@ -42,7 +42,7 @@ from .const import (
|
||||
from .utils.validate import validate_timezone
|
||||
|
||||
# Move to store.validate when addons_repository config removed
|
||||
RE_REPOSITORY = re.compile(r"^(?P<url>[^#]+)(?:#(?P<branch>[\w\-]+))?$")
|
||||
RE_REPOSITORY = re.compile(r"^(?P<url>[^#]+)(?:#(?P<branch>[\w\-.]+))?$")
|
||||
RE_REGISTRY = re.compile(r"^([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,}$")
|
||||
|
||||
# pylint: disable=no-value-for-parameter
|
||||
|
Loading…
x
Reference in New Issue
Block a user