[projects/pld-builder.new] queue_html: link the log of a SKIP_REQUESTED build

arekm arekm at pld-linux.org
Sun Nov 15 01:57:36 CET 2026


commit 7b40243a7a2123f3ee18477601b6131ea5eda8c4
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sat Nov 14 23:58:26 2026 +0100

    queue_html: link the log of a SKIP_REQUESTED build
    
    Its log is on buildlogs, from the start of the build to where it was
    skipped; only a batch skipped for a failed dependency has none.

 PLD_Builder/queue_html.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/PLD_Builder/queue_html.py b/PLD_Builder/queue_html.py
index cd9c6d1..1636b0b 100644
--- a/PLD_Builder/queue_html.py
+++ b/PLD_Builder/queue_html.py
@@ -243,8 +243,8 @@ def builder_html(batch, name, request_id, history):
         if took:
             last_ok = f"last OK time: {duration(last[1] - last[0])}"
 
-    # a skipped batch was not built, so it has no log
-    if is_final(status) and not status.startswith("SKIP"):
+    # only a batch skipped for a failed dependency never ran, so it has no log; SKIP_REQUESTED has one
+    if is_final(status) and status != "SKIP":
         log = f'<a class=log href="{escape(build_log(batch, name, status, request_id))}">log</a>'
     # right after the status: "OK (2m 12s, last OK time: 2m 05s, log)"
     more = ", ".join(([f"<b class=took{data}>{took}</b>"] if took else []) + ([last_ok] if last_ok else []) + ([log] if log else []))
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/pld-builder.new.git/commitdiff/eda6f4d5bf132e3dd0d7cff6f80b7023fc0402ab



More information about the pld-cvs-commit mailing list