l.a.u.BuildDaemonUploadPolicy(AbstractUploadPolicy) : class documentation

Part of lp.archiveuploader.uploadpolicy View In Hierarchy

The build daemon upload policy is invoked by the slave scanner.
Method __init__ Prepare a policy...
Method setOptions Store the options for later.
Method policySpecificChecks The buildd policy should enforce that the buildid matches.
Method validateUploadType Check that the type of the given upload is accepted by this policy.
Method autoApprove Check that all custom files in this upload can be auto-approved.

Inherited from AbstractUploadPolicy:

Method setDistroSeriesAndPocket Set the distroseries and pocket from the provided name.
Method checkUpload Mandatory policy checks on NascentUploads.
Method autoApproveNew Return whether the NEW upload should be automatically approved.
def __init__(self):
Prepare a policy...
def setOptions(self, options):
Store the options for later.
def policySpecificChecks(self, upload):
The buildd policy should enforce that the buildid matches.
def validateUploadType(self, upload):
Check that the type of the given upload is accepted by this policy.

When the type (e.g. sourceful, binaryful or mixed) is not accepted, the upload is rejected.

def autoApprove(self, upload):
Check that all custom files in this upload can be auto-approved.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.