[Buildbot-devel] Enable force build of arbitrary revision

Brian Warner warner-buildbot at lothar.com
Thu Oct 20 22:51:37 UTC 2005


>From: Brad Hards <bradh at frogmouth.net>

> During investigation in support of the SVN rework I recently suggested,
> I implemented a simple change that allows the ability to force build of an
> arbitrary revision from the web interface.
> 
> This is a bit nasty, in that I'm modifying a deprecated API, but it might 
> still be of general use.

I'm incorporating parts of your patch in now, during the build-on-branch
developement I'm trying to finish up before 0.7.0 can get released. If
enabled, you'll be able to build a specific branch and/or revision from web
page or via the IRC bot.

I've updated CVS to use the new 'requestBuildSoon' method instead of
'forceBuild', so I'm implementing this on the HTML/IRC side by varying the
way the SourceStamp is constructed.

The only major functional difference is that if no revision is specified, the
SourceStamp revision= argument should get None rather than a SVN/CVS-specific
"HEAD" value.

thanks,
 -Brian




More information about the devel mailing list