Merge lp://staging/~edwin-grubbs/launchpad/bug-552619-suggesting-removed-packages into lp://staging/launchpad
Status: | Merged |
---|---|
Approved by: | Brad Crittenden |
Approved revision: | no longer in the source branch. |
Merged at revision: | not available |
Proposed branch: | lp://staging/~edwin-grubbs/launchpad/bug-552619-suggesting-removed-packages |
Merge into: | lp://staging/launchpad |
Diff against target: |
66 lines (+26/-10) 2 files modified
lib/lp/registry/browser/product.py (+9/-7) lib/lp/registry/browser/tests/product-portlet-packages-view.txt (+17/-3) |
To merge this branch: | bzr merge lp://staging/~edwin-grubbs/launchpad/bug-552619-suggesting-removed-packages |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Brad Crittenden (community) | code | Approve | |
Review via email: mp+22912@code.staging.launchpad.net |
Commit message
Fix problem where the project index page would suggest linking to an ubuntu package that had been deleted.
Description of the change
Summary
-------
ubuntu.
suggestions since it does not filter on the status of the entries in the
SourcePackagePu
Implementation details
-------
Instead of extending the search functionality, I matched the assertion
in the model by checking the SourcePackage.
ubuntu.
DistributionSou
currentseries is accessed as the development_version attribute on the
DistributionSou
Tests
-----
./bin/test -vv -t product-
Demo and Q/A
------------
On launchpad.dev:
* Run this query on the launchpad_dev db:
UPDATE sourcepackagepu
* Open http://
* There should be no packages suggested in the Packages in Ubuntu
portlet.
On edge:
* Open https:/
* The "waf" package should not be suggested in the Packages in Ubuntu
portlet.