upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/tools/progress_dashboard.py
diff options
context:
space:
mode:
authorHanioe2 <245803318+Hanioe2@users.noreply.github.com>2026-11-23 07:13:01 +0800
committerHanioe2 <245803318+Hanioe2@users.noreply.github.com>2026-11-23 07:13:01 +0800
commitde16453976ba34a538e7249a63ca2aa2f85a36c9 (patch)
tree9976091a2daf4f9ff7842fc1442e5d036a2eefd9 /tools/progress_dashboard.py
parent9b04ba4c104d3373ad8b50a1ac3c99aa1c53667d (diff)
BUILD-1129: recognize the checkout directory before trailing log text
Diffstat (limited to 'tools/progress_dashboard.py')
-rw-r--r--tools/progress_dashboard.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/progress_dashboard.py b/tools/progress_dashboard.py
index 5f2ebf47e..7f1528dfc 100644
--- a/tools/progress_dashboard.py
+++ b/tools/progress_dashboard.py
@@ -125,7 +125,7 @@ def scrub(text, limit=240):
125 else: 125 else:
126 checkout = rf"(?<![\w.:/~]){re.escape(ROOT)}" 126 checkout = rf"(?<![\w.:/~]){re.escape(ROOT)}"
127 # Consume a same-prefix sibling too, so shown() can redact its entire path. 127 # Consume a same-prefix sibling too, so shown() can redact its entire path.
128 checkout_path = rf"{checkout}(?:[^\s'\"]+|(?=$|['\"]))" 128 checkout_path = rf"{checkout}[^\s'\"]*"
129 drive_path = r"(?i:\b[a-z]:[\\/][^\s'\"]*)" 129 drive_path = r"(?i:\b[a-z]:[\\/][^\s'\"]*)"
130 posix_path = r"(?<![\w.:/~])/[^\s/'\"][^\s'\"]*" 130 posix_path = r"(?<![\w.:/~])/[^\s/'\"][^\s'\"]*"
131 line = re.sub(rf"{checkout_path}|{drive_path}|{posix_path}", shown, line) 131 line = re.sub(rf"{checkout_path}|{drive_path}|{posix_path}", shown, line)