Part of lp.archiveuploader.uploadpolicy View In Hierarchy
| 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. |
When the type (e.g. sourceful, binaryful or mixed) is not accepted, the upload is rejected.