Author: jamessan
Date: 2009-11-20 00:34:27 +0000 (Fri, 20 Nov 2009)
New Revision: 2024
Modified:
trunk/debian/changelog
trunk/scripts/who-uploads.sh
Log:
who-uploads: Set a 30 second timeout when invoking wget instead of using wget's
default 900 second timeout. (Closes: #541732)
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2009-11-20 00:34:21 UTC (rev 2023)
+++ trunk/debian/changelog 2009-11-20 00:34:27 UTC (rev 2024)
@@ -21,6 +21,8 @@
+ Handle the split up of Dpkg::Changelog in Dpkg 1.15.5.2.
+ Use Dpkg::Changelog::Parse, if available, instead of shelling out to
dpkg-parsechangelog.
+ * who-uploads: Set a 30 second timeout when invoking wget instead of using
+ wget's default 900 second timeout. (Closes: #541732)
[ Ryan Niebur ]
* add w3m to suggests for grep-excuses -w, check for it at runtime too
Modified: trunk/scripts/who-uploads.sh
===================================================================
--- trunk/scripts/who-uploads.sh 2009-11-20 00:34:21 UTC (rev 2023)
+++ trunk/scripts/who-uploads.sh 2009-11-20 00:34:27 UTC (rev 2024)
@@ -201,10 +201,11 @@
# only grab the actual "Accepted" news announcements; hopefully this
# won't pick up many false positives
+ WGETOPTS="-q -O --timeout=30"
count=0
- for news in $(wget -q -O - $pkgurl |
+ for news in $(wget $WGETOPTS - $pkgurl |
sed -ne 's%^.*<a
href="\('$package'/news/[0-9A-Z]*\.html\)">Accepted .*%\1%p'); do
- HTML_TEXT=$(wget -q -O - "$baseurl$news")
+ HTML_TEXT=$(wget $WGETOPTS - "$baseurl$news")
GPG_TEXT=$(echo "$HTML_TEXT" |
sed -ne 's/^<pre>//; /-----BEGIN PGP SIGNED
MESSAGE-----/,/-----END PGP SIGNATURE-----/p')
--
To unsubscribe, send mail to [email protected].