Author: adsb
Date: 2008-10-25 16:57:26 +0000 (Sat, 25 Oct 2008)
New Revision: 1673

Modified:
   trunk/debian/changelog
   trunk/scripts/getbuildlog.sh
Log:
* getbuildlogs:
  + Unescape %7Es in log URLs to allow explicitly searching for 
    package versions containing tildes.

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog      2008-10-25 16:30:47 UTC (rev 1672)
+++ trunk/debian/changelog      2008-10-25 16:57:26 UTC (rev 1673)
@@ -4,6 +4,9 @@
   * debchange: Don't attempt to automatically determine if the current
     changelog is an NMU if an alternative changelog location was specified
     using the CHANGELOG environment variable.
+  * getbuildlogs:
+    + Unescape %7Es in log URLs to allow explicitly searching for 
+      package versions containing tildes.
   * uscan: Document the USCAN_TIMEOUT configuration file variable.
     (Closes: #502517)
 

Modified: trunk/scripts/getbuildlog.sh
===================================================================
--- trunk/scripts/getbuildlog.sh        2008-10-25 16:30:47 UTC (rev 1672)
+++ trunk/scripts/getbuildlog.sh        2008-10-25 16:57:26 UTC (rev 1673)
@@ -82,7 +82,7 @@
     # matches only one href. This is required because grep is greedy.
     sed -i -e "s/href=\"/\nhref=\"/g" $ALL_LOGS
     # Quick-and-dirty unescaping
-    sed -i -e "s/%2B/\+/g" -e "s/%3A/:/g" $ALL_LOGS
+    sed -i -e "s/%2B/\+/g" -e "s/%3A/:/g" -e "s/%7E/~/g" $ALL_LOGS
 
     for match in `grep -E -o "$PATTERN" $ALL_LOGS`; do
         ver=`echo $match | cut -d'&' -f3 | cut -d'=' -f2`



-- 
To unsubscribe, send mail to [EMAIL PROTECTED]

Reply via email to