Merge lp:~stevenk/launchpad/db-add-parameters-to-idsjob into lp:launchpad/db-devel
Proposed by
Steve Kowalik
Status: | Merged |
---|---|
Approved by: | Graham Binns |
Approved revision: | no longer in the source branch. |
Merged at revision: | 9892 |
Proposed branch: | lp:~stevenk/launchpad/db-add-parameters-to-idsjob |
Merge into: | lp:launchpad/db-devel |
Prerequisite: | lp:~stevenk/launchpad/ids-limit-packagesets |
Diff against target: |
363 lines (+90/-79) 6 files modified
Makefile (+0/-1) lib/canonical/launchpad/scripts/runlaunchpad.py (+45/-62) lib/canonical/launchpad/scripts/tests/test_runlaunchpad.py (+5/-12) lib/lp/soyuz/interfaces/distributionjob.py (+1/-1) lib/lp/soyuz/model/initialisedistroseriesjob.py (+23/-3) lib/lp/soyuz/tests/test_initialisedistroseriesjob.py (+16/-0) |
To merge this branch: | bzr merge lp:~stevenk/launchpad/db-add-parameters-to-idsjob |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Graham Binns (community) | code | Approve | |
Review via email: mp+38188@code.launchpad.net |
Commit message
Allow parameters to be passed to InitialiseDistr
Description of the change
This branch allows creators of InitialiseDistr
To post a comment you must log in.
Some minor nitpicks that need fixing before landing:
> 22 + def create(
> 23 + cls, distroseries, arches=(), packagesets=(), rebuild=False):
This should be wrapped thus:
def create(cls, distroseries, arches=(), packagesets=(),
rebuild= False): troSeriesJob` ."""
"""See `IInitialiseDis
> 25 + metadata = {
> 26 + 'arches': arches, 'packagesets': packagesets,
> 27 + 'rebuild': rebuild}
And this should be wrapped one-item-per-line with the closing brace on
its own line:
metadata = {
'arches' : arches,
'packagese ts': packagesets,
'rebuild' : rebuild,
}