[Reportbug-commits] r682 - in trunk (bin/reportbug debian/changelog)

morph at users.alioth.debian.org morph at users.alioth.debian.org
Wed Jan 14 09:46:35 UTC 2009


    Date: Wednesday, January 14, 2009 @ 09:46:33
  Author: morph
Revision: 682

    source package is to be used, adding a warning and replacing those old packages with 'linux-2.6' automatically; thanks to Moritz Muehlenhoff for the report; Closes: #510690

    source package is to be used, adding a warning and replacing those old
    packages with 'linux-2.6' automatically; thanks to Moritz Muehlenhoff for
    the report; Closes: #510690

Modified:
  trunk/bin/reportbug
  trunk/debian/changelog

Modified: trunk/bin/reportbug
===================================================================
--- trunk/bin/reportbug	2009-01-14 09:45:21 UTC (rev 681)
+++ trunk/bin/reportbug	2009-01-14 09:46:33 UTC (rev 682)
@@ -364,6 +364,10 @@
             return
         package = validate_package_name(package)
 
+    if package in ('kernel', 'linux-image'):
+        ui.long_message("%s package has been removed, use linux-2.6 instead (replaced here automatically).", package)
+        package = 'linux-2.6'
+
     if mode < MODE_STANDARD:
         if package == 'reportbug':
             if not ui.yes_no('Is "reportbug" actually the package you are '
@@ -1009,6 +1013,10 @@
         if package == 'other' and others:
             package = get_other_package_name(others)
 
+        if package in ('kernel', 'linux-image'):
+            ui.long_message("%s package has been removed, use linux-2.6 instead (replaced here automatically).", package)
+            package = 'linux-2.6'
+
         if not package:
             efail("No package specified; stopping.\n")
 

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2009-01-14 09:45:21 UTC (rev 681)
+++ trunk/debian/changelog	2009-01-14 09:46:33 UTC (rev 682)
@@ -16,10 +16,11 @@
     - added 'buildd.debian.org' pseudo package
   * reportbug/debianbts.py, bin/reportbug
     - removed 'kernel' and 'linux-image' pseudo packages, since now 'linux-2.6'
-      source package is to be used; thanks to Moritz Muehlenhoff for the report;
-      Closes: #510690
+      source package is to be used, adding a warning and replacing those old
+      packages with 'linux-2.6' automatically; thanks to Moritz Muehlenhoff for
+      the report; Closes: #510690
 
- -- Sandro Tosi <morph at debian.org>  Mon, 05 Jan 2009 00:55:56 +0100
+ -- Sandro Tosi <morph at debian.org>  Wed, 14 Jan 2009 10:41:16 +0100
 
 reportbug (3.99.0) experimental; urgency=low
 




More information about the Reportbug-commits mailing list