On Tue, 2008-06-17 at 18:24 +0200, Filippo Giunchedi wrote: > On Wed, Jun 18, 2008 at 12:07:01AM +0800, Paul Wise wrote: > > I found a while back that this URL redirects to the files page: > > > > http://sf.net/projects/foo/files > > > > Slightly more readable than the URL you used. > > Thanks, this avoids the group_id search, so the audacity case can be trimmed > to: [...] > version=3 > http://sourceforge.net/projects/audacity/files > http://downloads.sourceforge.net/.+/audacity-src-(.+)\.tar\.gz.+ > > (ok, this would download also 1.3.5 which is marked as unstable, but it is > irrilevant)
*dons devscripts maintainer hat* fwiw, if I were applying this change at the moment, it would be likely to be commited as per the attached. *removes hat* Thomas has a reasonable point though; it would be good not to break existing watch files using sf.net. Adam
Index: scripts/uscan.1 =================================================================== --- scripts/uscan.1 (revision 1502) +++ scripts/uscan.1 (working copy) @@ -68,20 +68,12 @@ Twisted-([\\d\\.]*)\\.tar\\.bz2 http://tmrc.mit.edu/mirror/twisted/Twisted/(\\d\.\\d)/Twisted-([\\d\\.]*)\\.tar\\.bz2 -# If your package is located on sourceforge, use one of the following -# formats to automatically use the qa.debian.org redirector, avoiding -# SF's difficult mirror system. -http://sf.net/audacity/audacity-src-(.+)\\.tar\\.gz +# If your package is located on sourceforge, you can avoid its +# mirror system by using the following format. Note that the trailing +# \?.+ is required. +http://sourceforge.net/projects/audacity/files \\ + http://downloads.sourceforge.net/.+/audacity-src-(.+)\\.tar\\.gz\\?.+ -http://sf.net/audacity/ audacity-src-(.+)\\.tar\\.gz - -# If the qa.debian.org redirector does not produce any results for -# your sourceforge-hosted project, you can use the following format -# to check for new versions. Note that it does not seem to be -# possible to download the files via this method. -ftp://upload.sourceforge.net/pub/sourceforge/a/au/audacity/ \\ - audacity-src-([\\d\\.]+)\\.tar\\.(gz|bz2) - # This is the format for a site which has funny version numbers; # the parenthesised groups will be joined with dots to make a # sanitised version number

