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

Class RpmLint

source code

process.properties.PropertiesMixin --+                    
                                     |                    
           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, start, uploadDone, warnExtractFromRegexpGroups, warnExtractWholeLine

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

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, getStepFactory, releaseLocks, runCommand, setBuildSlave, setProgress, setupProgress, slaveVersion, slaveVersionIsOlderThan, startStep

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

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, renderables, suppressionFile, suppressionLineRe, warnCount, warningPattern

Inherited from shell.ShellCommand: flunkOnFailure

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: lazylogfiles, logfiles

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