You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2021/04/13 14:52:21 UTC
[whimsy] branch master updated: Tidy up some log text
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 b84f164 Tidy up some log text
b84f164 is described below
commit b84f164b606624748a6e2514901e664562588eba
Author: Sebb <se...@apache.org>
AuthorDate: Tue Apr 13 15:52:14 2021 +0100
Tidy up some log text
---
tools/download_check.rb | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tools/download_check.rb b/tools/download_check.rb
index 023d13a..955c41e 100755
--- a/tools/download_check.rb
+++ b/tools/download_check.rb
@@ -198,7 +198,7 @@ def check_page(path, severity=:E, expectedStatus="200", log=true)
test(severity, "Fetched #{path} - HTTP status: #{code} expected: #{expectedStatus}") unless severity == nil
return nil
end
- I "Fetched #{path} - OK (#{code})" if log
+ I "Checked GET #{path} - OK (#{code})" if log
puts "Fetched #{path} - OK (#{code})" if $CLI
if code == '200'
return response.body
@@ -560,11 +560,11 @@ def _checkDownloadPage(path, tlp, version)
if $ARCHIVE_CHECK
check_head(h, :E, "200", true, true)
else
- I "Ignoring archive hash #{h}"
+ I "Ignoring archived hash #{h}"
end
elsif host
if $NOFOLLOW
- I "Skipping archive hash #{h}"
+ I "Skipping artifact hash #{h}"
else
check_head(h, :E, "200", true, true)
end
@@ -587,7 +587,7 @@ def _checkDownloadPage(path, tlp, version)
_ext = $2
if h =~ %r{https?://archive\.apache\.org/}
unless $ARCHIVE_CHECK
- I "Ignoring archive artifact #{h}"
+ I "Ignoring archived artifact #{h}"
next
end
end