This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new ac7cddb Allow for .whl type
ac7cddb is described below
commit ac7cddb1112482ed0c523bf9a9c2e31c6c614ce8
Author: Sebb <[email protected]>
AuthorDate: Sun Sep 19 00:28:31 2021 +0100
Allow for .whl type
---
tools/download_check.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/download_check.rb b/tools/download_check.rb
index 0a34a63..bab9c2b 100755
--- a/tools/download_check.rb
+++ b/tools/download_check.rb
@@ -41,7 +41,7 @@ $versions = Hash.new {|h1, k1| h1[k1] = Hash.new {|h2, k2|
h2[k2] = Array.new} }
# match an artifact
# TODO detect artifacts by URL as well if possible
# $1 = base, $2 = extension
-ARTIFACT_RE =
%r{/([^/]+\.(pom|tar|tar\.xz|tar\.gz|deb|nbm|dmg|sh|zip|tgz|tar\.bz2|jar|war|msi|exe|rar|rpm|nar|xml))(&action=download)?$}
+ARTIFACT_RE =
%r{/([^/]+\.(pom|tar|tar\.xz|tar\.gz|deb|nbm|dmg|sh|zip|tgz|tar\.bz2|jar|whl|war|msi|exe|rar|rpm|nar|xml))(&action=download)?$}
def init
# build a list of validation errors