[Buildbot-devel] How many VCS does buildbot support?

Anantvijay K anantvijayk.ml at gmail.com
Tue Jul 7 06:41:04 UTC 2009

Hey Dustin, list,

I'm also stuck up into a similiar problem.

I've setup a buildbot for android. Android doesn't use "Git" commands
directly, but instead uses a command called "repo" to checkout out the
source. So i cannot use the git source step in the buildbot.

My source checkout step is:
f1.addStep(shell.ShellCommand, description= "Initialize the repo, sync and
checkout the tag", command= "repo_init.sh", haltOnFailure=True)

The repo_init.sh is the script which runs the commands:
repo init -u git://android.git.kernel.org/platform/manifest.git
repo sync
repo forall -c git checkout TAGXYZ

This is working quite fine, but there is an issue with the source stamp. It
always shows the branch "HEAD" instead of the tag being checked out "
TAGXYZ".Browsing through the buildbot source (buildbot/steps/source.py),
found that the revision is being set in the source checkout step of each
version control system. But since the "repo" command is not supported in the
buildbot, how do i go ahead to set the revision?. Also the waterfall results
page shows as
 Recent Builds:

   - (Jul 07 00:30) rev=[??] success
   build successful
   - (Jul 06 00:30) rev=[??] failure
   failed shell_4
   - (Jul 05 00:30) rev=[??] failure
   failed shell_4
   - (Jul 04 00:30) rev=[??] failure
   failed shell_4
   - (Jul 03 00:30) rev=[??] failure
   failed shell_4

You can make out that the revision is being shown as question marks. I'm
using a nightly scheduler.

Any help???


> On Mon, Jul 6, 2009 at 10:21 PM, Stephen Thorne<stephen at thorne.id.au>
> wrote:
> > Certainly not. It just means he's not going to write the code
> Definitely.
> > You can write the ClearCase plugin yourself if you want to.
> Plugin? Yes.
> Source step in buildbot/steps/source.py?  Well, if you send me a patch
> tomorrow, I'll probably relent and merge it, but I would really rather
> not have such a beast in the codebase, since I can't maintain it.
> Dustin
> --
> Open Source Storage Engineer
> http://www.zmanda.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20090707/cae72a6f/attachment.html>

More information about the devel mailing list