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

Sandro Tosi morph at debian.org
Mon May 10 21:44:01 UTC 2010


The following commit has been merged in the master branch:
commit 554c9b0bfccd089ac573c97db1318b034e1b3cb5
Author: Sandro Tosi <morph at debian.org>
Date:   Wed Apr 28 19:06:02 2010 +0200

    don't try to map package to source when using --from-buildd, and also force version set; thanks to Cyril Brulebois for reporting this (on IRC) and testing preliminary patches

diff --git a/bin/reportbug b/bin/reportbug
index a11bd7a..b070b0a 100755
--- a/bin/reportbug
+++ b/bin/reportbug
@@ -1189,9 +1189,11 @@ class UI(object):
         elif self.options.buildd_format:
             # retrieve package name and version from the input string
             package, self.options.pkgversion = self.options.buildd_format.split('_')
-            # retrieve the source package name (it should be the source alraedy,
-            # just for sake of safeness)
-            package = utils.get_source_name(package)
+            # TODO: fix it when refactoring
+            # if not done as of below, it will ask for version when the package
+            # is not available on the local system (try a dummy one, like foo_12-3)
+            pkgversion = self.options.pkgversion
+            print package, self.options.pkgversion
         elif len(self.args) > 1:
             ewrite("Please report one bug at a time.\n")
             ewrite("[Did you forget to put all switches before the "
diff --git a/debian/changelog b/debian/changelog
index eb37527..49e8eb5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+reportbug (4.12.2) UNRELEASED; urgency=low
+
+  * bin/reportbug
+    - don't try to map package to source when using --from-buildd, and also
+      force version set; thanks to Cyril Brulebois for reporting this (on IRC)
+      and testing preliminary patches
+
+ -- Sandro Tosi <morph at debian.org>  Wed, 28 Apr 2010 19:00:06 +0200
+
 reportbug (4.12.1) unstable; urgency=low
 
   * reportbug/utils.py

-- 
Reportbug - reports bugs in the Debian distribution



More information about the Reportbug-commits mailing list