p-m: rename to piuparts-master-backend.py

Signed-off-by: Andreas Beckmann <anbe@debian.org>
p-m: add new wrapper script piuparts-master

realize this as a shell script that reads piuparts.conf to
get paths and avoid having the slave needing to know these

Signed-off-by: Andreas Beckmann <anbe@debian.org>
p.conf: use simple master-command

PYTHONPATH is now handled by the piuparts-master wrapper script

running piuparts from git cannot easily restrict the command to be run via
authorized_keys

Signed-off-by: Andreas Beckmann <anbe@debian.org>
p-s: simplify ssh command generation

Signed-off-by: Andreas Beckmann <anbe@debian.org>
p-s/p-m: move chdir and stderr logging to master wrapper

no longer use a section specific error log to prepare for
implementing a "section" command in the master-slave protocol

Signed-off-by: Andreas Beckmann <anbe@debian.org>
p-s: stop using master-directory

Signed-off-by: Andreas Beckmann <anbe@debian.org>
p-s: stop using (master's) log-file

Signed-off-by: Andreas Beckmann <anbe@debian.org>
kpr db_setup: catch dbconfig-common: noninteractive fail

Signed-off-by: Andreas Beckmann <anbe@debian.org>
kpr: add db_setup_issue

db setup errors may be ignored, allowing an installationn to
finish successfully

Signed-off-by: Andreas Beckmann <anbe@debian.org>
p: enable --extra-old-packages for install-purge test

allow some additional packages to be installed *before* the package
to be tested gets installed

Signed-off-by: Andreas Beckmann <anbe@debian.org>
add/update copyright notices for myself

Signed-off-by: Andreas Beckmann <anbe@debian.org>
p-s: fix parsing 'idle' return value from master

do not crash if there is no time value returned

Signed-off-by: Andreas Beckmann <anbe@debian.org>
p-m: raise CommandSyntaxError on unknown commands

instead of getting a KeyError

Signed-off-by: Andreas Beckmann <anbe@debian.org>
lib/conf: raise MissingSection if section is not in piuparts.conf

avoids creating directory trees for misspelled sections

Signed-off-by: Andreas Beckmann <anbe@debian.org>
Revert "add/update copyright notices for myself"

This reverts commit fa4987287e567c4ef74acfdd590d6ebbb9f05ddd.
Add skeleton for python replacement of detect-well-known-errors

Contains the main section loop, and establishes the working directories.
kpr (and eventually tpl) extensions are renamed, to allow side-by-side
evaluation against the original bash script.
detect_well_known_errors.py - Clean obsolete kpr and bug files.
detect_well_known_errors.py - Add class for handling known problems.
detect_well_known_errors.py - Add has_problem() detection method.

For a given Problem class instance, determine if a given log file
body contains the problem.
detect_well_known_errors.py - Create missing kpr files.