This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch member_data
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/member_data by this push:
new b54defb Skywalking uses .crate
new a0aadb8 Merge branch 'member_data' of
https://gitbox.apache.org/repos/asf/whimsy into member_data
b54defb is described below
commit b54defbd7104b716a7fddf76de9586ba9be6cf15
Author: Sebb <[email protected]>
AuthorDate: Sun Mar 13 12:07:00 2022 +0000
Skywalking uses .crate
---
tools/download_check.rb | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tools/download_check.rb b/tools/download_check.rb
index f4349a1..80eea42 100755
--- a/tools/download_check.rb
+++ b/tools/download_check.rb
@@ -56,7 +56,9 @@ $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)?$}
+# Skywalking uses .crate
+# TODO: better method for detecting artifacts that does not rely on
enumerating types
+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|crate))([&?]action=download)?$}
def init
# build a list of validation errors