l.a.u.UserUploadHandler(UploadHandler) : class documentation

Part of lp.archiveuploader.uploadprocessor View In Hierarchy

No class docstring
Method process Process an upload's changes files, and move it to a new directory.
Method _getPolicyForDistro Undocumented
Method _processUpload Undocumented
Method _acceptUpload Undocumented

Inherited from UploadHandler:

Method __init__ Constructor.
Static Method forProcessor Instantiate an UploadHandler subclass for a given upload.
Method locateChangesFiles Locate .changes files in the upload directory.
Method processChangesFile Process a single changes file.
Method removeUpload Remove an upload that has succesfully been processed.
Method moveProcessedUpload Move or remove the upload depending on the status of the upload.
Method moveUpload Move the upload to the named subdir of the root, eg 'accepted'.
Static Method orderFilenames Order filenames, sorting *_source.changes before others.
def process(self):
Process an upload's changes files, and move it to a new directory.

The destination directory depends on the result of the processing of the changes files. If there are no changes files, the result is 'failed', otherwise it is the worst of the results from the individual changes files, in order 'failed', 'rejected', 'accepted'.

def _getPolicyForDistro(self, distribution):
Undocumented
def _processUpload(self, upload):
Undocumented
def _acceptUpload(self, upload, notify):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.