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 246217b Netbeans use NN not N.M
246217b is described below
commit 246217b4a0b90cd052fcd27ddd89a76eed35816b
Author: Sebb <[email protected]>
AuthorDate: Fri Mar 4 22:42:10 2022 +0000
Netbeans use NN not N.M
---
tools/download_check.rb | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/tools/download_check.rb b/tools/download_check.rb
index e9bb2b2..285c4c4 100755
--- a/tools/download_check.rb
+++ b/tools/download_check.rb
@@ -527,6 +527,8 @@ def _checkDownloadPage(path, tlp, version)
ver += $1
end
$versions[ver][stem] << ext
+ elsif stem =~ %r{netbeans-(\d+)-}i
+ $versions[$1][stem] << ext
else
W "Cannot parse #{stem} for version"
end
@@ -599,15 +601,16 @@ 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
end
+ # Still check links if versions not seen
+ if $versions.size == 0
+ E "Could not detect any artifact versions -- perhaps it needs JavaScript?"
+ end
+
# Check if the links can be read
links.each do |h, t|