Merge lp:~bac/launchpad/bug-590813 into lp:launchpad
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | Brad Crittenden on 2010-08-10 | ||||
| Approved revision: | no longer in the source branch. | ||||
| Merged at revision: | 11332 | ||||
| Proposed branch: | lp:~bac/launchpad/bug-590813 | ||||
| Merge into: | lp:launchpad | ||||
| Diff against target: |
301 lines (+95/-27) 7 files modified
lib/lp/app/browser/stringformatter.py (+6/-4) lib/lp/app/browser/tests/root-views.txt (+1/-1) lib/lp/registry/interfaces/distribution.py (+15/-12) lib/lp/registry/interfaces/product.py (+9/-5) lib/lp/registry/tests/test_distribution.py (+31/-0) lib/lp/registry/tests/test_person.py (+4/-4) lib/lp/registry/tests/test_product.py (+29/-1) |
||||
| To merge this branch: | bzr merge lp:~bac/launchpad/bug-590813 | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Jelmer Vernooij (community) | 2010-08-10 | Approve on 2010-08-10 | |
|
Review via email:
|
|||
Commit Message
Don't snapshot collections in IProduct and IDistribution.
Description of the Change
= Summary =
Some products have lots of series...sometimes over 1000, which breaks
ShortList. Snapshotting those series is a huge waste of time.
== Proposed fix ==
Add 'doNotSnapshot' to the interface definition of CollectionFields in
IProduct and IDistribution.
Also did some drive-by lint, spelling, and grammar fixes.
== Pre-implementation notes ==
Talk with Curtis.
== Implementation details ==
As above.
== Tests ==
bin/test -vvt test_snapshot
== Demo and Q/A ==
Nope
= 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/
405: E501 line too long (90 characters)
409: E501 line too long (88 characters)
405: Line exceeds 78 characters.
409: Line exceeds 78 characters.
./lib/lp/
903: E301 expected 1 blank line, found 2
