Package buildbot :: Package steps :: Module shell :: Class TreeSize
[frames] | no frames]

Class TreeSize

source code

                            object --+            
                                     |            
process.properties.PropertiesMixin --+            
                                     |            
           process.buildstep.BuildStep --+        
                                         |        
        process.buildstep.LoggingBuildStep --+    
                                             |    
                                  ShellCommand --+
                                                 |
                                                TreeSize

Instance Methods
 
commandComplete(self, cmd) source code
 
evaluateCommand(self, cmd) source code
 
getText(self, cmd, results) source code

Inherited from ShellCommand: __init__, buildCommandKwargs, describe, getWorkdir, setBuild, setCommand, setDefaultWorkdir, setStepStatus, setupEnvironment, start

Inherited from process.buildstep.LoggingBuildStep: addLogFile, checkDisconnect, createSummary, getText2, interrupt, maybeGetText2, setStatus, setupLogfiles, startCommand

Inherited from process.buildstep.BuildStep: __provides__, acquireLocks, addCompleteLog, addFactoryArguments, addHTMLLog, addLog, addLogObserver, addURL, failed, finished, getLog, getSlaveName, releaseLocks, runCommand, setBuildSlave, setProgress, setupProgress, slaveVersion, slaveVersionIsOlderThan, startStep

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Inherited from process.properties.PropertiesMixin: __providedBy__, getProperties, getProperty, hasProperty, has_key, render, setProperty

Static Methods

Inherited from process.buildstep.BuildStep: __new__

Class Variables
  name = 'treesize'
  command = ['du', '-s', '-k', '.']
a list of renderable objects (typically strings or WithProperties instances).
  description = 'measuring tree size'
  descriptionDone = 'tree size measured'
  kib = None
hash(x)

Inherited from ShellCommand: descriptionSuffix, flunkOnFailure, renderables

Inherited from process.buildstep.LoggingBuildStep: cmd, parms, progressMetrics

Inherited from process.buildstep.BuildStep: __implemented__, alwaysRun, build, doStepIf, flunkOnWarnings, haltOnFailure, hideStepIf, locks, progress, set_runtime_properties, step_status, useProgress, warnOnFailure, warnOnWarnings

Instance Variables

Inherited from ShellCommand: lazylogfiles, logfiles

Properties

Inherited from object: __class__

Method Details

commandComplete(self, cmd)

source code 
Overrides: process.buildstep.LoggingBuildStep.commandComplete

evaluateCommand(self, cmd)

source code 
Overrides: process.buildstep.LoggingBuildStep.evaluateCommand

getText(self, cmd, results)

source code 
Overrides: process.buildstep.LoggingBuildStep.getText