l.s.i.p.IPublishingView(Interface) : interface documentation

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

Known subclasses: lp.soyuz.interfaces.publishing.IBinaryPackagePublishingHistoryPublic, lp.soyuz.interfaces.publishing.ISourcePackagePublishingHistoryPublic

Base interface for all Publishing classes
Attribute files Files included in this publication.
Attribute age Age of the publishing record.
Method publish Publish or ensure contents of this publish record
Method requestObsolescence Make this publication obsolete.
files =
Files included in this publication.
age =
Age of the publishing record.
def publish(diskpool, log):
Publish or ensure contents of this publish record

Skip records which attempt to overwrite the archive (same file paths with different content) and do not update the database.

If all the files get published correctly update its status properly.

def requestObsolescence():
Make this publication obsolete.
ReturnsThe obsoleted publishing record, either: ISourcePackagePublishingHistory or IBinaryPackagePublishingHistory.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.