p.conf: set PYTHONPATH when running piuparts from git

piuparts needs to use piupartslib to read distros.conf

setting PYTHONPATH is only needed for running piuparts from git

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

Signed-off-by: Andreas Beckmann <anbe@debian.org>
distros.conf: add target-release

e.g. backports and experimental should be used with
apt-get -t <target-release> ...

Signed-off-by: Andreas Beckmann <anbe@debian.org>
lib/conf: DistroConfig: add support for target-release

Signed-off-by: Andreas Beckmann <anbe@debian.org>
p: call 'apt-get -t <target-release>' if needed

Signed-off-by: Andreas Beckmann <anbe@debian.org>
p.conf: put flags-{start,end}-squeeze into the [DEFAULT] section

consolidate flags used several times

ConfigParser looks there by default

Signed-off-by: Andreas Beckmann <anbe@debian.org>
p.conf: squeeze2bpo2wheezy for piatti

Signed-off-by: Andreas Beckmann <anbe@debian.org>
p.conf: reactivate lenny2squeeze

but disable recycling

Signed-off-by: Andreas Beckmann <anbe@debian.org>
distros.conf: add alias for testing

Signed-off-by: Andreas Beckmann <anbe@debian.org>
report_newly_bugged_packages: get_config_value accepts empty defaults

Signed-off-by: Andreas Beckmann <anbe@debian.org>
Changelog and ToDo updates

Signed-off-by: Andreas Beckmann <anbe@debian.org>
p-r: fix section caching

Signed-off-by: Andreas Beckmann <anbe@debian.org>
update timeline in TODO
packagesdb - Refactor out get_rdep_dict() from calc_rrdep_counts().
packagesdb - Cache the rdeps reverse dependency dictionary.
packagesdb - Add routine to calc rdep metrics by package as needed.
packagesdb - Add rdep metric accessors at the PackagesDB level.
piuparts-report - Remove need for chdir() before loading packagesdb.

...by establishing the full path to the directory as 'prefix'.
The calc_rrdep_counts() call is hiding the potential need for the
directory to be correct in other places. Removing the rrdep calc
would otherwise cause a crash.
Use the on-demand versions of the rdep metric calls.
packagesdb.py - Remove the Package-level interface for rdep metrics.