whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] branch master updated: Allow for MXNet tags
Date Sat, 03 Apr 2021 23:12:43 GMT
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 18262e5  Allow for MXNet tags
18262e5 is described below

commit 18262e553f65c84862e7355aa1793a695bf59695
Author: Sebb <sebb@apache.org>
AuthorDate: Sun Apr 4 00:12:36 2021 +0100

    Allow for MXNet tags
---
 tools/download_check.rb | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/tools/download_check.rb b/tools/download_check.rb
index b6348a3..1325c4b 100755
--- a/tools/download_check.rb
+++ b/tools/download_check.rb
@@ -506,8 +506,12 @@ def _checkDownloadPage(path, tlp, version)
         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'
-        if not base == t and not t == 'checksum'
-            E "Mismatch: #{h} and '#{t}'"
+        if not base == t
+            if t == 'Download' # MXNet
+                W "Mismatch: #{h} and '#{t}'"
+            elsif not t == 'checksum'
+                E "Mismatch: #{h} and '#{t}'"
+            end
         end
     end
   end

Mime
View raw message