l.s.i.d.IDistroSeriesDifferenceJobSource(IJobSource) : interface documentation

Part of lp.soyuz.interfaces.distributionjob View In Hierarchy

An `IJob` for creating `DistroSeriesDifference`s.
Method createForPackagePublication Create jobs as appropriate for a given package publication.
Method createForSPPHs Create jobs for given `SourcePackagePublishingHistory`s.
Method massCreateForSeries Create jobs for all the publications inside the given distroseries
Method getPendingJobsForDifferences Find `DistroSeriesDifferenceJob`s for `DistroSeriesDifference`s.

Inherited from IJobSource:

Int memory_limit Undocumented
Method iterReady Iterate through all jobs.
Method contextManager Get a context for running this kind of job in.
def createForPackagePublication(derivedseries, sourcepackagename, pocket):
Create jobs as appropriate for a given package publication.
Parametersderived_seriesA DistroSeries that is assumed to be derived from parent_series.
sourcepackagenameA SourcePackageName that is being published in derived_series or parent_series.
pocketThe PackagePublishingPocket for the publication.
ReturnsAn iterable of DistroSeriesDifferenceJob.
def createForSPPHs(spphs):
Create jobs for given `SourcePackagePublishingHistory`s.
def massCreateForSeries(derived_series):
Create jobs for all the publications inside the given distroseries
with reference to the given parent series.
Parametersderived_seriesA DistroSeries that is assumed to be derived from parent_series.
ReturnsAn iterable of DistroSeriesDifferenceJob ids. We don't return the Job themselves for performance reason.
def getPendingJobsForDifferences(derived_series, distroseriesdifferences):
Find `DistroSeriesDifferenceJob`s for `DistroSeriesDifference`s.

:param derived_series: The derived `DistroSeries` that the
    differences (and jobs) must be for.
:param distroseriesdifferences:
    An iterable of `DistroSeriesDifference`s.
:return: A dict mapping each of `distroseriesdifferences` that has
    pending jobs to a list of its jobs.
API Documentation for Launchpad, generated by pydoctor at 2019-07-20 00:00:03.