[Reportbug-maint] Bug#529981: reportbug: --configure should offer a default value for UI choice
Carl Chenet
chaica at ohmytux.com
Fri May 22 15:59:40 UTC 2009
Package: reportbug
Version: 4.3
Severity: wishlist
Hi,
When using the configuration mode, reportbug should offer a default value for the UI choice. Text mode seems appropriate.
Here is a patch for this new feature.
Bye,
Carl Chenet
-- Package-specific info:
** Environment settings:
DEBEMAIL="chaica at ohmytux.com"
DEBFULLNAME="Carl Chenet"
INTERFACE="text"
** /home/chaica/.reportbugrc:
reportbug_version "4.3"
mode novice
ui text
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=fr_FR.UTF-8, LC_CTYPE=fr_FR.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.3 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
-------------- next part --------------
>From 3999ff09cd3ab3d4ec40db77d2936f095fe5db38 Mon Sep 17 00:00:00 2001
From: Carl Chenet <carl.chenet at ohmytux.com>
Date: Fri, 22 May 2009 17:50:50 +0200
Subject: [PATCH] offers text for default ui choice in --configure
---
bin/reportbug | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/bin/reportbug b/bin/reportbug
index b48f268..bab0b14 100755
--- a/bin/reportbug
+++ b/bin/reportbug
@@ -454,7 +454,7 @@ def offer_configuration(options):
if options.configure or not options.interface:
interface = ui.menu(
'Please choose the default interface for reportbug.', AVAILABLE_UIS,
- 'Select interface: ', options.interface)
+ 'Select interface: ', options.interface, order=['text'])
else:
interface = options.interface
--
1.5.4.3
More information about the Reportbug-maint
mailing list