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 a876d2f  Some projects publish poms
a876d2f is described below

commit a876d2f90c9263c3cf781212bc135abd2bce790d
Author: Sebb <[email protected]>
AuthorDate: Tue Mar 9 01:11:05 2021 +0000

    Some projects publish poms
---
 tools/download_check.rb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tools/download_check.rb b/tools/download_check.rb
index 2cba8dc..0272236 100755
--- a/tools/download_check.rb
+++ b/tools/download_check.rb
@@ -39,7 +39,7 @@ $versions = Hash.new {|h1,k1| h1[k1]=Hash.new {|h2,k2| 
h2[k2]=Array.new} } # key
 # match an artifact
 # TODO detect artifacts by URL as well if possible
 # $1 = base, $2 = extension
-ARTIFACT_RE = 
%r{/([^/]+\.(tar|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\.gz|deb|nbm|dmg|sh|zip|tgz|tar\.bz2|jar|war|msi|exe|rar|rpm|nar|xml))(&action=download)?$}
 
 def init
   # build a list of validation errors
@@ -275,6 +275,7 @@ VERIFY_TEXT = [
  'verification instructions',
  ' encouraged to verify ',
  'To check a GPG signature',
+ 'To verify Hadoop',
  'Instructions for verifying your mirrored downloads', # fineract
 ]
 

Reply via email to