Merge lp:~edwin-grubbs/launchpad/bug-663857-product-packages-timeout into lp:launchpad
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Curtis Hovey | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 12236 | ||||
Proposed branch: | lp:~edwin-grubbs/launchpad/bug-663857-product-packages-timeout | ||||
Merge into: | lp:launchpad | ||||
Diff against target: |
308 lines (+86/-59) 5 files modified
lib/lp/registry/browser/product.py (+4/-19) lib/lp/registry/browser/tests/packaging-views.txt (+19/-20) lib/lp/registry/interfaces/product.py (+3/-0) lib/lp/registry/model/product.py (+27/-7) lib/lp/registry/templates/product-packages.pt (+33/-13) |
||||
To merge this branch: | bzr merge lp:~edwin-grubbs/launchpad/bug-663857-product-packages-timeout | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Curtis Hovey (community) | code ui | Approve | |
Review via email: mp+46222@code.launchpad.net |
Commit message
[r=sinzui]
Description of the change
Summary
-------
This branch fixes the timeout on the $project/+packages page. It
restricts the results to series that are active or have packages. It
also batches the results.
I cleaned up the formatting, since a list of tables is fairly
confusing. I also sorted the results descending. If the series are named
by version number, the latest versions will appear at the top.
Implementation details
-------
lib/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
Tests
-----
./bin/test -vv -t 'packaging-
Demo and Q/A
------------
* Open https:/
* The page should not timeout.
Lint
----
The one remaining lint item shouldn't be fixed.
Linting changed files:
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
./lib/lp/
981: E301 expected 1 blank line, found 2
Hi Edwin.
Thank you for improving the layout while address the timeout. This makes the page much easier to read.