Merge lp:~jcsackett/launchpad/packaging-portlet-timeouts into lp:launchpad
Status: | Merged |
---|---|
Approved by: | Brad Crittenden |
Approved revision: | no longer in the source branch. |
Merged at revision: | 11311 |
Proposed branch: | lp:~jcsackett/launchpad/packaging-portlet-timeouts |
Merge into: | lp:launchpad |
Diff against target: |
69 lines (+4/-23) 4 files modified
lib/lp/registry/browser/distroseries.py (+3/-1) lib/lp/registry/browser/tests/test_distroseries_views.py (+1/-4) lib/lp/registry/stories/distroseries/xx-distroseries-index.txt (+0/-4) lib/lp/registry/templates/distroseries-portlet-packaging.pt (+0/-14) |
To merge this branch: | bzr merge lp:~jcsackett/launchpad/packaging-portlet-timeouts |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Brad Crittenden (community) | code | Approve | |
Robert Collins (community) | Approve | ||
Review via email: mp+31878@code.launchpad.net |
Commit message
Disables the needs_linking feature and removes its display from the template. Previously users would see the "top ten" packages needing linking, which appeared to be not completely valid data, and was the cause of timeouts.
Description of the change
lp:~jcsackett/launchpad/packaging-portlet-timeouts
Diff size: 43 lines
Launchpad bug:
https:/
Test command: ./bin/test -vv \
-t test_needs_linking
Pre-
Target release: 10.08
Disable the "needs linked" feature in the packaging-portlet
-------
Related to bug 612358, we needed to disable the needs linked portion
of the packaging-portlet. The current presentation isn't really
meeting the need of encouraging participation in linking packages,
and is showing bad data (bad bug count, packages that can't be
linked).
QA
--
Open a project with the packaging-portlet; the needs more
information part should no longer display.
Lint
----
= Launchpad lint =
Checking for conflicts and issues in changed files.
Linting changed files:
lib/lp/
lib/lp/
lib/lp/
Test
----
test_needs_linking in
/lib/lp/
was updated to assert that view.needs_linked returns None
Implementation
--------------
In the portlet:
* Removed the preprocessing so that the data no longer
displays, turning off the feature
In the view:
* Updated the needs_linked property to return None
Together, this disables the feature.
Please include the test change from Edwin's branch