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 2016/04/05 22:36:21 UTC
[whimsy] branch master updated: Tidy some messages
This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 337d4dd Tidy some messages
337d4dd is described below
commit 337d4dd94df9b5faa9cb5178cfe89f981d3ec88c
Author: Sebb <se...@apache.org>
AuthorDate: Tue Apr 5 21:36:13 2016 +0100
Tidy some messages
---
tools/mirror_check.rb | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/tools/mirror_check.rb b/tools/mirror_check.rb
index ca78aa4..b94a4b8 100755
--- a/tools/mirror_check.rb
+++ b/tools/mirror_check.rb
@@ -148,19 +148,19 @@ def checkIndex(page, type)
zzz = links.index('zzz')
if fav and zzz
if fav < zzz
- W "Incorrect page order - found favicon.ico before zzz/; folders should be listed before files"
+ W "Index for #{type}: incorrect #{type} page order - found favicon.ico before zzz/; folders should be listed before files"
else
- I "Found favicon.ico and zzz/ in the page in the correct order (i.e. folders are listed before files)"
+ I "Index for #{type}: found favicon.ico and zzz/ in the page in the correct order (i.e. folders are listed before files)"
end
else
- W "Expecting to find favicon.ico #{fav} and zzz/ #{zzz} in the page"
+ W "Index for #{type}: expected to find favicon.ico #{fav} and zzz/ #{zzz} in the page, but at least one is missing"
end
end
links.each {|l|
- W "Index #{type} the link #{l} is not shown on ASF site" unless asfData.include? l
+ W "Index for #{type}: the link #{l} is not shown on ASF site" unless asfData.include? l
}
asfData.each {|l|
- W "Index #{type} the link #{l} is not shown on SUT" unless links.include? l
+ W "Index for #{type}: the link #{l} is not shown on the mirror site" unless links.include? l
}
end
@@ -173,8 +173,6 @@ def parseIndexPage(page)
links.each { |l|
if l[1] == l[0]
folders << l[1]
- else
- print "Mistmatched names: #{l}\n"
end
}
folders
--
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <co...@whimsical.apache.org>'].