[Reportbug-commits] [SCM] Reportbug - reports bugs in the Debian distribution branch, master, updated. 4.9-72-gbb6cd24

Sandro Tosi morph at debian.org
Fri Mar 12 19:11:38 UTC 2010


The following commit has been merged in the master branch:
commit bb6cd2481899f4511d391cc0f6fc33019df6d62e
Author: Sandro Tosi <morph at debian.org>
Date:   Fri Mar 12 20:10:30 2010 +0100

    remove release critical severities when running in 'novice' mode; thanks to Steve Langasek for the report; Closes: #295386

diff --git a/bin/reportbug b/bin/reportbug
index 5da1911..76a2332 100755
--- a/bin/reportbug
+++ b/bin/reportbug
@@ -1784,6 +1784,10 @@ For more details, please see: http://www.debian.org/devel/wnpp/''')
                     default = 'non-critical'
                 else:
                     severities = debianbts.SEVERITIES
+                    if mode < MODE_STANDARD:
+                        ewrite("Removing release critical severities, since running in \'%s\' mode.\n" % utils.MODELIST[mode])
+                        for sev in ['critical', 'grave', 'serious', 'does-not-build']:
+                            del severities[sev]
                     default = 'normal'
 
                 severity = ui.menu("How would you rate the severity of this "
diff --git a/debian/changelog b/debian/changelog
index d07eb96..e3f1d5e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -40,6 +40,8 @@ reportbug (4.10.3) UNRELEASED; urgency=low
       report; Closes: #562853
     - don't ask to choose a UI when there is only one choice; thanks to Olaf van
       der Spek for the report and to Carl Chenet for the patch; Closes: #567501
+    - remove release critical severities when running in 'novice' mode; thanks
+      to Steve Langasek for the report; Closes: #295386
   * bin/reportbug, reportbug/{debianbts.py, ui/urwid_ui.py}
     - reorganized how BTS tags are retrieved and used
     - create a get_tags() method to return the tags depending on severity of bug
@@ -53,7 +55,7 @@ reportbug (4.10.3) UNRELEASED; urgency=low
       save the report and exit; thanks to Stuart Young for the report;
       Closes: #293266
 
- -- Sandro Tosi <morph at debian.org>  Fri, 12 Mar 2010 10:23:07 +0100
+ -- Sandro Tosi <morph at debian.org>  Fri, 12 Mar 2010 20:08:57 +0100
 
 reportbug (4.10.2) unstable; urgency=low
 

-- 
Reportbug - reports bugs in the Debian distribution



More information about the Reportbug-commits mailing list