p: qualify package names extracted from .debs with the package version

Signed-off-by: Andreas Beckmann <debian@abeckmann.de>
p: add --testdebs-repo option

--testdebs-repo=deb-line
A repository that contains the packages to be tested, e.g.
'deb <URL> <distrib> <components>...' or 'deb file://</bind/mount> ./'

Signed-off-by: Andreas Beckmann <debian@abeckmann.de>
p: use the testdebs-repo in install_package_files

If available, use the testdebs-repo in install_package_files to install
the packages via apt-get.

Signed-off-by: Andreas Beckmann <debian@abeckmann.de>
p: add --distupgrade-to-testdebs option

Do a distupgrade, but install the packages from the testdebs repository
instead of the packages from the target distribution.

Signed-off-by: Andreas Beckmann <debian@abeckmann.de>
chmod -x debian/*.post{inst,rm}

these scripts don't need to be executable in the git repository

Signed-off-by: Andreas Beckmann <debian@abeckmann.de>
lib/db: prefetch directory listings to speed up LogDB

os.listdir() is much faster than n times os.path.exists()

Signed-off-by: Andreas Beckmann <debian@abeckmann.de>
post_setup_squeeze-fake-essential: list packages requiring install-info

there are only 4 packages in squeeze that need a fake-essential install-info

Signed-off-by: Andreas Beckmann <debian@abeckmann.de>
detect_network_issues: apt-get update may fail and return -7

reason unclear, but retrying always helped

Signed-off-by: Andreas Beckmann <debian@abeckmann.de>
p-a: sort bugs and try the newest first

newer bugs may have been uncovered by new piuparts features and
may hide older issues

Signed-off-by: Andreas Beckmann <debian@abeckmann.de>
new custom script: pre_remove_40_find_obsolete_conffiles

report obsolete conffiles after package upgrade

Signed-off-by: Andreas Beckmann <debian@abeckmann.de>
new known_problem: leaving obsolete conffiles after upgrade (issue)

Signed-off-by: Andreas Beckmann <debian@abeckmann.de>
new known_problem: leaving obsolete conffiles after upgrade (error)

Signed-off-by: Andreas Beckmann <debian@abeckmann.de>
new script: pre_install_foreign_architecture_i386

for testing the multiarched ia32-libs

Signed-off-by: Andreas Beckmann <debian@abeckmann.de>
new script: pre_distupgrade_foreign_architecture_i386

for testing the multiarched ia32-libs

Signed-off-by: Andreas Beckmann <debian@abeckmann.de>
p: add support for the multiarch ia32-libs* packages

ia32-libs[-gtk]-i386 are arch=i386 packages that need to be installed
amd64 and therefore require i386 as foreign architecture

Signed-off-by: Andreas Beckmann <debian@abeckmann.de>
p: rename --no-debsums option to --warn-on-debsums-errors

Signed-off-by: Andreas Beckmann <debian@abeckmann.de>
new known problem: debsums_mismatch (issue)

for output from --warn-on-debsums-errors

Signed-off-by: Andreas Beckmann <debian@abeckmann.de>
p.conf: test squeeze with --warn-on-debsums-errors

it's unlikely that these bugs will be fixed in squeeze

Signed-off-by: Andreas Beckmann <debian@abeckmann.de>
Merge remote branch 'andreas/preview/testdebs-repo' into develop
Merge remote branch 'andreas/preview/warn-on-debsums-errors' into develop