pld-builder.new: PLD_Builder/request_handler.py - cvs up command goes to sr...

arekm arekm at pld-linux.org
Fri Jul 17 14:18:15 CEST 2009


Author: arekm                        Date: Fri Jul 17 12:18:15 2009 GMT
Module: pld-builder.new               Tag: HEAD
---- Log message:
- cvs up command goes to src builder, too

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

---- Diffs:

================================================================
Index: pld-builder.new/PLD_Builder/request_handler.py
diff -u pld-builder.new/PLD_Builder/request_handler.py:1.43 pld-builder.new/PLD_Builder/request_handler.py:1.44
--- pld-builder.new/PLD_Builder/request_handler.py:1.43	Tue Apr  7 16:23:26 2009
+++ pld-builder.new/PLD_Builder/request_handler.py	Fri Jul 17 14:18:10 2009
@@ -74,9 +74,15 @@
             lockf.close()
             return
 
-        batch.expand_builders(config.binary_builders)
+        # src builder handles only special commands
+        if batch.is_command() and batch.command in ["cvs up"]:
+            batch.expand_builders(config.binary_builders + [config.src_builder])
+        else:
+            batch.expand_builders(config.binary_builders)
+
         if not batch.is_command() and config.builder in batch.builders:
             batch.builders.remove(config.builder)
+
         for bld in batch.builders:
             batch.builders_status[bld] = '?'
             if bld not in config.binary_builders and bld != config.builder:
================================================================

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



More information about the pld-cvs-commit mailing list