Merge lp:~abentley/launchpad/model-product-info-type into lp:launchpad
| Status: | Merged |
|---|---|
| Approved by: | Aaron Bentley on 2012-10-02 |
| Approved revision: | no longer in the source branch. |
| Merged at revision: | 16083 |
| Proposed branch: | lp:~abentley/launchpad/model-product-info-type |
| Merge into: | lp:launchpad |
| Diff against target: |
336 lines (+68/-37) 9 files modified
lib/lp/app/interfaces/informationtype.py (+5/-2) lib/lp/app/model/launchpad.py (+10/-0) lib/lp/blueprints/model/specification.py (+2/-6) lib/lp/bugs/model/bug.py (+2/-5) lib/lp/registry/configure.zcml (+5/-0) lib/lp/registry/interfaces/product.py (+2/-9) lib/lp/registry/model/product.py (+12/-13) lib/lp/registry/tests/test_product.py (+26/-0) lib/lp/testing/factory.py (+4/-2) |
| To merge this branch: | bzr merge lp:~abentley/launchpad/model-product-info-type |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Deryck Hodge (community) | 2012-10-02 | Approve on 2012-10-02 | |
|
Review via email:
|
|||
Commit Message
Implement Product.
Description of the Change
= Summary =
Provide Product.
== Proposed fix ==
Add Product.
== Pre-implementation notes ==
None
== LOC Rationale ==
Part of Private Projects
== Implementation details ==
The database column has already landed; this adds support to Storm.
The information_type move is to reduce duplication and to simplify security policy implementation.
information_type is nullable because the database permits this and existing data contains NULLs. Once a garbo job has removed all NULLs, it can be updated to prohibit nulls.
== Tests ==
bin/test -t test_product_
== Demo and Q/A ==
View a product page. If nothing's broken, it's good.
= Launchpad lint =
Checking for conflicts and issues in changed files.
Linting changed files:
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/

Looks good.