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 e757648 Allow archived artifacts with warning
e757648 is described below
commit e757648ce936b5e3545bb16ed5af7953c0beee7d
Author: Sebb <[email protected]>
AuthorDate: Tue Mar 15 00:12:15 2022 +0000
Allow archived artifacts with warning
---
tools/download_check.rb | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/tools/download_check.rb b/tools/download_check.rb
index f4349a1..4db2627 100755
--- a/tools/download_check.rb
+++ b/tools/download_check.rb
@@ -690,6 +690,10 @@ def _checkDownloadPage(path, tlp, version)
break
end
end
+ if bdy.include? 'The object is in our archive'
+ W "File is archived: '#{name}' in page: '#{h}'"
+ next
+ end
end
end
if path
@@ -705,7 +709,7 @@ def _checkDownloadPage(path, tlp, version)
E "NAK: ct='#{ct}' cl='#{cl}' #{path}"
end
else
- E "Could not find link for '#{name}' in page: '#{h}' (missing or
archived)"
+ E "Could not find link for '#{name}' in page: '#{h}' (missing)"
end
end
elsif h =~ %r{\.(md5|sha\d*)$}