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

Part of lp.archiveuploader.uploadprocessor View In Hierarchy

No class docstring
Method __init__ Constructor.
Method processLiveFS Process a live filesystem upload.
Method processSnap Process a snap package upload.
Method process Process an upload that is the result of a build.
Method _getPolicyForDistro Undocumented
Method _processUpload Undocumented
Method _acceptUpload Undocumented
Method _getBuild Undocumented

Inherited from UploadHandler:

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 __init__(self, processor, fsroot, upload, build=None):
Constructor.

See `UploadHandler`.
:build: Optional build that produced this upload.  If not supplied,
    will be retrieved using the id in the upload.
:raises: CannotGetBuild if the build could not be retrieved.
def _getPolicyForDistro(self, distribution):
Undocumented
def _processUpload(self, upload):
Undocumented
def _acceptUpload(self, upload, notify):
Undocumented
def _getBuild(self):
Undocumented
def processLiveFS(self, logger=None):
Process a live filesystem upload.
def processSnap(self, logger=None):
Process a snap package upload.
def process(self):
Process an upload that is the result of a build.

The name of the leaf is the build id of the build. Build uploads always contain a single package per leaf.

API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.