pld-builder.new: PLD_Builder/request_handler.py - expand src builder also w...

arekm arekm at pld-linux.org
Wed Jul 22 05:28:29 CEST 2009


Author: arekm                        Date: Wed Jul 22 03:28:29 2009 GMT
Module: pld-builder.new               Tag: HEAD
---- Log message:
- expand src builder also when job sent directly to it

---- Files affected:
pld-builder.new/PLD_Builder:
   request_handler.py (1.44 -> 1.45) 

---- Diffs:

================================================================
Index: pld-builder.new/PLD_Builder/request_handler.py
diff -u pld-builder.new/PLD_Builder/request_handler.py:1.44 pld-builder.new/PLD_Builder/request_handler.py:1.45
--- pld-builder.new/PLD_Builder/request_handler.py:1.44	Fri Jul 17 14:18:10 2009
+++ pld-builder.new/PLD_Builder/request_handler.py	Wed Jul 22 05:28:23 2009
@@ -75,7 +75,7 @@
             return
 
         # src builder handles only special commands
-        if batch.is_command() and batch.command in ["cvs up"]:
+        if batch.is_command() and (batch.command in ["cvs up"] or config.builder in batch.builders):
             batch.expand_builders(config.binary_builders + [config.src_builder])
         else:
             batch.expand_builders(config.binary_builders)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/pld-builder.new/PLD_Builder/request_handler.py?r1=1.44&r2=1.45&f=u



More information about the pld-cvs-commit mailing list