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 a17b5b15 Allow for some pointers
a17b5b15 is described below

commit a17b5b15321199db72d254c9aec4fe4d7001eca7
Author: Sebb <[email protected]>
AuthorDate: Wed Mar 27 00:13:25 2024 +0000

    Allow for some pointers
---
 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 b839c32c..a36a8b2c 100755
--- a/tools/download_check.rb
+++ b/tools/download_check.rb
@@ -577,12 +577,12 @@ def _checkDownloadPage(path, tlp, version)
       else
         E "Bug: found hash #{h} for missing artifact #{stem}"
       end
-      t.strip!
+      t.sub!('➚', '').strip! # age
       next if t == '' # empire-db
       tmp = text2ext(t)
       next if ext == tmp # i.e. link is just the type or [TYPE]
       next if ext == 'sha' and tmp == 'sha1' # historic
-      next if %w(sha256 md5 mds sha512 sha1).include?(ext) and %w(SHA digest 
Digest checksums).include?(t) # generic
+      next if %w(sha256 md5 mds sha512 sha1).include?(ext) and %w(SHA digest 
Digest CheckSum checksums).include?(t) # generic
       next if ext == 'mds' and (tmp == 'hashes' or t == 'Digests')
       if base != t
         if t == 'Download' # MXNet

Reply via email to