Merge lp:~edwin-grubbs/launchpad/bug-538469-invalid-upstream-link into lp:launchpad
Status: | Merged |
---|---|
Merged at revision: | not available |
Proposed branch: | lp:~edwin-grubbs/launchpad/bug-538469-invalid-upstream-link |
Merge into: | lp:launchpad |
Diff against target: |
288 lines (+121/-16) 9 files modified
lib/lp/registry/browser/product.py (+2/-1) lib/lp/registry/browser/productseries.py (+1/-1) lib/lp/registry/browser/tests/product-portlet-packages-view.txt (+14/-4) lib/lp/registry/doc/distribution.txt (+12/-0) lib/lp/registry/interfaces/distribution.py (+7/-2) lib/lp/registry/model/distribution.py (+23/-7) lib/lp/registry/model/productseries.py (+6/-0) lib/lp/registry/tests/test_distroseries.py (+1/-1) lib/lp/registry/tests/test_productseries.py (+55/-0) |
To merge this branch: | bzr merge lp:~edwin-grubbs/launchpad/bug-538469-invalid-upstream-link |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Brad Crittenden (community) | code | Approve | |
Review via email: mp+21947@code.launchpad.net |
Description of the change
Summary
-------
When the Packages in Ubuntu portlet on the project index page suggests a
source package, it should only include source packages that have a
publishing history for the current Ubuntu series. This matches the
behavior of $project/
try to link to a distroseries without a publishing history for the
given source package.
Implementation details
-------
Added assertion to setPackaging() as a failsafe in case another
method of adding a Packaging entry is created.
lib/
Added publishing_
IDistribution.
names that do not have a publishing history for the given distroseries.
lib/
lib/
lib/
lib/
lib/
lib/
Fixed grammar error:
lib/
Fixed docstring:
lib/
Tests
-----
./bin/test -vv -t 'registry.
Demo and Q/A
------------
* Open https:/
* Remove all the packages.
* Open https:/
* The Packages in Ubuntu should still suggest the
evolution source package, since it has a publishing
history for the current series, which is hoary.
* Open https:/
* Change the status to Pre-release Freeze. This status
has priority over the Development or Current statuses
when determining the IDistribution.
* Open https:/
* The evolution source package should no longer be
suggested.
Lint
----
Linting changed files:
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
== Pylint notices ==
lib/lp/
59: [F0401] Unable to import 'lazr.delegates' (No module named delegates)
Edwin this branch looks very good. Thanks.