Home | Trees | Index | Help |
|
---|
Package buildbot :: Package steps :: Module source :: Class CVS |
|
BuildStep
--+ |LoggingBuildStep
--+ |Source
--+ | CVS
I do CVS checkout/update operations.
Note: if you are doing anonymous/pserver CVS operations, you will need to manually do a 'cvs login' on each buildslave before the slave has any hope of success. XXX: fix then, take a cvs password as an argument and figure out how to do a 'cvs login' on each buildMethod Summary | |
---|---|
| |
Each subclass must implement this method to do something more precise than -rHEAD every time. | |
startVC(self,
branch,
revision,
patch)
| |
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 = 'cvs'
|
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 |
---|
__init__(self,
cvsroot,
cvsmodule,
global_options=[],
branch=None,
checkoutDelay=None,
login=None,
clobber=0,
export=0,
copydir=None,
**kwargs)
|
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 |