Part of lp.archiveuploader.uploadprocessor View In Hierarchy
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. |
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'.