l.s.i.c.ICopyPolicy(Interface) : interface documentation

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

Policies for copying packages, as enumerated by PackageCopyPolicy.
Choice enum_value Undocumented
Bool send_email Undocumented
Method autoApprove Can this upload of a known package be approved automatically?
Method autoApproveNew Can this upload of a new package be approved automatically?
enum_value =
Undocumented
send_email =
Undocumented
def autoApprove(archive, distroseries, pocket):
Can this upload of a known package be approved automatically?

This should only be called for packages that are known not new.

ParametersarchiveThe target IArchive for the upload.
distroseriesThe target IDistroSeries for the upload.
pocketThe target PackagePublishingPocket for the upload.
ReturnsTrue if the upload can be auto-approved, or False if it should be held in the queue.
def autoApproveNew(archive, distroseries, pocket):
Can this upload of a new package be approved automatically?
ParametersarchiveThe target IArchive for the upload.
distroseriesThe target IDistroSeries for the upload.
pocketThe target PackagePublishingPocket for the upload.
ReturnsTrue if the upload can be auto-approved, or False if it should be held in the queue.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.