[Buildbot-devel] How many VCS does buildbot support?
Dustin J. Mitchell
dustin at zmanda.com
Thu Jul 9 13:31:34 UTC 2009
On Thu, Jul 9, 2009 at 3:16 AM, Anantvijay K<anantvijayk.ml at gmail.com> wrote:
> Looking through the source found out the following:
> 1. buildbot/steps/source.py
> It has a class named "Git" derived from a class called "Source"
> 2. buildbot/slave/commands.py
> It also has a class named "Git" derived from a class called
> "SourceBase". Later registers the command.
You've found the two places (master-side and slave-side) that you'll
need to modify. They communicate via an RPC mechanism called PB which
invokes remote_foo methods on the slave side via callRemote() calls on
the master.
> So i've to modify both the classes?? Is there a howto/steps for supporting a
> new VCS. Can u help me out with the steps to support android. It would be
> better if i could get a checklist saying modify/write this, this, and
> this...
You'll need to read through how those classes work, and think about
the differences between the android system and git, and how to reflect
those in Python code. Hopefully the differences are fairly minor.
This is *Twisted* Python, so you'll also need to read up on
programming with Deferreds rather than the usual threaded-application
model.
Dustin
--
Open Source Storage Engineer
http://www.zmanda.com
More information about the devel
mailing list