Merge lp:~adeuring/launchpad/bug-596944-model into lp:launchpad/db-devel
| Status: | Merged |
|---|---|
| Approved by: | Leonard Richardson on 2010-11-30 |
| Approved revision: | no longer in the source branch. |
| Merged at revision: | 10022 |
| Proposed branch: | lp:~adeuring/launchpad/bug-596944-model |
| Merge into: | lp:launchpad/db-devel |
| Diff against target: |
314 lines (+191/-3) 9 files modified
lib/lp/bugs/interfaces/bugtarget.py (+4/-0) lib/lp/bugs/model/bugtarget.py (+4/-0) lib/lp/bugs/tests/test_bugtarget2.py (+156/-0) lib/lp/registry/configure.zcml (+5/-1) lib/lp/registry/interfaces/projectgroup.py (+4/-0) lib/lp/registry/model/distributionsourcepackage.py (+6/-2) lib/lp/registry/model/product.py (+1/-0) lib/lp/registry/model/productseries.py (+5/-0) lib/lp/registry/model/sourcepackage.py (+6/-0) |
| To merge this branch: | bzr merge lp:~adeuring/launchpad/bug-596944-model |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Leonard Richardson (community) | 2010-11-30 | Approve on 2010-11-30 | |
|
Review via email:
|
|||
Commit Message
[incr] [r=leonardr]
Description of the Change
This branch is a step to fix bug 596944: Allow projects to
disable duplicate detection when reporting a bug. It adds a
new property enable_
classes and to ProjectGroup.
The option to enable or disable dupe search will be selectable
only for products and for source packages (see also this
branch: lp:~adeuring/launchpad/bug-596944-schema); I added the
property to all bug targets so that we don't need to check in
browser code if the current bug target has the property
enable_
So we have three cases:
- enable_
case for distributions and for project groups
- enable_
DSPs
- enable_
object: product series and source package.
test: ./bin/test -vvt test_bugtarget2
no lint
