Merge lp://qastaging/~wgrant/launchpad/xref-buglinks into lp://qastaging/launchpad

Proposed by William Grant
Status: Merged
Merged at revision: 17782
Proposed branch: lp://qastaging/~wgrant/launchpad/xref-buglinks
Merge into: lp://qastaging/launchpad
Prerequisite: lp://qastaging/~wgrant/launchpad/xref-model
Diff against target: 1243 lines (+555/-92)
20 files modified
database/schema/security.cfg (+8/-0)
lib/lp/answers/browser/tests/views.txt (+2/-2)
lib/lp/answers/model/question.py (+51/-14)
lib/lp/blueprints/model/specification.py (+32/-6)
lib/lp/blueprints/tests/test_specification.py (+17/-0)
lib/lp/bugs/browser/tests/test_bugtask.py (+5/-5)
lib/lp/bugs/doc/cve.txt (+3/-3)
lib/lp/bugs/model/bug.py (+57/-16)
lib/lp/bugs/model/bugcve.py (+3/-0)
lib/lp/bugs/model/bugtask.py (+11/-3)
lib/lp/bugs/model/bugtasksearch.py (+34/-9)
lib/lp/bugs/model/cve.py (+67/-34)
lib/lp/bugs/model/tests/test_bugtask.py (+16/-0)
lib/lp/bugs/model/tests/test_bugtasksearch.py (+21/-0)
lib/lp/bugs/tests/test_cve.py (+53/-0)
lib/lp/coop/answersbugs/model.py (+3/-0)
lib/lp/coop/answersbugs/tests/test_questionbug.py (+17/-0)
lib/lp/scripts/garbo.py (+63/-0)
lib/lp/scripts/tests/test_garbo.py (+88/-0)
lib/lp/services/xref/model.py (+4/-0)
To merge this branch: bzr merge lp://qastaging/~wgrant/launchpad/xref-buglinks
Reviewer Review Type Date Requested Status
Colin Watson (community) Approve
Review via email: mp+272591@code.qastaging.launchpad.net

Commit message

BugCve/QuestionBug/SpecificationBug -> XRef, part 1: write to both schemas, read from either.

Description of the change

BugCve/QuestionBug/SpecificationBug -> XRef, part 1: write to both schemas, read from either.

There's also a garbo job to backfill XRef, and a test-only feature flag to disable writing to the old schema.

There are a couple of XXXs about filling in XRef.creator, but the old schema doesn't store that data, and this branch is big enough as is. creator comes later.

To post a comment you must log in.
Revision history for this message
Colin Watson (cjwatson) :
review: Approve
Revision history for this message
William Grant (wgrant) :

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.