Merge lp:~gmb/launchpad/create-blobjobs-bug-519205 into lp:launchpad/db-devel
Proposed by
Graham Binns
Status: | Merged |
---|---|
Approved by: | Eleanor Berger |
Approved revision: | not available |
Merged at revision: | not available |
Proposed branch: | lp:~gmb/launchpad/create-blobjobs-bug-519205 |
Merge into: | lp:launchpad/db-devel |
Diff against target: |
285 lines (+164/-9) 6 files modified
lib/canonical/launchpad/browser/temporaryblobstorage.py (+14/-4) lib/lp/bugs/configure.zcml (+12/-0) lib/lp/bugs/interfaces/apportjob.py (+5/-0) lib/lp/bugs/model/apportjob.py (+28/-4) lib/lp/bugs/tests/test_apportjob.py (+104/-1) lib/lp/bugs/utilities/filebugdataparser.py (+1/-0) |
To merge this branch: | bzr merge lp:~gmb/launchpad/create-blobjobs-bug-519205 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Eleanor Berger (community) | code | Approve | |
Review via email: mp+19088@code.launchpad.net |
Commit message
TemporaryBlobSt
To post a comment you must log in.
This branch is the next stage of moving the work for processing Apport
BLOBs out of the +filebug view and into the Jobs system.
The changes in this branch mean that when a BLOB is uploaded Launchpad obJob for it. This job
will automatically create a new ProcessApportBl
can then be polled later by +filebug to see if the BLOB has been parsed
properly.
== lib/canonical/ launchpad/ browser/ temporaryblobst orage.py ==
- I've updated TemporaryBlobSt orageAddView so that it now creates a new tBlobJob for the uploaded BLOB. I've moved the uploading
ProcessAppor
functionality into a separate method so that it can be tested
directly rather than having to test it via the 'Continue' action.
== lib/lp/ bugs/configure. zcml ==
- I've added ZCML for the ApportBlobJob interfaces.
== lib/lp/ bugs/interfaces /apportjob. py ==
- I've added a getByBlobUUID() method to IApportBlobJobS ource so that
we can look up Jobs by BLOB UUID. This will be used in a subsequent
branch to poll for processing jobs being complete.
== lib/lp/ bugs/model/ apportjob. py ==
- I've updated ProcessApportBl obJob.create( ) so that it will not create tBlobJob.
a new job for BLOB if there's already a job, complete or otherwise,
in the database.
- I've added an implementation of getByBlobUUID() to
ProcessAppor
== lib/lp/ bugs/tests/ test_apportjob. py ==
- I've added tests for the changes to ProcessApportBl obJob and bStorageAddView .
TemporaryBlo
== lib/lp/ bugs/utilities/ filebugdatapars er.py ==
- I've cleaned up some lint by adding FileBugData to the __all__ clause
of the module.
No lint.