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 29b588b Add more hash aliases
29b588b is described below
commit 29b588bf24e69b6c6ce6d098b8189e2fc8e395d8
Author: Sebb <[email protected]>
AuthorDate: Thu Sep 30 15:11:40 2021 +0100
Add more hash aliases
---
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 fefff40..e05b7e0 100755
--- a/tools/download_check.rb
+++ b/tools/download_check.rb
@@ -544,8 +544,8 @@ def _checkDownloadPage(path, tlp, version)
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 (ext == 'sha256' or ext == 'sha512') and (t == 'SHA' or t ==
'digest') # generic
- next if ext == 'mds' and tmp == 'hashes'
+ next if (ext == 'sha256' or ext == 'sha512') and (t == 'SHA' or t ==
'digest' or t == 'Digest') # generic
+ next if ext == 'mds' and (tmp == 'hashes' or t == 'Digests')
if base != t
if t == 'Download' # MXNet
W "Mismatch: #{h} and '#{t}'"