add several debug commands to the master-slave protocol

for manual use only, undocumented and unstable interface :-)

Signed-off-by: Andreas Beckmann <anbe@debian.org>
lib/db: use a tuple for the weight

and use more fine grained values

Signed-off-by: Andreas Beckmann <anbe@debian.org>
lib/db: prefer recycling previously failing logs

unless there are packages blocking others

Signed-off-by: Andreas Beckmann <anbe@debian.org>
lib/db: order logs by time waiting for recycling

Signed-off-by: Andreas Beckmann <anbe@debian.org>
reinstall affected packages after purging localepurge

Signed-off-by: Andreas Beckmann <anbe@debian.org>
dwke: move classes Problem and FailureManager to piupartslib/dwke.py

along with some globals that need to be cleaned up later

Signed-off-by: Andreas Beckmann <anbe@debian.org>
p-r: import the reporting part from dwke

Signed-off-by: Andreas Beckmann <anbe@debian.org>
p-r: integrate .tpl generation from dwke

Signed-off-by: Andreas Beckmann <anbe@debian.org>
dwke: remove reporting part, integrated into piuparts-report.py

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