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 81925c0 Only warn for missing Maven sig/hash
81925c0 is described below
commit 81925c0e23cf7550ec5e9c4b9a5924366ac4604e
Author: Sebb <[email protected]>
AuthorDate: Mon Mar 28 10:08:52 2022 +0100
Only warn for missing Maven sig/hash
---
tools/download_check.rb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/download_check.rb b/tools/download_check.rb
index f52d175..64c4ae2 100755
--- a/tools/download_check.rb
+++ b/tools/download_check.rb
@@ -596,9 +596,9 @@ def _checkDownloadPage(path, tlp, version)
v = w.dup
typ = v.shift
unless v.include? "asc" and v.any? {|e| e =~ /^sha\d+$/ or e == 'md5' or e
== 'sha' or e == 'mds'}
- if typ == 'live' || typ == 'maven'
+ if typ == 'live'
E "#{k} missing sig/hash: (found only: #{v.inspect})"
- elsif typ == 'archive'
+ elsif typ == 'archive' || typ == 'maven' # Maven does not include recent
hash types; so warn only
W "#{k} missing sig/hash: (found only: #{v.inspect})"
else
E "#{k} missing sig/hash: (found only: #{v.inspect}) TYPE=#{typ}"