[Piuparts-commits] [SCM] piuparts git repository branch, piatti, updated. 0.44-598-gace668e

Andreas Beckmann debian at abeckmann.de
Sun May 27 13:47:18 UTC 2012


The following commit has been merged in the piatti branch:
commit a96e86f5a6b8acea815624f2eee74ad90c7fd04c
Author: Andreas Beckmann <debian at abeckmann.de>
Date:   Thu Apr 26 14:06:56 2012 +0200

    do not care about old versions of untestable packages
    
    If an old log is in untestable/ (usually because of some dependency
    issue) do not let this block testing of a newer package version.
    The new package may fix the issue. Just test the new package like if
    it were in any other state. Do not wait for reschedule_untestable.
    
    Signed-off-by: Andreas Beckmann <debian at abeckmann.de>

diff --git a/debian/changelog b/debian/changelog
index c6259b9..8d98ea4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -13,6 +13,9 @@ piuparts (0.45) UNRELEASED; urgency=low
   * piuparts.py:
     - Implement --install-remove-install option to test installation in
       config-files-remaining state.  (Closes: #359154)
+  * piupartslib/packagesdb.py:
+    - Do not consider a package as "untestable" if untestable/ contains a
+      logfile from an obsolete version of that package.
 
   [ Leo Iannacone ]
   * piuparts.py: add --existing-chroot option, specify a directory as source
diff --git a/piupartslib/packagesdb.py b/piupartslib/packagesdb.py
index 094eef0..dc8b631 100644
--- a/piupartslib/packagesdb.py
+++ b/piupartslib/packagesdb.py
@@ -334,7 +334,7 @@ class PackagesDB:
             return "successfully-tested"
         if self._logdb.log_exists(package, [self._fail] + self._morefail):
             return "failed-testing"
-        if self._logdb.any_log_exists(package, [self._evil]):
+        if self._logdb.log_exists(package, [self._evil]):
             return "cannot-be-tested"
         if not package.is_testable():
             return "essential-required"

-- 
piuparts git repository



More information about the Piuparts-commits mailing list