Merge lp:~rockstar/launchpad/job-suspended-status into lp:launchpad
Proposed by
Paul Hummer
on 2010-01-11
| Status: | Merged |
|---|---|
| Approved by: | Muharem Hrnjadovic on 2010-01-11 |
| Approved revision: | not available |
| Merged at revision: | not available |
| Proposed branch: | lp:~rockstar/launchpad/job-suspended-status |
| Merge into: | lp:launchpad |
| Diff against target: |
129 lines (+76/-1) 3 files modified
lib/lp/services/job/interfaces/job.py (+16/-0) lib/lp/services/job/model/job.py (+14/-1) lib/lp/services/job/tests/test_job.py (+46/-0) |
| To merge this branch: | bzr merge lp:~rockstar/launchpad/job-suspended-status |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Muharem Hrnjadovic (community) | code | 2010-01-11 | Approve on 2010-01-11 |
|
Review via email:
|
|||
To post a comment you must log in.
| Paul Hummer (rockstar) wrote : | # |

This branch adds a JobStatus.SUSPENDED state, as well as suspend and resume
methods for IJob interfaces. Jobs can only be suspended if they are in a
waiting state, and suspended jobs can only transition to waiting.