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 b9d9fb1d Ignore @nn: prefix
b9d9fb1d is described below

commit b9d9fb1de07a89a33d414c5b60c928285262862f
Author: Sebb <[email protected]>
AuthorDate: Sun Jun 15 23:56:52 2025 +0100

    Ignore @nn: prefix
---
 www/status/monitors/site_scan.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/status/monitors/site_scan.rb b/www/status/monitors/site_scan.rb
index 5a3d4f62..b33ecb88 100644
--- a/www/status/monitors/site_scan.rb
+++ b/www/status/monitors/site_scan.rb
@@ -19,8 +19,8 @@ def StatusMonitor.site_scan(previous_status)
   logfile = File.join(logdir, 'site-scan')
   log = File.read(logfile)
 
-  # Drop standard cache info
-  log.gsub! /^([-\w]+ )*https?:\S+ (=> \S* )?\w+\n/, ''
+  # Drop standard cache info (may have @nn: prefix)
+  log.gsub! /^(@\d+:)?([-\w]+ )*https?:\S+ (=> \S* )?\w+\n/, ''
   # Drop other info (must agree with scanner script)
   log.gsub! %r{^(Started|Ended|Events):.+\n}, '' # drop 'Events: already have'
 

Reply via email to