[Buildbot-devel] Why 3-level separation?

Ian Peters-Campbell mahatmamanic at gmail.com
Wed Feb 11 14:13:37 UTC 2009

I can't speak to why it was written the way it was, but I can tell you why I
like it. The factory, builder, and build-slave each answer different
questions about the build process.

Buildslaves tell you Where
Factories tell you How
Builds tell you What
Build Requests tell you Who (through manual) or When (through Schedulers),
and Why

Since the different questions about the build are broken into different
objects it allows you to be more efficient both in writing code and in using
physical resources.

It also keeps things more sane by ensuring that particular information about
your build system/builds only needs to be represented once.  By splitting up
the individual questions about the build there is no need to duplicate the
code for build steps, build slave location, SVN branch info, etc.  That lets
you make fewer code/configuration changes and avoid frustrating problems
down the road.

My .02 :)


On Wed, Feb 11, 2009 at 5:41 AM, Dustin J. Mitchell <dustin at zmanda.com>wrote:

> On Wed, Feb 11, 2009 at 7:44 AM, Alexey Eremenko <al4321 at gmail.com> wrote:
> > I have read the docs, but I am still struggling to understand why
> > BuildBot has 3 level hierarchy (factory/builder/build-slave) ?
> >
> > Why two levels hierarchy is not enough (factory/build-slave) ?
> I'm not sure there's a good answer to that, except that it was
> designed that way.  Having an extra level of flexibility doesn't hurt.
> Dustin
> --
> Storage Software Engineer
> http://www.zmanda.com
> ------------------------------------------------------------------------------
> Create and Deploy Rich Internet Apps outside the browser with
> Adobe(R)AIR(TM)
> software. With Adobe AIR, Ajax developers can use existing skills and code
> to
> build responsive, highly engaging applications that combine the power of
> local
> resources and data with the reach of the web. Download the Adobe AIR SDK
> and
> Ajax docs to start building applications today-
> http://p.sf.net/sfu/adobe-com
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20090211/3fcc0792/attachment.html>

More information about the devel mailing list