[Piuparts-commits] [SCM] piuparts git repository branch, piatti, updated. 0.42-30-gaa772de

Andreas Beckmann debian at abeckmann.de
Thu Jan 19 22:38:07 UTC 2012


The following commit has been merged in the piatti branch:
commit f4bc5bb7146050e39a8a83ca3d002156c3bdbf41
Author: Andreas Beckmann <debian at abeckmann.de>
Date:   Thu Jan 19 11:43:18 2012 +0100

    consider bugs that 'affects' a failing package
    
    Especially in update scenarios a problem may occur while testing
    package A, but it is really a bug in B (on which A (indirectly)
    depends). E.g. transitionals without proper versioned Replaces
    in the new package name.
    
    Signed-off-by: Andreas Beckmann <debian at abeckmann.de>

diff --git a/debian/changelog b/debian/changelog
index ca19051..7ae242a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -23,6 +23,8 @@ piuparts (0.43) UNRELEASED; urgency=low
   * piuparts-report.py:
     - Reorder the list of known problem analyses and add a few new ones.
     - Correctly split + strip comma-separated lists.
+  * piuparts-analyze.py:
+    - Also consider bugs that 'affects' a package.
   * Makefile: Support version number substitution in piuparts-*.py, too.
   * README.txt: Document piuparts.conf settings used by piatti.git scripts.
 
diff --git a/piuparts-analyze.py b/piuparts-analyze.py
index aeccdb1..98f7d00 100644
--- a/piuparts-analyze.py
+++ b/piuparts-analyze.py
@@ -219,7 +219,8 @@ def all_piuparts_bugs():
 
 
 def piuparts_bugs_in(package):
-    return debianbts.get_bugs('package', package, 'bugs', all_piuparts_bugs())
+    return debianbts.get_bugs('package', package, 'bugs', all_piuparts_bugs()) + \
+           debianbts.get_bugs('affects', package, 'bugs', all_piuparts_bugs())
 
 
 def main():

-- 
piuparts git repository



More information about the Piuparts-commits mailing list