[Buildbot-devel] New, more efficient web stuff

Benoit Sigoure tsuna at lrde.epita.fr
Fri Jan 4 23:30:01 UTC 2008

On Jan 4, 2008, at 6:04 PM, Jean-Paul Calderone wrote:

> On Fri, 4 Jan 2008 11:43:16 -0500, "Dustin J. Mitchell"  
> <dustin at zmanda.com> wrote:
>> On Jan 4, 2008 11:29 AM, Jean-Paul Calderone <exarkun at divmod.com>  
>> wrote:
>>> It'd be great if twisted.cred were involved in this, so that more  
>>> control
>>> could be more fine-grained and based on authentication.  _I_ want  
>>> to be
>>> able to force builds.  That doesn't mean random spammers with an  
>>> HTTP
>>> client should be able to as well.
>> Yeah.. I'd like to find a way to make that *doable*, without actually
>> doing it (I need to avoid feature creep here!).
> Indeed. :)  I think making it possible isn't very much work.  You  
> just need
> to insinuate guard into the resource hierarchy and then make the  
> resource
> that you have the avatar for the anonymous user.  As developers have
> interest and time, they can create non-anonymous avatars with  
> functionality
> that should be restrict and use various flags to disable  
> functionality for
> the anonymous user.

FWIW, I started to do some work without changing the current code too  
much, my patches can be found here: http://buildbot.net/trac/ticket/138
They offer password protection with one of these:
   - List of login/pass given in the config file
   - .htpasswd-style
   - LDAP
Based on this, we can also implement a *very* convenient feature:  
building with a patch uploaded from the web interface (which is what  
my 10th patch does).


Benoit Sigoure aka Tsuna
EPITA Research and Development Laboratory

More information about the devel mailing list