On 07/11/07 21:07 +0000, Sam Morris said ...
> strace reveals that reportbug is actually hanging while trying to
> connect to incoming.debian.org.

-- 
Y Giridhar Appaji Nag | http://www.appaji.net/
diff -Nur original/reportbug-3.39/reportbug modified/reportbug-3.39/reportbug
--- original/reportbug-3.39/reportbug	2007-08-17 04:10:37.000000000 +0530
+++ modified/reportbug-3.39/reportbug	2007-12-20 19:35:39.377638000 +0530
@@ -1218,9 +1218,13 @@
                                            '(blank OK)', force_prompt=True)
         elif (check_available and not (self.options.kudos or notatty or self.options.offline)
               and state == 'installed' and bts == 'debian'):
-            ewrite('Checking for newer versions at packages.debian.org...\n')
             arch = reportbug.get_arch()
             check_more = (mode > MODE_STANDARD)
+            if check_more:
+                ewrite('Checking for newer versions at packages.debian.org,'+
+                  ' incoming.debian.org and http://ftp-master.debian.org/new.html\n')
+            else:
+                ewrite('Checking for newer versions at packages.debian.org...\n')
             (avail, toonew) = checkversions.check_available(
                 package, pkgversion, check_incoming=check_more,
                 check_newqueue=check_more,
diff -Nur original/reportbug-3.39/reportbug.1 modified/reportbug-3.39/reportbug.1
--- original/reportbug-3.39/reportbug.1	2007-08-17 03:49:19.000000000 +0530
+++ modified/reportbug-3.39/reportbug.1	2007-12-20 18:54:58.420734000 +0530
@@ -97,7 +97,10 @@
 backup will be written as .reportbugrc~.
 .TP
 .B \-\-check\-available
-Check for newer releases of the package at packages.debian.org (default).
+Check for newer releases of the package at packages.debian.org
+(default).  In \fBadvanced\fP and \fBexpert\fP mode, check
+\fBincoming.debian.org\fP and
+\fBhttp://ftp-master.debian.org/new.html\fP.
 .TP
 .B \-\-no\-check\-available
 Do not check for newer releases of the package at packages.debian.org.
diff -Nur original/reportbug-3.39/reportbug.conf modified/reportbug-3.39/reportbug.conf
--- original/reportbug-3.39/reportbug.conf	2004-12-06 19:29:04.000000000 +0530
+++ modified/reportbug-3.39/reportbug.conf	2007-12-20 19:24:59.868350000 +0530
@@ -32,6 +32,9 @@
 # Should I query the BTS?
 query-bts
 
+# Should I check for newer releases of the package
+# check-available
+
 # Should I CC the reporter?
 cc
 
diff -Nur original/reportbug-3.39/reportbug.conf.5 modified/reportbug-3.39/reportbug.conf.5
--- original/reportbug-3.39/reportbug.conf.5	2007-08-17 04:11:06.000000000 +0530
+++ modified/reportbug-3.39/reportbug.conf.5	2007-12-20 19:28:55.771732000 +0530
@@ -20,7 +20,7 @@
 .\" 
 .\" $Id: reportbug.conf.5,v 1.1.2.1 2007-08-16 22:41:06 lawrencc Exp $
 .\" 
-.TH REPORTBUG.CONF 5 "Aug 2007" "reportbug 3.38"
+.TH REPORTBUG.CONF 5 "Dec 2007" "reportbug 3.39"
 .SH NAME
 .B reportbug.conf
 - The configuration file for reportbug
@@ -68,6 +68,12 @@
 .B cc (\fIboolean\fP)
 Whether the reporter should be Cc:ed on the bug report
 .TP
+.B check-available (\fIboolean\fP)
+Whether \fBpackages.debian.org\fP should be queried for newer releases
+of the package.  In \fBadvanced\fP and \fBexpert\fP mode,
+\fBincoming.debian.org\fP and
+\fBhttp://ftp-master.debian.org/new.html\fP are also checked.
+.TP
 .B compress (\fIboolean\fP)
 Whether modified configuration files included in the bug report should
 be stripped down
@@ -247,4 +253,4 @@
 This manual page was written by Y Giridhar Appaji Nag
 <[EMAIL PROTECTED]> for the Debian project, but may be used by others.
 .PP
-Last modified: 2007-08-13 by Y Giridhar Appaji Nag
+Last modified: 2007-12-20 by Y Giridhar Appaji Nag

Attachment: signature.asc
Description: Digital signature

Reply via email to