[Apt-listbugs-commits] [SCM] apt-listbugs development tree branch, master, updated. apt-listbugs/0.1.5-6-gfe0afd7
Francesco Poli (wintermute)
invernomuto at paranoici.org
Sat Oct 29 14:15:39 UTC 2011
The following commit has been merged in the master branch:
commit fe0afd7e6cce1f926c049af81dc7941c254996ae
Author: Francesco Poli (wintermute) <invernomuto at paranoici.org>
Date: Sat Oct 29 16:10:13 2011 +0200
invoke querybts forcing text interface
Since apt-listbugs should be able to work without access to any X display,
querybts is better invoked with the "-u text" option, just in case some
user has "ui gtk2" in /etc/reportbug.conf, which would cause querybts
to attempt to use the graphical interface.
diff --git a/debian/changelog b/debian/changelog
index aec8c56..1853bd0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,8 +9,11 @@ apt-listbugs (0.1.6) UNRELEASED; urgency=low
* fixed the first test suite so that it actually works
* changed the Pin-Priority used to prevent the installation of any version
of a package from -40 to -30000, in order to work better with Cupt
+ * modified the querybts invocation to force the text interface,
+ when querying a given bug report (apt-listbugs should be able to
+ work without access to any X display)
- -- Francesco Poli (wintermute) <invernomuto at paranoici.org> Mon, 17 Oct 2011 22:19:21 +0200
+ -- Francesco Poli (wintermute) <invernomuto at paranoici.org> Tue, 25 Oct 2011 00:00:59 +0200
apt-listbugs (0.1.5) unstable; urgency=low
diff --git a/lib/apt-listbugs/logic.rb b/lib/apt-listbugs/logic.rb
index df07d0e..3e60f9a 100644
--- a/lib/apt-listbugs/logic.rb
+++ b/lib/apt-listbugs/logic.rb
@@ -371,7 +371,7 @@ class Viewer
return false
when /^#?(\d+)$/
if @config.querybts != nil
- system("#{@config.querybts} #{$1} < /dev/tty")
+ system("#{@config.querybts} -u text #{$1} < /dev/tty")
else
@config.frontend.puts sprintf(_("You must install the reportbug package to be able to do this"))
end
--
apt-listbugs development tree
More information about the Apt-listbugs-commits
mailing list