[Buildbot-devel] sharing buildsteps

Stefan Seefeld seefeld at sympatico.ca
Wed Nov 21 17:56:51 UTC 2007


Brian Warner wrote:
> On Mon, 19 Nov 2007 14:01:19 -0500
> "Greg Ward" <gerg.ward+buildbot at gmail.com> wrote:
> 
>> I don't know what the Official Recommended Best Practice is, but I
>> have been using good old-fashioned procedural abstraction.
> 
> FWIW, I've been using a similar approach, where I create the BuildFactories
> in a python subroutine in my master.cfg, usually with some parameters that
> control the inputs to certain buildsteps. For example, one of them looks like
> this:

Yes, I can see how this works (and in fact that is how I have done it
myself). However, I wonder whether it wouldn't be possible to cover the
same functionality with a more declarative syntax (given that we are
talking about a configuration file).

Brian, I know you had plans to implement a 'clone' method for steps.
As the BuildFactories already are sharable, I wonder what's missing to
make individual steps sharable, too. It's just a different granularity...

Many thanks,
		Stefan

-- 

      ...ich hab' noch einen Koffer in Berlin...




More information about the devel mailing list