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

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

View class for IBinaryPackagePublishingHistory.
Method wasCopied Whether or not a binary is published in its original location.

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.
def wasCopied(self):
Whether or not a binary is published in its original location.

A binary is not in its original location when:

 * The publishing `Archive` is not the same than where the binary
   was built. (SBPPH -> BPR -> Build -> Archive != SBPPH -> Archive).
Or

  * The publishing `DistroArchSeries` is not the same than where
    the binary was built (SBPPH -> BPR -> B -> DAS != SBPPH -> DAS).

Or

  * The publishing pocket is not the same than where the binary was
    built (SBPPH -> BPR -> B -> Pocket != SBPPH -> Pocket).
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.