l.r.m.distroseriesdifference : module documentation

Part of lp.registry.model

Database classes for a difference between two distribution series.
Function most_recent_publications The most recent publications for the given `DistroSeriesDifference`s.
Function most_recent_comments The most recent comments for the given `DistroSeriesDifference`s.
Function get_packagesets Return the packagesets for the given dsds inside the parent or
Function message_chunks Return the message chunks for the given messages.
Function eager_load_dsds Eager load dependencies of the given `DistroSeriesDifference`s.
Function get_comment_with_status_change Undocumented
Class DistroSeriesDifference See DistroSeriesDifference.
def most_recent_publications(dsds, in_parent, statuses, match_version=False):
The most recent publications for the given `DistroSeriesDifference`s.

Returns an `IResultSet` that yields two columns: `SourcePackageName.id`
and `SourcePackagePublishingHistory`.

:param dsds: An iterable of `DistroSeriesDifference` instances.
:param in_parent: A boolean indicating if we should look in the parent
    series' archive instead of the derived series' archive.
def most_recent_comments(dsds):
The most recent comments for the given `DistroSeriesDifference`s.

Returns an `IResultSet` that yields a single column of
    `DistroSeriesDifferenceComment`.

:param dsds: An iterable of `DistroSeriesDifference` instances.
def get_packagesets(dsds, in_parent):
Return the packagesets for the given dsds inside the parent or the derived DistroSeries.

Returns a dict with the corresponding packageset list for each dsd id.

ParametersdsdsAn iterable of DistroSeriesDifference instances.
in_parentA boolean indicating if we should look in the parent series' archive instead of the derived series' archive.
def message_chunks(messages):
Return the message chunks for the given messages.

Returns a dict with the list of MessageChunk for each message id.

ParametersmessagesAn iterable of Message instances.
def eager_load_dsds(dsds):
Eager load dependencies of the given `DistroSeriesDifference`s.

:param dsds: A concrete sequence (i.e. not a generator) of
    `DistroSeriesDifference` to eager load for.
def get_comment_with_status_change(status, new_status, comment):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.