l.s.s.g.h.ImporterHandler : class documentation

Part of lp.soyuz.scripts.gina.handlers View In Hierarchy

Import Handler class

This class is used to handle the import process.

Method __init__ Undocumented
Method commit Commit to the database.
Method abort Rollback changes to the database.
Method ensure_arch Append retrived distroarchseries info to a dict.
Method preimport_sourcecheck Check if this SourcePackageRelease already exists. This can
Method import_sourcepackage Handler the sourcepackage import process
Method preimport_binarycheck Check if this BinaryPackageRelease already exists. This can
Method import_binarypackage Handler the binarypackage import process
Method locate_sourcepackage Undocumented
Method publish_sourcepackage Append to the sourcepackagerelease imported list.
Method publish_binarypackage Undocumented
Method _get_distro Return the distro database object by name.
Method _get_distroseries Return the distroseries database object by name.
def __init__(self, ztm, distro_name, distroseries_name, archive_root, pocket, component_override):
Undocumented
def commit(self):
Commit to the database.
def abort(self):
Rollback changes to the database.
def ensure_arch(self, archtag):
Append retrived distroarchseries info to a dict.
def _get_distro(self, name):
Return the distro database object by name.
def _get_distroseries(self, name):
Return the distroseries database object by name.
def preimport_sourcecheck(self, sourcepackagedata):
Check if this SourcePackageRelease already exists. This can happen, for instance, if a source package didn't change over releases, or if Gina runs multiple times over the same release
def import_sourcepackage(self, sourcepackagedata):
Handler the sourcepackage import process
def preimport_binarycheck(self, archtag, binarypackagedata):
Check if this BinaryPackageRelease already exists. This can happen, for instance, if a binary package didn't change over releases, or if Gina runs multiple times over the same release
def import_binarypackage(self, archtag, binarypackagedata):
Handler the binarypackage import process
def locate_sourcepackage(self, binarypackagedata, distroseries):
Undocumented
def publish_sourcepackage(self, sourcepackagerelease, sourcepackagedata):
Append to the sourcepackagerelease imported list.
def publish_binarypackage(self, binarypackagerelease, binarypackagedata, archtag):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.