[Buildbot-devel] Extending ShellCommand

Fred L. Drake, Jr. fdrake at acm.org
Fri Sep 3 14:07:59 UTC 2004


On Friday 03 September 2004 03:42 am, Brian Warner wrote:
 > Funny you should mention that, take a look at buildbot/status/mail.py . It
 > only sends mail to a static list of recipients, but it's a start. Let me
 > know if you can think of some handy features to add to it.

I have a feature request.  ;-)

The "bots" configuration key is currently iterated over (twice) when the 
configuration is loaded.  I'd like to be able to start a master and add 
slaves "on the fly" without affecting the general status display or active 
slave connections.  Perhaps a nicer approach would be to allow an alternate 
checker to be used; this would be easier if the checker could be passed in to 
the BuildMaster constructor or if there was a factory method that the 
constructor used to actually create the checker.  Building the slave -> 
password mapping when the configuration is loaded doesn't allow much 
flexibility in this regard.

If I could use an arbitrary checker, I'd be able to reference an external file 
that contains the sensitive client -> passwd mapping.  That would also make 
it easier to separate general configuration from security-sensitive 
information (a specific goal for me).  I'm not sure of the best way to wire 
things together since I'm not familiar with the "mktap" system at all.


  -Fred

-- 
Fred L. Drake, Jr.  <fdrake at acm.org>





More information about the devel mailing list