More docs

This commit is contained in:
Klaas van Schelven
2023-12-09 10:09:17 +01:00
parent 269ee2e66d
commit dd9df78b64

View File

@@ -9,6 +9,9 @@ from django.utils import timezone
RE_PACKAGE_VERSION = re.compile('((?P<package>.*)[@])?(?P<version>.*)')
# We don't actually parse for HEX yet (it's simply non-semver to us) but if we do we could use the following lengths:
# 12 | 16 | 20 | 32 | 40 | 64
def is_valid_semver(full_version):
try: