[Piuparts-commits] [piuparts] 05/06: p-r: mark essential-required as obsolete

Holger Levsen holger at moszumanska.debian.org
Tue Jan 21 02:07:50 UTC 2014


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch develop
in repository piuparts.

commit d09cead5ca58a024161abd0ecda6f95c1efd649f
Author: Andreas Beckmann <anbe at debian.org>
Date:   Mon Jan 20 11:40:48 2014 +0100

    p-r: mark essential-required as obsolete
    
    removing the always-empty category from the report
    
    Signed-off-by: Andreas Beckmann <anbe at debian.org>
---
 debian/changelog          | 2 ++
 piuparts-report.py        | 2 +-
 piupartslib/packagesdb.py | 3 ++-
 3 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 0ae1b51..87abd2e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -22,6 +22,8 @@ piuparts (0.57) UNRELEASED; urgency=low
       failed. Used for dependency resolution.
     - No longer special-case packages as essential-required and test them like
       normal packages (no-op test plus adequate run).  (Closes: #735907)
+  * piuparts-report.py:
+    - Mark essential-required as obsolete and hide it.
   * Add more piuparts exceptions.
 
  -- Holger Levsen <holger at debian.org>  Fri, 10 Jan 2014 01:00:43 +0100
diff --git a/piuparts-report.py b/piuparts-report.py
index 86d98ea..e848492 100644
--- a/piuparts-report.py
+++ b/piuparts-report.py
@@ -501,7 +501,7 @@ def emphasize_reason(reason):
         #"successfully-tested",
         "failed-testing",
         "cannot-be-tested",
-        #"essential-required",
+        #"essential-required",  # obsolete
         #"waiting-to-be-tested",
         #"waiting-for-dependency-to-be-tested",
         "dependency-failed-testing",
diff --git a/piupartslib/packagesdb.py b/piupartslib/packagesdb.py
index c1ac63e..59c56f6 100644
--- a/piupartslib/packagesdb.py
+++ b/piupartslib/packagesdb.py
@@ -251,7 +251,7 @@ class PackagesDB:
         "successfully-tested",
         "failed-testing",
         "cannot-be-tested",
-        "essential-required",
+        "essential-required",  # obsolete
         "waiting-to-be-tested",
         "waiting-for-dependency-to-be-tested",
         "dependency-failed-testing",
@@ -270,6 +270,7 @@ class PackagesDB:
     ]
 
     _obsolete_states = [
+        "essential-required",
         "circular-dependency",
         "unknown-preferred-alternative",
         "no-dependency-from-alternatives-exists",

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/piuparts/piuparts.git



More information about the Piuparts-commits mailing list