[Reportbug-commits] [reportbug] 01/03: correctly identify source packages when presenting the packages menu, preventing from reporting bugs against unexisting source packages; thanks to Jakub Wilk and Andreas Beckmann for the report; Closes: #650386

Sandro Tosi morph at moszumanska.debian.org
Wed Oct 29 00:40:38 UTC 2014


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

morph pushed a commit to branch master
in repository reportbug.

commit 9860ca230fd7a5899a8d06ed710f8d0d45f4ec59
Author: Sandro Tosi <morph at debian.org>
Date:   Wed Oct 29 00:03:54 2014 +0000

    correctly identify source packages when presenting the packages menu, preventing from reporting bugs against unexisting source packages; thanks to Jakub Wilk and Andreas Beckmann for the report; Closes: #650386
---
 bin/reportbug    | 2 +-
 debian/changelog | 5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/bin/reportbug b/bin/reportbug
index e429e6c..9bfd4a1 100755
--- a/bin/reportbug
+++ b/bin/reportbug
@@ -1429,7 +1429,7 @@ class UI(object):
                                 pkgversion = v
                                 break
                 elif len(packages) > 0:
-                    src = package
+                    src = utils.get_source_name(package)
                     if len(packages) and not notatty:
                         packages.sort()
                         if src not in [x[0] for x in packages]:
diff --git a/debian/changelog b/debian/changelog
index f05f76e..28ac2c0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -34,6 +34,9 @@ reportbug (6.5.2) UNRELEASED; urgency=medium
     - suggests to contact debian-users@ in case of difficulties in identifying
       the package to associate the bug to; thanks to Jonathan Nieder for the
       report and patch; Closes: #661563
+    - correctly identify source packages when presenting the packages menu,
+      preventing from reporting bugs against unexisting source packages; thanks
+      to Jakub Wilk and Andreas Beckmann for the report; Closes: #650386
   * reportbug/utils.py
     - identify also config files with spaces in the filename; thanks to Vincent
       Lefevre for the report; Closes: #669022
@@ -41,7 +44,7 @@ reportbug (6.5.2) UNRELEASED; urgency=medium
     - update Suggests on emacs packages; thanks to Adrian Bunk for the report;
       Closes: #686165
 
- -- Sandro Tosi <morph at debian.org>  Fri, 12 Sep 2014 00:59:10 +0100
+ -- Sandro Tosi <morph at debian.org>  Wed, 29 Oct 2014 00:01:56 +0000
 
 reportbug (6.5.1) unstable; urgency=medium
 

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



More information about the Reportbug-commits mailing list