l.s.b.b.BuildView(LaunchpadView) : class documentation

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

Known subclasses: lp.soyuz.browser.build.BuildRetryView

Auxiliary view class for IBinaryPackageBuild
Method label Undocumented
Method user_can_retry_build Return True if the user is permitted to Retry Build.
Method package_upload Return the corresponding package upload for this build.
Method binarypackagetitles List the titles of this build's `BinaryPackageRelease`s.
Method has_published_binaries Whether or not binaries were already published for this build.
Method changesfile Return a ProxiedLibraryFileAlias for the Build changesfile.
Method is_ppa Undocumented
Method buildqueue Undocumented
Method component_name Undocumented
Method files Return `LibraryFileAlias`es for files produced by this build.
Method dispatch_time_estimate_available True if a dispatch time estimate is available for this build.
Method eta The datetime when the build job is estimated to complete.
Method date The date when the build completed or is estimated to complete.
Method estimate If true, the date value is an estimate.
@property
def label(self):
Undocumented
@property
def user_can_retry_build(self):
Return True if the user is permitted to Retry Build.

The build must be re-tryable.

@cachedproperty
def package_upload(self):
Return the corresponding package upload for this build.
@property
def binarypackagetitles(self):
List the titles of this build's `BinaryPackageRelease`s.

:return: A list of title strings.
@cachedproperty
def has_published_binaries(self):
Whether or not binaries were already published for this build.
@property
def changesfile(self):
Return a ProxiedLibraryFileAlias for the Build changesfile.
@cachedproperty
def is_ppa(self):
Undocumented
@cachedproperty
def buildqueue(self):
Undocumented
@cachedproperty
def component_name(self):
Undocumented
@cachedproperty
def files(self):
Return `LibraryFileAlias`es for files produced by this build.
@property
def dispatch_time_estimate_available(self):
True if a dispatch time estimate is available for this build.

The build must be in state NEEDSBUILD and the associated job must be in state WAITING.

@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.

@cachedproperty
def date(self):
The date when the build completed or is estimated to complete.
@cachedproperty
def estimate(self):
If true, the date value is an estimate.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.