Merge ~andrey-fedoseev/launchpad:bug-task-channel into launchpad:master

Proposed by Andrey Fedoseev
Status: Needs review
Proposed branch: ~andrey-fedoseev/launchpad:bug-task-channel
Merge into: launchpad:master
Diff against target: 1067 lines (+328/-71)
20 files modified
lib/lp/bugs/configure.zcml (+2/-0)
lib/lp/bugs/interfaces/bugsummary.py (+3/-1)
lib/lp/bugs/interfaces/bugtask.py (+1/-0)
lib/lp/bugs/model/bugsummary.py (+12/-1)
lib/lp/bugs/model/bugtask.py (+27/-1)
lib/lp/bugs/model/bugtaskflat.py (+2/-1)
lib/lp/bugs/model/tests/test_bugtask.py (+24/-0)
lib/lp/bugs/scripts/bugsummaryrebuild.py (+36/-20)
lib/lp/bugs/scripts/bugtasktargetnamecaches.py (+2/-2)
lib/lp/registry/interfaces/distroseries.py (+1/-1)
lib/lp/registry/interfaces/sourcepackage.py (+11/-1)
lib/lp/registry/model/distroseries.py (+3/-2)
lib/lp/registry/model/sourcepackage.py (+64/-16)
lib/lp/registry/stories/webservice/xx-source-package.rst (+1/-0)
lib/lp/registry/tests/test_distributionsourcepackage.py (+1/-1)
lib/lp/registry/tests/test_distroseries.py (+6/-0)
lib/lp/registry/tests/test_sourcepackage.py (+60/-0)
lib/lp/soyuz/tests/test_binarypackagebuild.py (+9/-5)
lib/lp/soyuz/tests/test_hasbuildrecords.py (+50/-17)
lib/lp/testing/factory.py (+13/-2)
Reviewer Review Type Date Requested Status
Launchpad code reviewers Pending
Review via email: mp+434693@code.qastaging.launchpad.net

Commit message

WIP: Add `channel` field to `BugTask` and `SourcePackage`

This should also make a `SourcePackage` with a channel a valid target for a `BugTask`, and some work has been done in that direction, but it may not be 100% complete.

Description of the change

Currently, it is confirmed to pass all tests in `lp.{bugs,soyuz,registry}` (other packages hasn't been checked)

To post a comment you must log in.

There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.

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.

Subscribers

People subscribed via source and target branches

to status/vote changes: