Merge lp:~wallyworld/launchpad/new-project-sharing-policies-1040989 into lp:launchpad
Proposed by
Ian Booth
on 2012-08-28
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | Ian Booth on 2012-08-28 | ||||
| Approved revision: | no longer in the source branch. | ||||
| Merged at revision: | 15879 | ||||
| Proposed branch: | lp:~wallyworld/launchpad/new-project-sharing-policies-1040989 | ||||
| Merge into: | lp:launchpad | ||||
| Diff against target: |
472 lines (+117/-36) 14 files modified
lib/lp/bugs/browser/tests/test_bug_views.py (+8/-3) lib/lp/bugs/browser/tests/test_bugs.py (+13/-3) lib/lp/bugs/browser/tests/test_bugtarget_filebug.py (+3/-3) lib/lp/bugs/tests/test_bugs_webservice.py (+3/-3) lib/lp/code/browser/tests/test_branch.py (+10/-5) lib/lp/code/browser/tests/test_product.py (+1/-2) lib/lp/code/model/tests/test_branch.py (+5/-2) lib/lp/code/model/tests/test_branchnamespace.py (+7/-5) lib/lp/registry/model/product.py (+12/-0) lib/lp/registry/services/tests/test_sharingservice.py (+0/-1) lib/lp/registry/tests/test_product.py (+26/-1) lib/lp/registry/tests/test_product_webservice.py (+2/-2) lib/lp/scripts/tests/test_garbo.py (+6/-4) lib/lp/testing/factory.py (+21/-2) |
||||
| To merge this branch: | bzr merge lp:~wallyworld/launchpad/new-project-sharing-policies-1040989 | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| William Grant | code | 2012-08-28 | Approve on 2012-08-28 |
|
Review via email:
|
|||
Commit Message
New projects are created with sensible default sharing policies.
Description of the Change
== Implementation ==
The IProductSet createProduct() API is updated to ensure projects are created with the correct default sharing policies.
Open (non-proprietary) projects get PUBLIC for bugs and branches.
Proprietary projects get PROPRIETARY for bugs and branches.
== Tests ==
Update TestProduct:
- test_open_
- test_proprietar
== Lint ==
Checking for conflicts and issues in changed files.
Linting changed files:
lib/lp/
lib/lp/
To post a comment you must log in.
review:
Approve
(code)
