Tree Reorg
lp:~allenap/launchpad/bugs-reorg
https://code.edge.launchpad.net/~allenap/launchpad/bugs-reorg
Diff of changes against devel *since* running auto-migration script
Import problems
Scripts running with just import _pythonpath seem to all have problems importing interfaces. Importing canonical.launchpadterfaces first seems to resolve that, so there's something about the order of c/l/i/__init__.py that is important I guess, but I haven't been able to figure that out yet... Maybe lp/bugs/interfaces/__init__.py can just import c.l.i for now. -- allenap
Update: Adding import canonical.launchpadterfaces to lib/lp/bugs/interfaces/__init__.py does seem to solve this issue, but it's more than a little crufty -- allenap
Update: This is the approach that has been taken for now, with a big XXX all over it. See bug 384831.
Not resolved
Who's fixing/fixed what
allenap:
Fixed: lib/lp/bugs/tests/../doc/cve-update.txt, lib/lp/soyuz/tests/../doc/closing-bugs-from-changelogs.txt
- I believe these are both related to the import problems mentioned
above. Update: Yes, they are.
- I believe these are both related to the import problems mentioned
Fixed: lib/lp/bugs/tests/../doc/externalbugtracker-debbugs.txt
- Cannot find the debbugs db. Will move the debbugs db back into its
old location, see if that works. Update: it does work, but an import in scripts/import-debian-bugs.py was also needed.
- Cannot find the debbugs db. Will move the debbugs db back into its
Fixed: lib/lp/bugs/tests/../doc/distribution-upstream-bug-report.txt
Fixed: lib/canonical/launchpad/pagetests/feeds/xx-navigation.txt
Fixed: lib/lp/bugs/tests/../doc/bugs-emailinterface.txt
Fixed: lib/lp/bugs/tests/../stories/guided-filebug/xx-bug-reporting-tools.txt
Fixed: lib/lp/bugs/browser/tests/bugs-fixed-elsewhere.txt
This is because bugs-fixed-elsewhere.txt is being picked up by lib/lp/bugs/browser/tests/test_views.py, when it should instead be picked up by test_bugs_fixed_elsewhere.py. -- allenap
Fixed: lib/lp/bugs/browser/tests/bugtarget-recently-touched-bugs.txt
Same as bugs-fixed-elsewhere.txt; but here it should be picked up by test_bugtarget_recently_touched.py instead. -- allenap
bjornt:
Fixed: lib/canonical/launchpad/ftests/../doc/incomingmail.txt
Spurious
/usr/lib/python2.4/site-packages/launchpadlib/docs/hosted-files.txt
- Local only to allenap.
/usr/lib/python2.4/site-packages/launchpadlib/docs/modifications.txt
- Local only to allenap.
lp.codehosting.tests.test_rewrite.TestBranchRewriterScript.test_script
This appears to not be a problem with the reorg. The script branch-rewrite.py tries to write to /var/tmp/bazaar.launchpad.dev/rewrite.log, but this is owned by root. -- allenap. Update: Local only to allenap, but repeatable using after running make reload-apache.