[Buildbot-devel] [PATCH 0/11] Patch series to enhance the WebStatus

Benoit Sigoure tsuna at lrde.epita.fr
Sat Dec 8 21:34:36 UTC 2007


On Nov 21, 2007, at 10:28 AM, Brian Warner wrote:

> Being able to use LDAP as an authentication backend is a nifty  
> idea. I assume
> that the library you're using is going to block, though, which  
> isn't quite in
> keeping with the rest of the twisted-based system (specifically if  
> the LDAP
> server takes more than a moment to respond, everything else in the
> buildmaster will be stuck waiting for it.. other waterfall users,  
> build
> scheduling, sending out slave commands, etc).

Python-LDAP can do both synchronous and asynchronous requests, but I  
used synchronous ones, it was more straightforward.  My LDAP server  
answers very fast since it's a dedicated gateway on the same local  
network.  But admittedly, that's an issue that must be addressed.

> Twisted has an authentication framework named 'Cred' that is partially
> supported by twisted.web and might be a more 'official' way to  
> implement
> password-protection on specific web pages. (by 'more official' I  
> mean more
> likely to be supported by other Twisted developers and libraries).  
> I haven't
> really used it much, though, so I couldn't say whether it is  
> suitable for
> this purpose. The ideal approach would be a Cred-based LDAP client,  
> but I
> don't even know if such a thing exists.


Yes, that would be better indeed, alas I will not have time to even  
start thinking about it before January.  And even then, I'm not sure  
I'll be able to dedicate more time on this.  I don't know Twisted *at  
all* and although I'd like to learn, I'm afraid I won't have time to  
do so.

Anyways, in the mean time, in case someone wants to give it a try, I  
updated the last 4 patches of ticket #138 (http://buildbot.net/trac/ 
ticket/138) so that they apply cleanly on top of Buildbot's darcs HEAD.

Cheers,

-- 
Benoit Sigoure aka Tsuna
EPITA Research and Development Laboratory


-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://buildbot.net/pipermail/devel/attachments/20071208/015922d8/attachment.bin>


More information about the devel mailing list