l.a.t.AnythingGoesUploadPolicy(AbstractUploadPolicy) : class documentation

Part of lp.archiveuploader.tests View In Hierarchy

Known subclasses: lp.archiveuploader.tests.AbsolutelyAnythingGoesUploadPolicy

This policy is invoked when processing uploads from the test process.

We require a signed changes file but that's it.

Method __init__ Prepare a policy...
Method validateUploadType We accept uploads of any type.
Method policySpecificChecks Nothing, let it go.

Inherited from AbstractUploadPolicy:

Method setOptions Store the options for later.
Method setDistroSeriesAndPocket Set the distroseries and pocket from the provided name.
Method checkUpload Mandatory policy checks on NascentUploads.
Method autoApprove Return whether the upload should be automatically approved.
Method autoApproveNew Return whether the NEW upload should be automatically approved.
def __init__(self):
Prepare a policy...
def validateUploadType(self, upload):
We accept uploads of any type.
def policySpecificChecks(self, upload):
Nothing, let it go.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.