l.s.m.archive : module documentation

Part of lp.soyuz.model

Database class for table Archive.
Function storm_validate_external_dependencies Undocumented
Class Archive No class docstring; 114/125 methods documented
Function validate_ppa Can 'person' create a PPA called 'proposed_name'?
Class ArchiveSet No class docstring; 20/20 methods documented
Class ArchiveArch Link table to back Archive.processors.
Function get_archive_privacy_filter Get a simplified Archive privacy Storm filter.
Function get_enabled_archive_filter Return a filter that can be used with a Storm query to filter Archives.
def storm_validate_external_dependencies(archive, attr, value):
Undocumented
def validate_ppa(owner, distribution, proposed_name, private=False):
Can 'person' create a PPA called 'proposed_name'?
ParametersownerThe proposed owner of the PPA.
proposed_nameThe proposed name.
privateWhether or not to make it private.
def get_archive_privacy_filter(user):
Get a simplified Archive privacy Storm filter.

Incorrect and deprecated. Use get_enabled_archive_filter instead.

def get_enabled_archive_filter(user, purpose=None, include_public=False, include_subscribed=False):
Return a filter that can be used with a Storm query to filter Archives.

The archive must be enabled, plus satisfy the other specified conditions.

API Documentation for Launchpad, generated by pydoctor at 2018-11-17 00:00:08.