l.s.b.p.SourcePublishingRecordView(BasePublishingRecordView) : class documentation

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

Known subclasses: lp.soyuz.browser.publishing.SourcePublishingRecordSelectableView

View class for ISourcePackagePublishingHistory.
Method build_status_summary Returns a dict with a summary of the build status.
Method builds_successful_and_published Return whether all builds were successful and published.
Method builds_successful_and_pending Return whether builds were successful but not all published.
Method pending_builds Return a list of successful builds pending publication.
Method build_status_img_src Return the image path for the current build status summary.
Method wasCopied Whether or not a source is published in its original location.
Method allow_selection Do not render the checkbox corresponding to this record.
Method published_source_and_binary_files Return list of dictionaries representing published files.
Method available_diffs Undocumented
Method built_packages Return a list of dictionaries with package names and their summary.
Method builds Return a list of Builds for the context published source.
Method linkify_source_archive Return True if the source's upload_archive should be linkified.
Method recipe_build_details Return a linkified string containing details about a

Inherited from BasePublishingRecordView:

Method is_source Undocumented
Method is_binary Undocumented
Method date_last_changed Return the date of last change considering the publishing status.
Method wasDeleted Whether or not a publishing record deletion was requested.
Method wasSuperseded Whether or not a publishing record was superseded.
Method isPendingRemoval Whether or not a publishing record is marked for removal.
Method isRemoved Whether or not a publishing records was removed from the archive.
Method removal_comment Return the removal comment or 'None provided'.
Method phased_update_percentage Return the formatted phased update percentage, or empty.
@cachedproperty
def build_status_summary(self):
Returns a dict with a summary of the build status.
@property
def builds_successful_and_published(self):
Return whether all builds were successful and published.
@property
def builds_successful_and_pending(self):
Return whether builds were successful but not all published.
@property
def pending_builds(self):
Return a list of successful builds pending publication.
@property
def build_status_img_src(self):
Return the image path for the current build status summary.
def wasCopied(self):
Whether or not a source is published in its original location.

A source is not in its original location when:

 * The publishing `Archive` is not the same than where the source
    was uploaded. (SSPPH -> SPR -> Archive != SSPPH -> Archive).
Or

  * The publishing `DistroSeries` is not the same than where the
    source was uploaded (SSPPH -> SPR -> DS != SSPPH -> DS).
@property
def allow_selection(self):
Do not render the checkbox corresponding to this record.
@property
def published_source_and_binary_files(self):
Return list of dictionaries representing published files.
@property
def available_diffs(self):
Undocumented
@property
def built_packages(self):
Return a list of dictionaries with package names and their summary.

For each built package from this published source, return a dictionary with keys "binarypackagename" and "summary", where the binarypackagename is unique (i.e. it ignores the same package published in more than one place/architecture.)

@cachedproperty
def builds(self):
Return a list of Builds for the context published source.
@property
def linkify_source_archive(self):
Return True if the source's upload_archive should be linkified.

The source archive is the upload_archive for any source that was copied. It should be linkified only if it's a PPA and the user has permission to view that PPA.

@property
def recipe_build_details(self):
Return a linkified string containing details about a SourcePackageRecipeBuild.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.