Home | Trees | Index | Help |
|
---|
Package buildbot ::
Package steps ::
Module source ::
Class Monotone
|
|
BuildStep
--+ |LoggingBuildStep
--+ |Source
--+ | Monotone
Check out a revision from a monotone server at 'server_addr', branch 'branch'. 'revision' specifies which revision id to check out.
This step will first create a local database, if necessary, and then pull the contents of the server into the database. Then it will do the checkout/update from this database.Method Summary | |
---|---|
__init__(self,
server_addr,
branch,
db_path,
monotone,
**kwargs)
| |
Each subclass must implement this method to do something more precise than -rHEAD every time. | |
startVC(self)
| |
Inherited from Source | |
This is a general-purpose hook method for subclasses. | |
| |
Begin the step. | |
Inherited from LoggingBuildStep | |
| |
To create summary logs, do something like this: warnings = grep('^Warning:', log.getText()) self.addCompleteLog('warnings', warnings) | |
Decide whether the command was SUCCESS, WARNINGS, or FAILURE. | |
| |
| |
We have decided to add a short note about ourselves to the overall build description, probably because something went wrong. | |
Halt the command, either because the user has decided to cancel the build ('reason' is a string), or because the slave has disconnected ('reason' is a ConnectionLost Failure). | |
| |
| |
Set up any additional logfiles= logs. | |
| |
Inherited from BuildStep | |
| |
| |
| |
| |
| |
Add a BuildStep URL to this step. | |
| |
| |
| |
| |
| |
| |
BuildSteps can call self.setProgress() to announce progress along some metric. | |
| |
| |
| |
Return the version number of the given slave command. | |
| |
Begin the step. |
Instance Variable Summary | |
---|---|
Inherited from BuildStep | |
buildbot.process.base.Build |
build : the parent Build which is executing this step |
buildbot.status.progress.StepProgress |
progress : tracks ETA for the step |
buildbot.status.builder.BuildStepStatus |
step_status : collects output status |
Class Variable Summary | |
---|---|
str |
name = 'monotone'
|
Inherited from Source | |
NoneType |
branch = None |
bool |
haltOnFailure = True
|
bool |
notReally = False
|
Inherited from LoggingBuildStep | |
dict |
logfiles = {}
|
list |
parms = ['build', 'name', 'locks', 'haltOnFailure', 'flu...
|
tuple |
progressMetrics = ('output',)
|
Inherited from BuildStep | |
bool |
flunkOnFailure = False
|
bool |
flunkOnWarnings = False
|
list |
locks = []
|
bool |
useProgress = True
|
bool |
warnOnFailure = False
|
bool |
warnOnWarnings = False
|
Method Details |
---|
computeSourceRevision(self, changes)Each subclass must implement this method to do something more precise than -rHEAD every time. For version control systems that use repository-wide change numbers (SVN, P4), this can simply take the maximum such number from all the changes involved in this build. For systems that do not (CVS), it needs to create a timestamp based upon the latest Change, the Build's treeStableTimer, and an optional self.checkoutDelay value.
|
Class Variable Details |
---|
name
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sun Dec 10 22:04:44 2006 | http://epydoc.sf.net |