From 9065e9bbfdd4a6ae8f5b8611dc08d2e5ecd2f2f2 Mon Sep 17 00:00:00 2001 From: Darragh Elliott Date: Wed, 28 Aug 2024 13:34:50 +0200 Subject: [PATCH] Fix urls for build status reports --- status.fsfe.org/fsfe.org/index.cgi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/status.fsfe.org/fsfe.org/index.cgi b/status.fsfe.org/fsfe.org/index.cgi index 2fd1d35571..b4bb757cee 100755 --- a/status.fsfe.org/fsfe.org/index.cgi +++ b/status.fsfe.org/fsfe.org/index.cgi @@ -78,12 +78,13 @@ fi)
Previous builds
+latest
$( find "$DATADIR" -name "status_*.html" -type f -printf "%f\n" | sort -r | head -n10 | while read stat; do t="${stat#status_}" t="${t%.html}" - printf '%s - %s
' \ - "data/$stat" "$(timestamp "$t")" "$(sed -rn 's;^.*
Duration:
(.+)
.*$;\1;p;T;q' "$stat")" + printf '%s - %s
' \ + "/${PWD##*/}/${DATADIR}/$stat" "$(timestamp "$t")" "$(sed -rn 's;^.*
Duration:
(.+)
.*$;\1;p;T;q' "$stat")" printf $'\n' done )