p-r: use source_subdir() instead of pts_subdir()

Signed-off-by: Andreas Beckmann <anbe@debian.org>
lib/db: add PackagesDB.get_source(name) method

Signed-off-by: Andreas Beckmann <anbe@debian.org>
p-r: use get_source()

Signed-off-by: Andreas Beckmann <anbe@debian.org>
p-r: dwke report: compute logpath, don't lookup

Signed-off-by: Andreas Beckmann <anbe@debian.org>
dwke: write all content to a .kpr at once

do not keep the file open and partially written while parsing the logfile

Signed-off-by: Andreas Beckmann <anbe@debian.org>
dwke: classify unclassified failures as unclassified_failures.conf

Signed-off-by: Andreas Beckmann <anbe@debian.org>
known_problems: add dummy unclassified_failures.conf

Signed-off-by: Andreas Beckmann <anbe@debian.org>
p-r: don't build the list of unknown failures

Signed-off-by: Andreas Beckmann <anbe@debian.org>
p-r: update_tpl(): do not create .tpl file

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