Merge lp:~abentley/launchpad/celery-everywhere-4 into lp:launchpad
| Status: | Merged |
|---|---|
| Approved by: | Aaron Bentley on 2012-04-23 |
| Approved revision: | no longer in the source branch. |
| Merged at revision: | 15146 |
| Proposed branch: | lp:~abentley/launchpad/celery-everywhere-4 |
| Merge into: | lp:launchpad |
| Diff against target: |
440 lines (+147/-74) 7 files modified
lib/lp/services/job/model/job.py (+23/-21) lib/lp/services/job/tests/test_job.py (+9/-4) lib/lp/soyuz/model/distributionjob.py (+10/-1) lib/lp/soyuz/model/distroseriesdifferencejob.py (+8/-3) lib/lp/soyuz/model/initializedistroseriesjob.py (+6/-1) lib/lp/soyuz/tests/test_distroseriesdifferencejob.py (+19/-0) lib/lp/soyuz/tests/test_initializedistroseriesjob.py (+72/-44) |
| To merge this branch: | bzr merge lp:~abentley/launchpad/celery-everywhere-4 |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Benji York (community) | code | 2012-04-20 | Approve on 2012-04-23 |
|
Review via email:
|
|||
Commit Message
Support DistributionJobs via Celery
Description of the Change
= Summary =
Support DistributionJob via Celery
== Pre-implementation notes ==
None
== Implementation details ==
Handle missing Jobs more cleanly
Refactor retrieving jobs and changing db user to avoid db permission errors
Add DistributionJob to the list of base classes, add makeDerived method.
Make DistributionJob
Add config to InitializeDistr
Add config to DistributionDif
Extract create_child from InitializeDistr
== Tests ==
bin/test --layer=
== Demo and Q/A ==
None
= Launchpad lint =
Checking for conflicts and issues in changed files.
Linting changed files:
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/

This branch looks good. It looks like you had a multi-line import that
shrunk and can now fit on one line:
=== modified file 'lib/lp/ soyuz/tests/ test_distroseri esdifferencejob .py' soyuz/tests/ test_distroseri esdifferencejob .py 2012-01-24 17:27:44 +0000 soyuz/tests/ test_distroseri esdifferencejob .py 2012-04-20 19:12:21 +0000 database. lpstorm import IMasterStore features. testing import FeatureFixture job.interfaces. job import JobStatus job.tests import (
--- lib/lp/
+++ lib/lp/
@@ -22,6 +22,9 @@
from lp.services.
from lp.services.
from lp.services.
+from lp.services.
+ block_on_job,
+ )