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 547b0ed Version list should be non-empty
547b0ed is described below
commit 547b0ed63e2d4bce5539323c665541cf150aaa69
Author: Sebb <[email protected]>
AuthorDate: Sun Aug 29 23:26:57 2021 +0100
Version list should be non-empty
---
tools/download_check.rb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tools/download_check.rb b/tools/download_check.rb
index 54e7d60..30ae2bf 100755
--- a/tools/download_check.rb
+++ b/tools/download_check.rb
@@ -569,6 +569,10 @@ def _checkDownloadPage(path, tlp, version)
W "#{k} Prefer SHA* over MDS #{v.inspect}" if typ == 'live' &&
v.include?('mds') && v.none? {|e| e =~ /^sha\d+$/}
end
+ if $versions.size == 0
+ E "Could not detect any artifact versions -- perhaps it needs JavaScript?"
+ end
+
if @fails > 0 and not $ALWAYS_CHECK_LINKS
W "** Not checking links **"
$NOFOLLOW = true