Hi,

On Sun, 2007-07-08 at 01:22 +0530, Varun Hiremath wrote: 
> uscan still doesn't support https:
[...]
> Even if the webpage is http and the download links are https uscan fails:
> 
> debian/watch:
> -------------
> version=3 
> # A temporary workaround using
> # http://www.sitetruth.com/experimental/viewer.html for 
> # http://liquidlnf.dev.java.net/servlets/ProjectDocumentList?folderID=3763 
> # as https is not supported by uscan.
> 
> http://www.sitetruth.com/cgi-bin/viewer.cgi?url=https%3A%2F%2Fliquidlnf.dev.java.net%2Fservlets%2FP
> rojectDocumentList%3FfolderID%3D3763&Submit=Query \
> .*/liquidlnf-(.*)-src\.tar\.bz2 debian debian/orig-tar.sh

Thanks for the patch, but on closer inspection it turns out to be
somewhat more involved than it need be. :-)

If a couple more instances of "http://"; are changed to "http(s)?://"
then uscan correctly handles https URLs without special-casing the
protocol any further (and therefore without needing the wget call).

I've tested this against the watch file quoted above and a file with the
workaround replaced directly with the https link, and in both cases the
new .bz2 was identified and downloaded; I'll commit the patch to SVN
shortly.

Regards,

Adam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to