l.a.s.StaticTranslationsUpload(CustomUpload) : class documentation

Part of lp.archivepublisher.static_translations View In Hierarchy

Static translations upload.

Static translations are not published. Currently, they're only exposed via webservice methods so that third parties can retrieve them from the librarian.

Class Method publish See ICustomUploadHandler.
Method process Process the upload and install it into the archive.

Inherited from CustomUpload:

Method __init__ Undocumented
Static Method parsePath Parse tarfile_path, returning its useful components.
Method setComponents Set instance variables based on decomposing the filename.
Method setTargetDirectory Set self.targetdir based on parameters.
Class Method getSeriesKey Get a unique key for instances of this custom upload type.
Method checkForConflicts Check for conflicts with existing publications in the archive.
Method verifyBeforeExtracting Verify the tarball before extracting it.
Method extract Extract the custom upload to a temporary directory.
Method shouldInstall Returns True if the given filename should be installed.
Method ensurePath Ensure the parent directory exists.
Method shouldSign Returns True if the given filename should be signed.
Method sign Sign a file.
Method installFiles Install the files from the custom upload to the archive.
Method fixCurrentSymlink Update the 'current' symlink and prune old entries.
Method cleanup Clean up the temporary directory
Method _buildInstallPaths Build and return paths used to install files.
@classmethod
def publish(cls, packageupload, libraryfilealias, logger=None):
See ICustomUploadHandler.
def process(self, packageupload, libraryfilealias):
Process the upload and install it into the archive.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.