[Buildbot-commits] buildbot ChangeLog,1.859,1.860

Brian Warner warner at users.sourceforge.net
Mon Jul 2 17:50:19 UTC 2007


Update of /cvsroot/buildbot/buildbot
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv29340

Modified Files:
	ChangeLog 
Log Message:
[project @ choose slaves randomly rather than always picking the first one, closes #36]

Original author: warner at lothar.com
Date: 2007-07-02 17:49:12+00:00

Index: ChangeLog
===================================================================
RCS file: /cvsroot/buildbot/buildbot/ChangeLog,v
retrieving revision 1.859
retrieving revision 1.860
diff -u -d -r1.859 -r1.860
--- ChangeLog	2 Jul 2007 17:44:47 -0000	1.859
+++ ChangeLog	2 Jul 2007 17:50:16 -0000	1.860
@@ -1,5 +1,14 @@
 2007-07-02  Brian Warner  <warner at lothar.com>
 
+	* buildbot/process/builder.py (Builder.maybeStartBuild): choose
+	the slave randomly rather than always taking the first one. Thanks
+	to Pike for the patch. Closes #36.
+	* buildbot/test/test_slaves.py: match the change. to avoid huge
+	changes to the tests, I added a CHOOSE_SLAVES_RANDOMLY flag which
+	enables/disables the round-robin-ness (enabled by default), and
+	some unit tests disable it.
+	* docs/buildbot.texinfo (Buildmaster Architecture): document it
+
 	* buildbot/slave/bot.py (BuildSlave.__init__): rename the 'host'
 	argument to 'buildmaster_host', to make it more obvious that this
 	points to the buildmaster. Thanks to Bob Proulx for the





More information about the Commits mailing list