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

Class RpmLint

source code

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

Rpmlint build step.

Instance Methods
 
__init__(self, fileloc=None, config=None, **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, 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 = 'rpmlint'
  description = ['Checking for RPM/SPEC issues']
  descriptionDone = ['Finished checking RPM/SPEC issues']
  fileloc = '.'
  config = None
hash(x)

Inherited from shell.Test: command, warnOnFailure

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

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

Properties

Inherited from object: __class__

Method Details

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

source code 

Create the Rpmlint object.

Parameters:
  • fileloc (str) - Location glob of the specs or rpms.
  • config (str) - path to the rpmlint user config.
  • fileloc (str) - all other keyword arguments.
  • kwargs (dict)
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