p: add --extra-repo option

Add option --extra-repo=<sources.list line>, can be given multiple times.
Allows to add additional (unparsed) lines to be appended to sources.list, e.g.
  deb <URL> <distrib> <components>
  deb file://</bind/mount> ./
Be careful to include proper whitespace.

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: 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>
known_problem: obsolete_conffiles: fix quoting error

Signed-off-by: Andreas Beckmann <debian@abeckmann.de>
p: install_package_files(): correctly forward with_scripts argument

Signed-off-by: Andreas Beckmann <debian@abeckmann.de>
p: reorder handling of some command line options

Signed-off-by: Andreas Beckmann <debian@abeckmann.de>
p: reorder handling of some command line options

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