Package: reportbug
Version: 4.5
Severity: minor
Tags: patch

While choosing the good package between multiple ones, e.g "reportbug 
gnome-terminal" will prompt two packages, it would be good to clarify that if 
ENTER is pressed, Reportbug will just exit.
Here is a patch to display the appropriate warning.

Bye, 
Carl Chenet



-- Package-specific info:
** Environment settings:
DEBEMAIL="cha...@ohmytux.com"
DEBFULLNAME="Carl Chenet"
INTERFACE="text"

** /home/chaica/.reportbugrc:
reportbug_version "4.4"
mode novice
ui text
realname "Carl Chenet"
email "cha...@ohmytux.com"
smtphost "smtp.free.fr"

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages reportbug depends on:
ii  apt                           0.7.20.2   Advanced front-end for dpkg
ii  python                        2.5.4-2    An interactive high-level object-o
ii  python-reportbug              4.5        Python modules for interacting wit

reportbug recommends no packages.

Versions of packages reportbug suggests:
pn  debconf-utils                 <none>     (no description available)
ii  debsums                       2.0.44     verification of installed package 
pn  dlocate                       <none>     (no description available)
ii  exim4                         4.69-9     metapackage to ease Exim MTA (v4) 
ii  exim4-daemon-light [mail-tran 4.69-9     lightweight Exim MTA (v4) daemon
ii  file                          5.00-1     Determines file type using "magic"
ii  gnupg                         1.4.9-4    GNU privacy guard - a free PGP rep
pn  python-gnome2-extras          <none>     (no description available)
pn  python-gtk2                   <none>     (no description available)
pn  python-urwid                  <none>     (no description available)
pn  python-vte                    <none>     (no description available)

-- no debconf information
>From 0fe81589eda20be9bc36e18c11e26951708e8466 Mon Sep 17 00:00:00 2001
From: Carl Chenet <carl.che...@ohmytux.com>
Date: Mon, 8 Jun 2009 00:57:07 +0200
Subject: [PATCH] explain leaving blank field will exit reportbug

---
 bin/reportbug |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/bin/reportbug b/bin/reportbug
index 4c67bec..b140576 100755
--- a/bin/reportbug
+++ b/bin/reportbug
@@ -1178,8 +1178,9 @@ class UI(object):
                             packages.append( (src, 'Source package') )
 
                         if len(packages) > 1:
+                            ewrite('Which of the following packages is the bug in?\n')
                             package = ui.menu(
-                                'Which of the following packages is the bug in?',
+                                'Just press ENTER to exit Reportbug.',
                                 packages, empty_ok=True,
                                 prompt='Select one of these packages: ')
                         else:
-- 
1.5.4.3

Reply via email to