This is my first branch to ensure valid upstream package links. There
are many oopses relating to the creation and efforts to fix invalid packages.
The root cause is a bad DB constraint and two views that do not do the
required sanity checks: +addPackage and +ubuntupkg
This branch is a set of mechanical changed made by the migrater script to
move packaging from canonical.launchpad to lp.registry
* Run th migrator to take ownership of the problem code.
== QA ==
* Visit any productseries that you are the owner or release manager of
* Choose (+) Add package
* Verify the page displays a for to choose a distroseries and source
package.
This is my first branch to ensure valid upstream package links. There
are many oopses relating to the creation and efforts to fix invalid packages.
The root cause is a bad DB constraint and two views that do not do the
required sanity checks: +addPackage and +ubuntupkg
This branch is a set of mechanical changed made by the migrater script to
move packaging from canonical.launchpad to lp.registry
lp:~sinzui/launchpad/package-link-validation /bugs.launchpad .net/bugs/ 453212
-t stories/packaging implementation: flacoste
Diff size: 395
Launchpad bug: https:/
Test command: ./bin/test -vv -t test_packaging \
Pre-
Target release: 3.1.10
== Rules ==
* Run th migrator to take ownership of the problem code.
== QA ==
* Visit any productseries that you are the owner or release manager of
* Choose (+) Add package
* Verify the page displays a for to choose a distroseries and source
package.
== Lint ==
Linting changed files: /launchpad/ security. py /launchpad/ browser/ __init_ _.py /launchpad/ database/ __init_ _.py /launchpad/ interfaces/ __init_ _.py /launchpad/ zcml/configure. zcml registry/ configure. zcml registry/ browser/ configure. zcml registry/ browser/ distributionsou rcepackage. py registry/ browser/ packaging. py registry/ browser/ sourcepackage. py registry/ browser/ tests/test_ packaging. py registry/ browser/ tests/test_ person_ view.py registry/ model/distribut ion.py registry/ model/distroser ies.py registry/ model/packaging .py registry/ model/product. py registry/ model/productse ries.py registry/ model/sourcepac kage.py registry/ stories/ packaging/ registry/ tests/test_ packaging. py migrater/ migrater. py
lib/canonical
lib/canonical
lib/canonical
lib/canonical
lib/canonical
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
utilities/
== Test ==
No tests changed. The three migrated tests do work.
== Implementation ==
* utilities/ migrater/ migrater. py
Fixed errors that were committed some time ago.