~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/soyuz/interfaces/distributionjob.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-07-23 02:49:38 UTC
  • mfrom: (13457.4.9 dsd-init-bug-808681)
  • Revision ID: launchpad@pqm.canonical.com-20110723024938-jo8ilurqefjqe4qx
[r=julian-edwards][bug=808681] Series initializations now sets up the
        DistroSeriesDifferences rows.

Show diffs side-by-side

added added

removed removed

Lines of Context:
138
138
        # XXX JeroenVermeulen 2011-05-26 bug=758906: Make parent_series
139
139
        # mandatory as part of multi-parent support.
140
140
 
 
141
    def massCreateForSeries(derived_series, parent_series):
 
142
        """Create jobs for all the publications inside the given distroseries
 
143
            with reference to the given parent series.
 
144
 
 
145
        :param derived_series: A `DistroSeries` that is assumed to be
 
146
            derived from `parent_series`.
 
147
        :param parent_series: The parent `DistroSeries`.
 
148
 
 
149
        :return: An iterable of `DistroSeriesDifferenceJob` ids. We don't
 
150
            return the Job themselves for performance reason.
 
151
        """
 
152
 
141
153
    def getPendingJobsForDifferences(derived_series, distroseriesdifferences):
142
154
        """Find `DistroSeriesDifferenceJob`s for `DistroSeriesDifference`s.
143
155