[Buildbot-devel] buildbot try, which steps.source.oldsource.SVN

David Froger david.froger.ml at gmail.com
Wed Mar 28 14:06:15 UTC 2012


Thanks, alwaysUseLatest could be a solution for me.

I've just try to modifiy buildbot/steps/source/oldsource.py like this:

I've added a parameter  "do_not_patch=False" to the __init__ method of SVN.
(I then initialize self.do_no_patch and pass it also to
self.addFactoryArguments).

Then in the getSvnUrl method, I've added:
       if self.do_not_patch:
              patch = None

It seems to work, the patch is not applied for source step created
with "do_not_patch=True" (but of
course the html page still wrongly reports the patch is applied).

I could use this temporary solution until Buildbot 0.8.7. Do you think
it is safe?

Thanks,
David




More information about the devel mailing list