[Piuparts-commits] rev 221 - in trunk: debian piupartslib

Holger Levsen holger at alioth.debian.org
Thu Mar 12 01:00:54 UTC 2009


Author: holger
Date: 2009-03-12 01:00:54 +0000 (Thu, 12 Mar 2009)
New Revision: 221

Modified:
   trunk/debian/changelog
   trunk/piupartslib/packagesdb.py
Log:
Rename status "essential-required-important" to "essential-required" 
as important packages can be tested like all the others.

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2009-03-12 00:56:16 UTC (rev 220)
+++ trunk/debian/changelog	2009-03-12 01:00:54 UTC (rev 221)
@@ -8,6 +8,8 @@
     without changelog entry.
   * Change the test whether a package is testable to check whether the 
     package is of priority "required", and not whether it's "Essential".
+  * Rename status "essential-required-important" to "essential-required" 
+    as important packages can be tested like all the others.
 
  -- Holger Levsen <holger at debian.org>  Tue, 10 Mar 2009 15:23:59 +0100
 

Modified: trunk/piupartslib/packagesdb.py
===================================================================
--- trunk/piupartslib/packagesdb.py	2009-03-12 00:56:16 UTC (rev 220)
+++ trunk/piupartslib/packagesdb.py	2009-03-12 01:00:54 UTC (rev 221)
@@ -187,7 +187,7 @@
         "failed-testing",
         "fix-not-yet-tested",
         "cannot-be-tested",
-        "essential-required-important",
+        "essential-required",
         "waiting-to-be-tested",
         "waiting-for-dependency-to-be-tested",
         "dependency-failed-testing",
@@ -295,7 +295,7 @@
         if self._logdb.any_log_exists(package, [self._evil]):
             return "cannot-be-tested"
         if not package.is_testable():
-            return "essential-required-important"
+            return "essential-required"
 
         for dep in package.dependencies():
             if dep not in self._package_state:
@@ -309,7 +309,7 @@
         state = "waiting-to-be-tested"
         for dep in package.dependencies():
             if self._package_state[dep] not in \
-               ["successfully-tested", "essential-required-important"]:
+               ["successfully-tested", "essential-required"]:
                 state = "unknown"
                 break
         if state == "waiting-to-be-tested":




More information about the Piuparts-commits mailing list