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

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

Known subclasses: lp.soyuz.interfaces.webservice.IBinaryPackagePublishingHistory

A binary package publishing record.
Int id Undocumented
Int binarypackagenameID Undocumented
Attribute binarypackagename The binary package name being published
Int binarypackagereleaseID Undocumented
Attribute binarypackagerelease The binary package release being published
Attribute source_package_name The source package name that built this binary.
Int distroarchseriesID Undocumented
Attribute distroseries The distroseries being published into
Int component Undocumented
Int section Undocumented
Int priority Undocumented
Int supersededby Undocumented
Attribute distroarchseriesbinarypackagerelease The object that represents this binarypackagerelease in this distroarchseries.
Method getOtherPublications Return remaining publications with the same overrides.
Method supersede Supersede this publication.
Method copyTo Copy this publication to another location.
Method getDownloadCount Get the download count of this binary package in this archive.
Method getDownloadCounts Get detailed download counts for this binary.
Method getDailyDownloadTotals Get the daily download counts for this binary.
Method binaryFileUrls URLs for this binary publication's binary files.

Inherited from IPublishingView:

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.
id =
Undocumented
binarypackagenameID =
Undocumented
binarypackagename =
The binary package name being published
binarypackagereleaseID =
Undocumented
binarypackagerelease =
The binary package release being published
source_package_name =
The source package name that built this binary.
distroarchseriesID =
Undocumented
distroseries =
The distroseries being published into
component =
Undocumented
section =
Undocumented
priority =
Undocumented
supersededby =
Undocumented
distroarchseriesbinarypackagerelease =
The object that represents this binarypackagerelease in this distroarchseries.
def getOtherPublications():
Return remaining publications with the same overrides.

Only considers binary publications in the same archive, distroseries, pocket, component, section, priority and phased-update-percentage context. These publications are candidates for domination if this is an architecture-independent package.

The override match is critical -- it prevents a publication created by new overrides from superseding itself.

def supersede(dominant=None, logger=None):
Supersede this publication.
Parametersdominantoptional IBinaryPackagePublishingHistory which is triggering the domination.
loggeroptional object to which debug information will be logged.
def copyTo(distroseries, pocket, archive):
Copy this publication to another location.

Architecture independent binary publications are copied to all supported architectures in the destination distroseries.

Returnsa list of IBinaryPackagePublishingHistory records representing the binaries copied to the destination location.
@export_read_operation()
def getDownloadCount():
Get the download count of this binary package in this archive.

This is currently only meaningful for PPAs.

@operation_parameters(Date(_('Start date'), False), Date(_('End date'), False))
@operation_returns_collection_of(IBinaryPackageReleaseDownloadCount)
@export_read_operation()
def getDownloadCounts(start_date=None, end_date=None):
Get detailed download counts for this binary.
Parametersstart_dateThe optional first date to return.
end_dateThe optional last date to return.
@operation_parameters(Date(_('Start date'), False), Date(_('End date'), False))
@export_read_operation()
def getDailyDownloadTotals(start_date=None, end_date=None):
Get the daily download counts for this binary.
Parametersstart_dateThe optional first date to return.
end_dateThe optional last date to return.
@export_read_operation()
@operation_parameters(Bool(_('Include Metadata'), False))
@operation_for_version('devel')
def binaryFileUrls(include_meta=False):
URLs for this binary publication's binary files.
Parametersinclude_metaReturn a list of dicts with keys url, size, sha1, and sha256 for each URL instead of a simple list.
ReturnsA collection of URLs for this binary.
API Documentation for Launchpad, generated by pydoctor at 2019-11-23 00:00:06.