Package buildbot :: Package steps :: Package package :: Package rpm :: Module rpmlint :: Class RpmLint
[hide private]
[frames] | no frames]

Class RpmLint

source code

   process.buildstep.BuildStep --+                
                                 |                
process.buildstep.LoggingBuildStep --+            
                                     |            
                    shell.ShellCommand --+        
                                         |        
         shell.WarningCountingShellCommand --+    
                                             |    
                                    shell.Test --+
                                                 |
                                                RpmLint

Rpmlint build step.

Instance Methods [hide private]
 
__init__(self, fileloc='*rpm', **kwargs)
Create the Rpmlint object.
source code
 
createSummary(self, log)
Create nice summary logs.
source code

Inherited from shell.Test: describe, setTestResults

Inherited from shell.WarningCountingShellCommand: evaluateCommand

Inherited from shell.ShellCommand: checkForOldSlaveAndLogfiles, setCommand, setDefaultWorkdir, setupEnvironment, start

Inherited from process.buildstep.LoggingBuildStep: checkDisconnect, commandComplete, getText, getText2, interrupt, maybeGetText2, setStatus, setupLogfiles, startCommand

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

Class Variables [hide private]
  description = ['Checking for RPM/SPEC issues']
  descriptionDone = ['Finished checking RPM/SPEC issues']

Inherited from shell.Test: command, name, warnOnFailure

Inherited from shell.WarningCountingShellCommand: warnCount, warningPattern

Inherited from shell.ShellCommand: flunkOnFailure

Inherited from process.buildstep.LoggingBuildStep: parms, progressMetrics

Inherited from process.buildstep.BuildStep: alwaysRun, doStepIf, flunkOnWarnings, haltOnFailure, locks, useProgress, warnOnWarnings

Instance Variables [hide private]

Inherited from shell.ShellCommand: logfiles

Inherited from process.buildstep.BuildStep: build, progress, step_status

Method Details [hide private]

__init__(self, fileloc='*rpm', **kwargs)
(Constructor)

source code 

Create the Rpmlint object.

Parameters:
  • fileloc (str) - Location glob of the specs or rpms.
  • fileloc (str) - all other keyword arguments.
  • kwargs (dict)
Overrides: process.buildstep.BuildStep.__init__

createSummary(self, log)

source code 

Create nice summary logs.

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