Ensures that if a package in a PPA has been superseded by later version of the same package in the distroseries primary/partner archive, then it will be indicated in the PPA UI.
== Proposed fix ==
Add ISourcePackagePublishingHistory.newer_distroseries_version and use this in the template to add a link to the newer version as well as highlight the row subtly with a gray background.
== Pre-implementation notes ==
See comments on bug 211008 (I did some UI pre-imp there). Note, I ended up removing the icon altogether as it was not subtle at all.
lib/lp/soyuz/interfaces/publishing.py
33: [F0401] Unable to import 'lazr.enum' (No module named enum)
40: [F0401] Unable to import 'lazr.restful.fields' (No module named restful)
41: [F0401] Unable to import 'lazr.restful.declarations' (No module named restful)
= Summary =
Ensures that if a package in a PPA has been superseded by later version of the same package in the distroseries primary/partner archive, then it will be indicated in the PPA UI.
== Proposed fix ==
Add ISourcePackageP ublishingHistor y.newer_ distroseries_ version and use this in the template to add a link to the newer version as well as highlight the row subtly with a gray background.
== Pre-implementation notes ==
See comments on bug 211008 (I did some UI pre-imp there). Note, I ended up removing the icon altogether as it was not subtle at all.
== Implementation details ==
== Tests ==
bin/test -vv -t doc/publishing.txt -t xx-ubuntu-ppas.txt
== Demo and Q/A ==
To demo: /launchpad. dev/~cprov/ +archive/ ppa pastebin. ubuntu. com/338780/ /launchpad. dev/~cprov/ +archive/ ppa
1. visit https:/
2. In a `bin/iharness` run the following script:
http://
3. Reload https:/
4. Click on 'View package details' and see the same change there also.
= Launchpad lint =
Checking for conflicts. and issues in doctests and templates.
Running jslint, xmllint, pyflakes, and pylint.
Using normal rules.
Linting changed files: soyuz/stories/ ppa/xx- ubuntu- ppas.txt soyuz/model/ publishing. py soyuz/doc/ publishing. txt soyuz/templates /sourcepackagep ublishinghistor y-listing- archive- detailed. pt soyuz/interface s/publishing. py /launchpad/ icing/style- 3-0.css soyuz/templates /archive- index.pt
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/canonical
lib/lp/
== Pylint notices ==
lib/lp/ soyuz/interface s/publishing. py fields' (No module named restful) declarations' (No module named restful)
33: [F0401] Unable to import 'lazr.enum' (No module named enum)
40: [F0401] Unable to import 'lazr.restful.
41: [F0401] Unable to import 'lazr.restful.