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
commit ce25fdaca37a7c627e9dc72362bdd1a04eb42425 Author: Sebb <[email protected]> AuthorDate: Thu Apr 25 13:46:07 2024 +0100 Don't show trivial URL changes --- tools/site-scan.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/site-scan.rb b/tools/site-scan.rb index 9877fb58..1a907412 100755 --- a/tools/site-scan.rb +++ b/tools/site-scan.rb @@ -208,7 +208,11 @@ def parse(id, site, name, podling=false) subpages.each do |subpage| begin uri, response, status = $cache.get(subpage) - puts "#{id} #{subpage} => #{uri} #{status}" # uri might be nil + if uri&.to_s == subpage or uri&.to_s == subpage + '/' + puts "#{id} #{uri} #{status}" + else + puts "#{id} #{subpage} => #{uri} #{status}" + end if %w{unchanged recent updated}.include? status if response =~ SiteStandards::PODLING_CHECKS['disclaimer'][SiteStandards::CHECK_CAPTURE] hasdisclaimer += 1
