l.s.m.b.BinaryPackageBuild(PackageBuildMixin, SQLBase) : class documentation

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

No class docstring
Method getLatestSourcePublication Undocumented
Method current_component See IBuild.
Method current_source_publication See IBuild.
Method api_source_package_name See IBuild.
Method upload_changesfile See IBuild
Method changesfile_url See IBinaryPackageBuild.
Method package_upload See IBuild.
Method title See IBuild
Method was_built See IBuild
Method arch_tag See IBuild.
Method log_url See IPackageBuild.
Method upload_log_url See IPackageBuild.
Method distributionsourcepackagerelease See IBuild.
Method calculateScore See IBuildFarmJob.
Method getBinaryPackageNamesForDisplay See IBuildView.
Method getBinaryFilesForDisplay See IBuildView.
Method binarypackages See IBuild.
Method distroarchseriesbinarypackages See IBuild.
Method can_be_retried See IBuild.
Method can_be_rescored See IBuild.
Method can_be_cancelled See IBuild.
Method retry See IBuild.
Method rescore See IBuild.
Method api_score See IBinaryPackageBuild.
Method cancel See IBinaryPackageBuild.
Method updateDependencies See IBuild.
Method __getitem__ Undocumented
Method getBinaryPackageRelease See IBuild.
Method createBinaryPackageRelease See IBuild.
Method estimateDuration See IPackageBuild.
Method addBuildInfo See IBinaryPackageBuild.
Method verifySuccessfulUpload See IPackageBuild.
Method notify See IPackageBuild.
Method getFileByName See IBuild.
Method getBinaryPackageFileByName See IBuild.
Method getUploader See IBinaryPackageBuild.
Method api_external_dependencies 0 Undocumented
Method api_external_dependencies 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 _getDebByFileName Helper function to get a .deb LFA in the context of this build.

Inherited from PackageBuildMixin:

Method is_private See IBuildFarmJob
Method updateStatus See IBuildFarmJob.
Method createUploadLog Creates a file on the librarian for the upload log.
Method storeUploadLog See IPackageBuild.

Inherited from BuildFarmJobMixin (via PackageBuildMixin):

Method dependencies Undocumented
Method external_dependencies Undocumented
Method duration See IBuildFarmJob.
Method buildqueue_record See IBuildFarmJob.
Method build_cookie See IBuildFarmJob.
Method setLog See IBuildFarmJob.
Method gotFailure See IBuildFarmJob.
Method queueBuild See IBuildFarmJob.

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__.
Method __storm_invalidated__ Flush cached properties.
Class Method _get_store Undocumented
def getLatestSourcePublication(self):
Undocumented
@property
def current_component(self):
See IBuild.
@property
def current_source_publication(self):
See IBuild.
@property
def api_source_package_name(self):
See IBuild.
@property
def upload_changesfile(self):
See IBuild
@property
def changesfile_url(self):
See IBinaryPackageBuild.
@property
def package_upload(self):
See IBuild.
@property
def title(self):
See IBuild
@property
def was_built(self):
See IBuild
@property
def arch_tag(self):
See IBuild.
@property
def log_url(self):
See IPackageBuild.

Overridden here for the case of builds for distro archives, currently only supported for binary package builds.

@property
def upload_log_url(self):
See IPackageBuild.

Overridden here for the case of builds for distro archives, currently only supported for binary package builds.

@property
def distributionsourcepackagerelease(self):
See IBuild.
def calculateScore(self):
See IBuildFarmJob.
def getBinaryPackageNamesForDisplay(self):
See IBuildView.
def getBinaryFilesForDisplay(self):
See IBuildView.
@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 can_be_cancelled(self):
See IBuild.
def retry(self):
See IBuild.
def rescore(self, score):
See IBuild.
@property
def api_score(self):
See IBinaryPackageBuild.
def cancel(self):
See IBinaryPackageBuild.
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 and that its version constraint is satisfied.

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, installedsize, architecturespecific, shlibdeps=None, depends=None, recommends=None, suggests=None, conflicts=None, replaces=None, provides=None, pre_depends=None, enhances=None, breaks=None, essential=False, debug_package=None, user_defined_fields=None, homepage=None):
See IBuild.
def estimateDuration(self):
See IPackageBuild.
def addBuildInfo(self, buildinfo):
See IBinaryPackageBuild.
def verifySuccessfulUpload(self):
See IPackageBuild.
def notify(self, extra_info=None):
See IPackageBuild.

If config.buildmaster.send_build_notification is disabled, 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.
def getBinaryPackageFileByName(self, filename):
See IBuild.
def getUploader(self, changes):
See IBinaryPackageBuild.
@property
def api_external_dependencies 0(self):
Undocumented
@api_external_dependencies.setter
def api_external_dependencies(self, value):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.