Skip to content

Commit

Permalink
Allow firmware versions up to 6 digits
Browse files Browse the repository at this point in the history
Since DSM 6, firmware version is 5 digit length, which prevents
packages built for this version to be published.
  • Loading branch information
ymartin59 committed Jan 21, 2018
1 parent a016a73 commit 911f604
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spkrepo/views/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
api = Blueprint('api', __name__)

# regexes
firmware_re = re.compile(r'^(?P<version>\d\.\d)-(?P<build>\d{3,4})$')
firmware_re = re.compile(r'^(?P<version>\d\.\d)-(?P<build>\d{3,6})$')
version_re = re.compile(r'^(?P<upstream_version>.*)-(?P<version>\d+)$')


Expand Down

0 comments on commit 911f604

Please sign in to comment.