package: piuparts version: 0.56 tags: patch Hi,
Currently, upgrade reports use the source version number of the source package in the release configured as 'distro' in piuparts.conf. For sid2experiment this is the version in experimental, but for testing2sid this is the version in testing. It probably makes more sense to associate upgrade issues with the newer version (the one we are upgrading to), than with the older version (the one we are upgrading from). For binary packages, this is already done. The attached patch should fix this, by using the source info from the final distribution instead of the 'distro' one. Cheers, Ivo
From: Ivo De Decker <ivo.dedec...@ugent.be> Date: Wed, 1 Jan 2014 22:01:42 +0000 Subject: [PATCH] use source info from final_distro for logging Failures in upgrades should be logged against the version we are upgrading to, not the version we are upgrading from. Signed-off-by: Ivo De Decker <ivo.dedec...@ugent.be> --- piuparts-report.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/piuparts-report.py b/piuparts-report.py index dc5fba1..a309209 100644 --- a/piuparts-report.py +++ b/piuparts-report.py @@ -696,7 +696,7 @@ class Section: self._source_db = piupartslib.packagesdb.PackagesDB() self._source_db.load_packages_urls( self._distro_config.get_sources_urls( - self._config.get_distro(), + self._config.get_final_distro(), self._config.get_area())) self._log_name_cache = {} -- 1.7.10.4