Package: debgtd
Version: 1.2.1-1
Severity: wishlist
Tags: patch

Please use the "/cgi-bin/bugreport.cgi?bug=$BUG" URLs over the "/$BUG"
variant when displaying bug numbers. Although they are more ugly, when the
BTS is overloaded or one is accessing it on a slow connection, the time
taken to respond with the simple redirection is non-trivial.

There is no danger of this URL scheme becoming stale - it is hardcoded in a
number of other places and in URLs on countless sites outside of Debian's
control.

Patch attached to be more explicit.


Regards,

-- 
Chris Lamb, UK                                       [EMAIL PROTECTED]
                                                            GPG: 0x634F9A20
diff -urNad debgtd-1.2.1.orig/debgtd/gui.py debgtd-1.2.1/debgtd/gui.py
--- debgtd-1.2.1.orig/debgtd/gui.py     2008-08-04 05:23:21.000000000 +0100
+++ debgtd-1.2.1/debgtd/gui.py  2008-08-04 05:23:46.000000000 +0100
@@ -112,7 +112,7 @@
        def row_selected_cb(self,tree,path,column):
                treemodel = tree.get_model()
                row = treemodel[path[0]][0]
-               os.system("sensible-browser http://bugs.debian.org/%s &" % row)
+               os.system("sensible-browser 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=%s &" % row)
 
        def ignore_cb(self,button):
                offs,col = self.tree.get_cursor()

Attachment: signature.asc
Description: PGP signature

Reply via email to