l.s.m.publishing : module documentation

Part of lp.soyuz.model

No module docstring
Function makePoolPath Return the pool path for a given source name and component name.
Function get_component Override the component to fit in the archive, if possible.
Function proxied_urls Run the files passed through ProxiedLibraryFileAlias.
Function proxied_source_urls Return the files passed through ProxiedSourceLibraryFileAlias.
Class ArchivePublisherBase Base class for IArchivePublisher.
Class SourcePackagePublishingHistory A source package release publishing record.
Class BinaryPackagePublishingHistory A binary package publishing record.
Function expand_binary_requests Architecture-expand a dict of binary publication requests.
Class PublishingSet Utilities for manipulating publications in batches.
Function get_current_source_releases Get the current source package releases in a context.
def makePoolPath(source_name, component_name):
Return the pool path for a given source name and component name.
def get_component(archive, distroseries, component):
Override the component to fit in the archive, if possible.

If the archive has a default component, and it forbids use of the requested component in the requested series, use the default.

If there is no default, just return the given component.

def proxied_urls(files, parent):
Run the files passed through ProxiedLibraryFileAlias.
def proxied_source_urls(files, parent):
Return the files passed through ProxiedSourceLibraryFileAlias.
def expand_binary_requests(distroseries, binaries):
Architecture-expand a dict of binary publication requests.

For architecture-independent binaries, a tuple will be returned for each enabled architecture in the series. For architecture-dependent binaries, a tuple will be returned only for the architecture corresponding to the build architecture, if it exists and is enabled.

ParametersbinariesA dict mapping BinaryPackageReleases to tuples of their desired overrides.
ReturnsThe binaries and the architectures in which they should be published, as a sequence of (DistroArchSeries, BinaryPackageRelease, (overrides)) tuples.
def get_current_source_releases(context_sourcepackagenames, archive_ids_func, package_clause_func, extra_clauses, key_col):
Get the current source package releases in a context.

You probably don't want to use this directly; try (Distribution|DistroSeries)(Set)?.getCurrentSourceReleases instead.

API Documentation for Launchpad, generated by pydoctor at 2018-08-20 00:00:04.