= Summary =
When we updated the archive index for the ppa page, the distribution copy archive page was also updated - it had some performance issues which were only just fixed, exposing an ugly ui issue.
http://people.canonical.com/~michaeln/tmp/before-copy-archive.png
This branch updates the page to look like:
http://people.canonical.com/~michaeln/tmp/after-copy-archive.png
== Proposed fix ==
Simply omit the yui-gc (2/3 - 1/3) column layout for copy archives.
This leaves the page readable. But we'll require further ui work - possibly a separate template for copy-archive indexes - during a later cycle.
== Pre-implementation notes ==
== Implementation details ==
== Tests == bin/test -vv -t stories/ppa -t stories/soyuz
== Demo and Q/A == To demo locally, in a harness do:
{{{ ubuntu = getUtility(IDistributionSet)['ubuntu'] loc = factory.makeCopyArchiveLocation(distribution=ubuntu)
cprov = getUtility(IPersonSet).getByName('cprov') ppa = cprov.archive req = ppa.requestPackageCopy(loc, cprov) import transaction;transaction.commit() }}}
For QA, view: https://edge.launchpad.net/ubuntu/+archive/test-rebuild-20090909
= Launchpad lint =
Checking for conflicts. and issues in doctests and templates. Running jslint, xmllint, pyflakes, and pylint. Using normal rules.
Linting changed files: lib/lp/soyuz/templates/archive-macros.pt lib/lp/soyuz/templates/archive-index.pt
-- Michael
« Back to merge proposal
= Summary =
When we updated the archive index for the ppa page, the distribution
copy archive page was also updated - it had some performance issues
which were only just fixed, exposing an ugly ui issue.
http:// people. canonical. com/~michaeln/ tmp/before- copy-archive. png
This branch updates the page to look like:
http:// people. canonical. com/~michaeln/ tmp/after- copy-archive. png
== Proposed fix ==
Simply omit the yui-gc (2/3 - 1/3) column layout for copy archives.
This leaves the page readable. But we'll require further ui work -
possibly a separate template for copy-archive indexes - during a later
cycle.
== Pre-implementation notes ==
== Implementation details ==
== Tests ==
bin/test -vv -t stories/ppa -t stories/soyuz
== Demo and Q/A ==
To demo locally, in a harness do:
{{{ IDistributionSe t)['ubuntu' ] makeCopyArchive Location( distribution= ubuntu)
ubuntu = getUtility(
loc = factory.
cprov = getUtility( IPersonSet) .getByName( 'cprov' ) ageCopy( loc, cprov) transaction. commit( )
ppa = cprov.archive
req = ppa.requestPack
import transaction;
}}}
For QA, view: /edge.launchpad .net/ubuntu/ +archive/ test-rebuild- 20090909
https:/
= Launchpad lint =
Checking for conflicts. and issues in doctests and templates.
Running jslint, xmllint, pyflakes, and pylint.
Using normal rules.
Linting changed files: soyuz/templates /archive- macros. pt soyuz/templates /archive- index.pt
lib/lp/
lib/lp/
--
Michael