Package buildbot :: Package steps :: Package package :: Package deb :: Module pbuilder :: Class DebPbuilder
[frames] | no frames]

Class DebPbuilder

source code

                            object --+                
                                     |                
process.properties.PropertiesMixin --+                
                                     |                
           process.buildstep.BuildStep --+            
                                         |            
        process.buildstep.LoggingBuildStep --+        
                                             |        
                            shell.ShellCommand --+    
                                                 |    
                 shell.WarningCountingShellCommand --+
                                                     |
                                                    DebPbuilder
Known Subclasses:

Build a debian package with pbuilder inside of a chroot.

Instance Methods
 
__init__(self, architecture=None, distribution=None, basetgz=None, mirror=None, extrapackages=None, keyring=None, components=None, **kwargs)
Creates the DebPbuilder object.
source code
 
start(self) source code
 
checkBasetgz(self, cmd) source code
 
startBuild(self, dummy) source code
 
commandComplete(self, cmd) source code

Inherited from shell.WarningCountingShellCommand: addSuppression, createSummary, evaluateCommand, maybeAddWarning, uploadDone, warnExtractFromRegexpGroups, warnExtractWholeLine

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

Inherited from process.buildstep.LoggingBuildStep: addLogFile, checkDisconnect, 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 = 'pbuilder'
  haltOnFailure = 1
  flunkOnFailure = 1
  description = ['pdebuilding']
  descriptionDone = ['pdebuild']
  warningPattern = '.*(warning[: ]|\\sW: ).*'
  architecture = None
hash(x)
  distribution = 'stable'
  basetgz = '/var/cache/pbuilder/%(distribution)s-%(architecture...
  mirror = 'http://cdn.debian.net/debian/'
  extrapackages = []
  keyring = None
hash(x)
  components = None
hash(x)
  maxAge = 604800
  pbuilder = '/usr/sbin/pbuilder'
  baseOption = '--basetgz'

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

Inherited from shell.ShellCommand: descriptionSuffix

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

Inherited from process.buildstep.BuildStep: __implemented__, alwaysRun, build, doStepIf, flunkOnWarnings, hideStepIf, locks, progress, set_runtime_properties, step_status, useProgress, warnOnFailure, warnOnWarnings

Instance Variables

Inherited from shell.ShellCommand: command, lazylogfiles, logfiles

Properties

Inherited from object: __class__

Method Details

__init__(self, architecture=None, distribution=None, basetgz=None, mirror=None, extrapackages=None, keyring=None, components=None, **kwargs)
(Constructor)

source code 

Creates the DebPbuilder object.

Parameters:
  • architecture (str) - the name of the architecture to build
  • distribution (str) - the man of the distribution to use
  • basetgz (str) - the path or path template of the basetgz
  • mirror (str) - the mirror for building basetgz
  • extrapackages (list) - adds packages specified to buildroot
  • keyring (str) - keyring file to use for verification
  • components (str) - components to use for chroot creation
  • kwargs (dict) - All further keyword arguments.
Overrides: object.__init__

start(self)

source code 
Overrides: process.buildstep.BuildStep.start

commandComplete(self, cmd)

source code 
Overrides: process.buildstep.LoggingBuildStep.commandComplete

Class Variable Details

basetgz

Value:
'/var/cache/pbuilder/%(distribution)s-%(architecture)s-buildbot.tgz'