l.s.m.s.SnapBuild(PackageBuildMixin, Storm) : class documentation

Part of lp.snappy.model.snapbuild View In Hierarchy

See ISnapBuild.
Method __init__ Construct a SnapBuild.
Method is_private See IBuildFarmJob.
Method title See IBuildFarmJob.
Method distribution See IPackageBuild.
Method distro_series See IPackageBuild.
Method arch_tag See ISnapBuild.
Method current_component See IPackageBuild.
Method score See ISnapBuild.
Method can_be_rescored See ISnapBuild.
Method can_be_cancelled See ISnapBuild.
Method rescore See ISnapBuild.
Method cancel See ISnapBuild.
Method calculateScore See IBuildFarmJob.
Method getMedianBuildDuration Return the median duration of our successful builds.
Method estimateDuration See IBuildFarmJob.
Method getFiles See ISnapBuild.
Method getFileByName See ISnapBuild.
Method addFile See ISnapBuild.
Method verifySuccessfulUpload See IPackageBuild.
Method updateStatus See IBuildFarmJob.
Method notify See IPackageBuild.
Method lfaUrl Return the URL for a LibraryFileAlias in this context.
Method log_url See IBuildFarmJob.
Method upload_log_url See IPackageBuild.
Method getFileUrls Undocumented
Method eta The datetime when the build job is estimated to complete.
Method estimate If true, the date value is an estimate.
Method date The date when the build completed or is estimated to complete.
Method store_upload_jobs Undocumented
Method last_store_upload_job Undocumented
Method store_upload_status Undocumented
Method store_upload_url Undocumented
Method store_upload_revision Undocumented
Method store_upload_error_message Undocumented
Method store_upload_error_messages Undocumented
Method scheduleStoreUpload See ISnapBuild.

Inherited from PackageBuildMixin:

Method createUploadLog Creates a file on the librarian for the upload log.
Method storeUploadLog See IPackageBuild.
Method getUploader See IPackageBuild.

Inherited from BuildFarmJobMixin (via PackageBuildMixin):

Method dependencies Undocumented
Method external_dependencies Undocumented
Method duration See IBuildFarmJob.
Method buildqueue_record See IBuildFarmJob.
Method was_built See IBuild
Method build_cookie See IBuildFarmJob.
Method setLog See IBuildFarmJob.
Method gotFailure See IBuildFarmJob.
Method queueBuild See IBuildFarmJob.
def __init__(self, build_farm_job, requester, snap, archive, distro_arch_series, pocket, channels, processor, virtualized, date_created):
Construct a SnapBuild.
@property
def is_private(self):
See IBuildFarmJob.
@property
def title(self):
See IBuildFarmJob.
@property
def distribution(self):
See IPackageBuild.
@property
def distro_series(self):
See IPackageBuild.
@property
def arch_tag(self):
See ISnapBuild.
@property
def current_component(self):
See IPackageBuild.
@property
def score(self):
See ISnapBuild.
@property
def can_be_rescored(self):
See ISnapBuild.
@property
def can_be_cancelled(self):
See ISnapBuild.
def rescore(self, score):
See ISnapBuild.
def cancel(self):
See ISnapBuild.
def calculateScore(self):
See IBuildFarmJob.
def getMedianBuildDuration(self):
Return the median duration of our successful builds.
def estimateDuration(self):
See IBuildFarmJob.
def getFiles(self):
See ISnapBuild.
def getFileByName(self, filename):
See ISnapBuild.
def addFile(self, lfa):
See ISnapBuild.
def verifySuccessfulUpload(self):
See IPackageBuild.
def updateStatus(self, status, builder=None, slave_status=None, date_started=None, date_finished=None, force_invalid_transition=False):
See IBuildFarmJob.
def notify(self, extra_info=None):
See IPackageBuild.
def lfaUrl(self, lfa):
Return the URL for a LibraryFileAlias in this context.
@property
def log_url(self):
See IBuildFarmJob.
@property
def upload_log_url(self):
See IPackageBuild.
def getFileUrls(self):
Undocumented
@cachedproperty
def eta(self):
The datetime when the build job is estimated to complete.

This is the BuildQueue.estimated_duration plus the Job.date_started or BuildQueue.getEstimatedJobStartTime.

@property
def estimate(self):
If true, the date value is an estimate.
@property
def date(self):
The date when the build completed or is estimated to complete.
@property
def store_upload_jobs(self):
Undocumented
@cachedproperty
def last_store_upload_job(self):
Undocumented
@property
def store_upload_status(self):
Undocumented
@property
def store_upload_url(self):
Undocumented
@property
def store_upload_revision(self):
Undocumented
@property
def store_upload_error_message(self):
Undocumented
@property
def store_upload_error_messages(self):
Undocumented
def scheduleStoreUpload(self):
See ISnapBuild.
API Documentation for Launchpad, generated by pydoctor at 2018-05-21 00:00:05.