[projects/pld-builder.new] request: each builder once in a batch

arekm arekm at pld-linux.org
Sat Nov 28 21:34:40 CET 2026


commit ffc97559382c398946c8f0f94fb0c440d6562f28
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sat Nov 28 20:46:50 2026 +0100

    request: each builder once in a batch
    
    -b 'th-* th-i686' put th-i686 into the batch twice.

 PLD_Builder/request.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/PLD_Builder/request.py b/PLD_Builder/request.py
index cc1f922..11399fc 100644
--- a/PLD_Builder/request.py
+++ b/PLD_Builder/request.py
@@ -426,7 +426,8 @@ class Batch:
                 all.extend(res)
             else:
                 all.append(bld)
-        batch.builders = all
+        # once each: -b 'th-* th-i686' names th-i686 twice
+        batch.builders = list(dict.fromkeys(all))
 
 class Notification:
     def __init__(self, e):
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list