[Buildbot-devel] Splitting slave from master
Dustin J. Mitchell
dustin at zmanda.com
Mon Jun 7 02:00:54 UTC 2010
Well, it's done now! I just merged the split to master:
Basically, all of the code for the buildmaster is now under the
master/ directory in git, and all of the buildslave's code is under
slave/. The buildmaster's Python packge name remains the same
(buildbot) to ensure compatibility with configs and extensions, but
the buildslave is now located under the 'buildslave' package, and uses
the 'buildslave' command to create, start, stop, and restart:
buildslave create-slave master:port name password
buildslave start $basedir
buildslave restart $basedir
buildslave stop $basedir
I debated whether to move the source for the master - the move may
make some merges a bit tricky, although git is very smart about such
things. In the end, I decided that I like the very clean top-level
directory enough to justify any (slight, I think) merge headaches.
Take a peek:
The upshot of all this is that we will now have *two* packages on PyPi
(buildbot and buildslave), and they can be installed independently.
The buildslave has fewer requirements and runs on more platforms.
I'd like to release the current buildslave implementation as
buildslave-0.8.0. After this, buildbot and buildslave would always be
release simultaneously, with the same version numbers.
P.S. There's even talk of writing some other, even simpler buildslave
Open Source Storage Engineer
More information about the devel