Package buildbot :: Package steps :: Package package :: Package rpm :: Module rpmlint :: Class RpmLint
[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
 
__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: addSuppression, evaluateCommand, maybeAddWarning, setDefaultWorkdir, start, uploadDone, warnExtractFromRegexpGroups, warnExtractWholeLine

Inherited from shell.ShellCommand: checkForOldSlaveAndLogfiles, setCommand, setStepStatus, setupEnvironment

Inherited from process.buildstep.LoggingBuildStep: addLogFile, 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, setupProgress, slaveVersion, slaveVersionIsOlderThan, startStep

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

Inherited from shell.Test: command, name, warnOnFailure

Inherited from shell.WarningCountingShellCommand: commentEmptyLineRe, directoryEnterPattern, directoryLeavePattern, suppressionFile, suppressionLineRe, warnCount, warningPattern

Inherited from shell.ShellCommand: flunkOnFailure

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

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

Instance Variables

Inherited from shell.ShellCommand: lazylogfiles, logfiles

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

Method Details

__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