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 d545e73 Another file type
d545e73 is described below
commit d545e733e535552b3ebe1cd0ad6d2ba828955fb9
Author: Sebb <[email protected]>
AuthorDate: Mon Mar 21 22:04:13 2022 +0000
Another file 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 8faa382..17d9a81 100755
--- a/tools/download_check.rb
+++ b/tools/download_check.rb
@@ -56,7 +56,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|whl|war|msi|exe|rar|rpm|nar|xml))([&?]action=download)?$}
+ARTIFACT_RE =
%r{/([^/]+\.(pom|tar|tar\.xz|tar\.gz|deb|nbm|dmg|sh|zip|tgz|far|tar\.bz2|jar|whl|war|msi|exe|rar|rpm|nar|xml))([&?]action=download)?$}
def init
# build a list of validation errors