l.s.m.b.Build(BuildBase, SQLBase) : class documentation

Part of lp.soyuz.model.build View In Hierarchy

Implements interfaces: lp.buildmaster.interfaces.buildbase.IBuildBase, lp.soyuz.interfaces.build.IBuild

No class docstring
Method buildqueue_record See IBuild.
Method current_component See IBuild.
Method current_source_publication See IBuild.
Method upload_changesfile See IBuild
Method package_upload See IBuild.
Method distroseries See IBuild
Method distribution See IBuild
Method is_virtualized See IBuild
Method is_private See IBuildBase
Method title See IBuild
Method was_built See IBuild
Method arch_tag See IBuild.
Method distributionsourcepackagerelease See IBuild.
Method binarypackages See IBuild.
Method distroarchseriesbinarypackages See IBuild.
Method can_be_retried See IBuild.
Method can_be_rescored See IBuild.
Method calculated_buildstart See IBuild.
Method retry See IBuild.
Method rescore See IBuild.
Method makeJob See IBuildBase.
Method updateDependencies See IBuild.
Method __getitem__ Undocumented
Method getBinaryPackageRelease See IBuild.
Method createBinaryPackageRelease See IBuild.
Method estimateDuration See IBuildBase.
Method verifySuccessfulUpload Verify that the upload of this build completed succesfully.
Method notify See IBuildBase.
Method getFileByName See IBuild.
Method _getLatestPublication Undocumented
Method _parseDependencyToken Parse the given token.
Method _checkDependencyVersion Return True if the available version satisfies the context.
Method _isDependencySatisfied Check if the given dependency token is satisfied.
Method _toAptFormat Rebuild dependencies line in apt format.
Method _getDebByFileName Helper function to get a .deb LFA in the context of this build.

Inherited from BuildBase:

Method getUploadLeaf Return a directory name to store build things in.
Method getUploadDir Return the directory that things will be stored in.
Method getUploaderCommand See IBuildBase.
Method build_log_url See IBuildBase.
Method getUploadLogContent Retrieve the upload log contents.
Method upload_log_url See IBuildBase.
Method handleStatus See IBuildBase.
Method getLogFromSlave See IBuildBase.
Method storeBuildInfo See IBuildBase.
Method storeUploadLog See IBuildBase.
Method queueBuild See IBuildBase
Method _getProxiedFileURL Return the 'http_url' of a ProxiedLibraryFileAlias.
Method _handleStatus_OK Handle a package that built successfully.
Method _handleStatus_PACKAGEFAIL Handle a package that had failed to build.
Method _handleStatus_DEPFAIL Handle a package that had missing dependencies.
Method _handleStatus_CHROOTFAIL Handle a package that had failed when unpacking the CHROOT.
Method _handleStatus_BUILDERFAIL Handle builder failures.
Method _handleStatus_GIVENBACK Handle automatic retry requested by builder.

Inherited from SQLBase:

Method __init__ Extended version of the SQLObjectBase constructor.
Method __repr__ Undocumented
Method destroySelf Undocumented
Method __eq__ Equality operator.
Method __ne__ Inverse of __eq__.
Class Method _get_store Undocumented
@property
def buildqueue_record(self):
See IBuild.
def _getLatestPublication(self):
Undocumented
@property
def current_component(self):
See IBuild.
@property
def current_source_publication(self):
See IBuild.
@property
def upload_changesfile(self):
See IBuild
@property
def package_upload(self):
See IBuild.
@property
def distroseries(self):
See IBuild
@property
def distribution(self):
See IBuild
@property
def is_virtualized(self):
See IBuild
@property
def is_private(self):
See IBuildBase
@property
def title(self):
See IBuild
@property
def was_built(self):
See IBuild
@property
def arch_tag(self):
See IBuild.
@property
def distributionsourcepackagerelease(self):
See IBuild.
@property
def binarypackages(self):
See IBuild.
@property
def distroarchseriesbinarypackages(self):
See IBuild.
@property
def can_be_retried(self):
See IBuild.
@property
def can_be_rescored(self):
See IBuild.
@property
def calculated_buildstart(self):
See IBuild.
def retry(self):
See IBuild.
def rescore(self, score):
See IBuild.
def makeJob(self):
See IBuildBase.
def _parseDependencyToken(self, token):
Parse the given token.

Raises AssertionError if the given token couldn't be parsed.

Return a triple containing the corresponding (name, version, relation) for the given dependency token.

def _checkDependencyVersion(self, available, required, relation):
Return True if the available version satisfies the context.
def _isDependencySatisfied(self, token):
Check if the given dependency token is satisfied.

Check if the dependency exists, if its version constraint is satisfied and if it is reachable in the build context.

def _toAptFormat(self, token):
Rebuild dependencies line in apt format.
def updateDependencies(self):
See IBuild.
def __getitem__(self, name):
Undocumented
def getBinaryPackageRelease(self, name):
See IBuild.
def createBinaryPackageRelease(self, binarypackagename, version, summary, description, binpackageformat, component, section, priority, shlibdeps, depends, recommends, suggests, conflicts, replaces, provides, pre_depends, enhances, breaks, essential, installedsize, architecturespecific):
See IBuild.
def estimateDuration(self):
See IBuildBase.
def verifySuccessfulUpload(self):
Verify that the upload of this build completed succesfully.
def notify(self, extra_info=None):
See IBuildBase.

If config.buildmaster.build_notification is disable, simply return.

If config.builddmaster.notify_owner is enabled and SPR.creator has preferredemail it will send an email to the creator, Bcc: to the config.builddmaster.default_recipient. If one of the conditions was not satisfied, no preferredemail found (autosync or untouched packages from debian) or config options disabled, it will only send email to the specified default recipient.

This notification will contain useful information about the record in question (all states are supported), see doc/build-notification.txt for further information.

def _getDebByFileName(self, filename):
Helper function to get a .deb LFA in the context of this build.
def getFileByName(self, filename):
See IBuild.
API Documentation for Launchpad, generated by pydoctor at 2010-04-14 00:00:38.