[Buildbot-commits] [Buildbot] #2537: nextSlave is given a list of slavebuilders, not slaves

Buildbot trac trac at buildbot.net
Tue Jul 30 05:21:35 UTC 2013


#2537: nextSlave is given a list of slavebuilders, not slaves
---------------------+-----------------------
Reporter:  LegNeato  |      Owner:
    Type:  defect    |     Status:  new
Priority:  minor     |  Milestone:  undecided
 Version:  0.8.7p1   |   Keywords:
---------------------+-----------------------
 nextSlave is given a list of slavebuilders, not slaves. The docs says it
 is slaves:

 http://buildbot.readthedocs.org/en/v0.8.7p1/manual/cfg-builders.html

 "The function is passed two arguments, the Builder object which is
 assigning a new job, and a list of BuildSlave objects. The function should
 return one of the BuildSlave objects, or None if none of the available
 slaves should be used"

 Also, returning a slavebuilder works just fine.

 Either the docs are wrong or this is a bug. Happy to put up a patch for
 either, just not sure what is expected.

-- 
Ticket URL: <http://trac.buildbot.net/ticket/2537>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list