Migrate a few "complex" forms: those which do use LaunchpadForm, but
embedded in a bigger page. Changes are mostly mechanical to make them
3.0-compatible.
== Implementation details ==
Lots of whitespace fixes (replacing tabs with spaces and similar) and
reindentation increase the size of the diff.
For translationimportqueueentry-index.pt, I also improve next_url
handling so we get back to the import queue which we started from
(basically, +imports page is registered on all of IProduct,
IProductSeries, IDistribution, IDistroSeries, IPerson, but they all go
to the same ITranslationImportQueueEntry edit form, and after
submission should go back). A separate test is added for that, though
it does exhibit some Zope testbrowser bugs in referrer handling.
Everything else is just bits and pieces moved around.
I've also moved translation import queue tests into a separate "story"
so they are easier to run when needed.
= Bug #423103, #423104 =
Migrate a few "complex" forms: those which do use LaunchpadForm, but
embedded in a bigger page. Changes are mostly mechanical to make them
3.0-compatible.
== Implementation details ==
Lots of whitespace fixes (replacing tabs with spaces and similar) and
reindentation increase the size of the diff.
For translationimpo rtqueueentry- index.pt, I also improve next_url ortQueueEntry edit form, and after
handling so we get back to the import queue which we started from
(basically, +imports page is registered on all of IProduct,
IProductSeries, IDistribution, IDistroSeries, IPerson, but they all go
to the same ITranslationImp
submission should go back). A separate test is added for that, though
it does exhibit some Zope testbrowser bugs in referrer handling.
Everything else is just bits and pieces moved around.
I've also moved translation import queue tests into a separate "story"
so they are easier to run when needed.
== Tests ==
bin/test -vvt stories.importqueue -t translations- xpi-import. txt -t productseries- translations- bzr-request -t distroseries- language- pack
== Demo and Q/A ==
translationsimp ortqueueentry- index.pt:
https:/ /translations. launchpad. dev/+imports/ 1 +imports, /~name16/+imports)
(and get there through /+imports, /evolution/
distroseries- language- packs.pt:
https:/ /translations. launchpad. dev/ubuntu/ hoary/+ language- packs
productseries- translations- bzr-import. pt:
https:/ /translations. launchpad. dev/evolution/ trunk/+ request- bzr-import
productseries- translations- settings. pt:
https:/ /translations. launchpad. dev/evolution/ trunk/+ translations- settings
= Launchpad lint =
Checking for conflicts. and issues in doctests and templates.
Running jslint, xmllint, pyflakes, and pylint.
Using normal rules.
Linting changed files: translations/ stories/ standalone/ xx-translations -xpi-import. txt translations/ stories/ productseries/ xx-productserie s-translations- bzr-request. txt translations/ stories/ importqueue/ xx-translation- import- queue-entry. txt /launchpad/ pagetitles. py translations/ templates/ distroseries- language- packs.pt translations/ browser/ translationimpo rtqueue. py translations/ stories/ importqueue/ xx-translation- import- queue-filtering .txt translations/ templates/ productseries- translations- settings. pt translations/ templates/ productseries- translations- bzr-import. pt translations/ stories/ importqueue/ xx-translation- import- queue.txt translations/ browser/ productseries. py translations/ templates/ translationimpo rtqueueentry- index.pt translations/ stories/ importqueue/ xx-translation- import- queue-edit- autofilling. txt translations/ stories/ distroseries/ xx-distroseries -language- packs.txt
lib/lp/
lib/lp/
lib/lp/
lib/canonical
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/