Package buildbot :: Package steps :: Package package :: Package deb :: Module lintian :: Class DebLintian
[frames] | no frames]

Class DebLintian

source code

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

Instance Methods
 
__init__(self, fileloc=None, suppressTags=None, **kwargs)
Create the DebLintian object.
source code
 
createSummary(self, log)
Create nice summary logs.
source code
 
evaluateCommand(self, cmd) source code

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

Inherited from process.buildstep.LoggingBuildStep: addLogFile, checkDisconnect, commandComplete, getText, 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 = 'lintian'
  description = ['Lintian running']
  descriptionDone = ['Lintian']
  fileloc = None
hash(x)
  suppressTags = []
  warnCount = 0
  errCount = 0
  flunkOnFailure = False
  warnOnFailure = True

Inherited from shell.ShellCommand: descriptionSuffix, 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, warnOnWarnings

Instance Variables

Inherited from shell.ShellCommand: command, lazylogfiles, logfiles

Properties

Inherited from object: __class__

Method Details

__init__(self, fileloc=None, suppressTags=None, **kwargs)
(Constructor)

source code 

Create the DebLintian object.

Parameters:
  • fileloc (str) - Location of the .deb or .changes to test.
  • suppressTags (list) - List of tags to suppress.
  • kwargs (dict) - all other keyword arguments.
Overrides: object.__init__

createSummary(self, log)

source code 

Create nice summary logs.

Parameters:
  • log - log to create summary off of.
Overrides: process.buildstep.LoggingBuildStep.createSummary

evaluateCommand(self, cmd)

source code 
Overrides: process.buildstep.LoggingBuildStep.evaluateCommand