l.s.m.a.ArchiveSet : class documentation

Part of lp.soyuz.model.archive View In Hierarchy

No class docstring
Method get See IArchiveSet.
Method getByReference See IArchiveSet.
Method getPPAByDistributionAndOwnerName See IArchiveSet
Method getByDistroPurpose See IArchiveSet.
Method getByDistroAndName See IArchiveSet.
Method new See IArchiveSet.
Method __iter__ See IArchiveSet.
Method getPPAOwnedByPerson See IArchiveSet.
Method getPPAsForUser See IArchiveSet.
Method getPPADistributionsForUser See IArchiveSet.
Method getPPAsPendingSigningKey See IArchiveSet.
Method getLatestPPASourcePublicationsForDistribution See IArchiveSet.
Method getMostActivePPAsForDistribution See IArchiveSet.
Method getPrivatePPAs See IArchiveSet.
Method getArchivesForDistribution See IArchiveSet.
Method getPublicationsInArchives See IArchiveSet.
Method empty_list See `IArchiveSet.
Method _getDefaultArchiveNameByPurpose Return the default for a archive in a given purpose.
Method _getDefaultDisplayname See IArchive.
Method _getPPAsForUserClause Base clause for getPPAsForUser and getPPADistributionsForUser.
def get(self, archive_id):
See IArchiveSet.
def getByReference(self, reference, check_permissions=False, user=None):
See IArchiveSet.
def getPPAByDistributionAndOwnerName(self, distribution, person_name, ppa_name):
See IArchiveSet
def _getDefaultArchiveNameByPurpose(self, purpose):

Return the default for a archive in a given purpose.

The default names are:

  • PRIMARY: 'primary';
  • PARTNER: 'partner';
  • PPA: 'ppa'.
Parameterspurposequeried ArchivePurpose.
Returnsthe name text to be used as name.
RaisesAssertionError If the given purpose is not in this list, i.e. doesn't have a default name.
def getByDistroPurpose(self, distribution, purpose, name=None):
See IArchiveSet.
def getByDistroAndName(self, distribution, name):
See IArchiveSet.
def _getDefaultDisplayname(self, name, owner, distribution, purpose):
See IArchive.
def new(self, purpose, owner, name=None, displayname=None, distribution=None, description=None, enabled=True, require_virtualized=True, private=False, suppress_subscription_notifications=False, processors=None):
See IArchiveSet.
def __iter__(self):
See IArchiveSet.
def getPPAOwnedByPerson(self, person, distribution=None, name=None, statuses=None, has_packages=False):
See IArchiveSet.
def _getPPAsForUserClause(self, user):
Base clause for getPPAsForUser and getPPADistributionsForUser.
def getPPAsForUser(self, user):
See IArchiveSet.
def getPPADistributionsForUser(self, user):
See IArchiveSet.
def getPPAsPendingSigningKey(self):
See IArchiveSet.
def getLatestPPASourcePublicationsForDistribution(self, distribution):
See IArchiveSet.
def getMostActivePPAsForDistribution(self, distribution):
See IArchiveSet.
def getPrivatePPAs(self):
See IArchiveSet.
def getArchivesForDistribution(self, distribution, name=None, purposes=None, user=None, exclude_disabled=True):
See IArchiveSet.
def getPublicationsInArchives(self, source_package_name, archive_list, distribution):
See IArchiveSet.
def empty_list(self):
See `IArchiveSet.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.