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 fb023a83 TEMP HACK to allow local test fb023a83 is described below commit fb023a839285f1ff2afe7552c3e6ac14c702d76a Author: Sebb <s...@apache.org> AuthorDate: Wed Jan 3 14:09:57 2024 +0000 TEMP HACK to allow local test --- lib/whimsy/sitestandards.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/whimsy/sitestandards.rb b/lib/whimsy/sitestandards.rb index 392a9df1..21eab1b1 100644 --- a/lib/whimsy/sitestandards.rb +++ b/lib/whimsy/sitestandards.rb @@ -177,7 +177,7 @@ module SiteStandards # Get URL to default filename location on server def get_url(is_local = true) - is_local ? (return '../../../www/public/') : (return 'https://whimsy.apache.org/public/') + is_local ? (return '../../../www/public/') : (return 'https://whimsy-vm7.apache.org/public/') # TEMP HACK end # Get check data for tlp | podling @@ -190,6 +190,7 @@ module SiteStandards crawl_time = File.mtime(local_copy).httpdate # show time in same format as last-mod sites = JSON.parse(File.read(local_copy)) else + Wunderbar.warn "Failed to find #{local_copy}" response = Net::HTTP.get_response(URI("#{get_url(false)}#{get_filename(tlp)}")) crawl_time = response['last-modified'] sites = JSON.parse(response.body)