2.5.12.5. Darcs
- class buildbot.steps.source.darcs.Darcs
The Darcs build step performs a Darcs checkout or update.
from buildbot.plugins import steps
factory.addStep(steps.Darcs(repourl='http://path/to/repo',
mode='full', method='clobber', retry=(10, 1)))
Darcs step takes the following arguments:
repourl(required): The URL at which the Darcs source repository is available.
mode
(optional): defaults to
'incremental'. Specifies whether to clean the build tree or not.
incrementalThe source is update, but any built files are left untouched.
fullThe build tree is clean of any built files. The exact method for doing this is controlled by the
methodargument.
method(optional): defaults to
copywhen mode isfull. Darcs’ incremental mode does not require a method. The full mode has two methods defined:clobberIt removes the working directory for each build then makes full checkout.
copyThis first checkout source into source directory then copy the
sourcedirectory tobuilddirectory then performs the build operation in the copied directory. This way we make fresh builds with very less bandwidth to download source. The behavior of source checkout follows exactly same as incremental. It performs all the incremental checkout behavior insourcedirectory.