debian/watch file and Sourceforge

Emilio Pozuelo Monfort pochu at ubuntu.com
Mon Nov 10 09:36:53 GMT 2008


Efrain Valles wrote:
> While working on a watch/file, I am having some issues detecting the
> newer version:
> 
> according to http://heanet.dl.sourceforge.net/sourceforge/kipina/
> 
> the latest version is obviously 0.2.2
> 
> Once I wrote the watch file, uscan --report I get
> 
> kipina: Newer version (0.03) available on remote site:
>   http://heanet.dl.sourceforge.net/sourceforge/kipina/kipina-0.03.tar.gz
>   (local version is 0.2.2)
> 
> This would be wrong since kipina 0.03 was released in 2004 and kipina
> 0.2.2 was released much later. 
> 
> the regex for the watch file is 
> 
> http://heanet.dl.sourceforge.net/sourceforge/kipina/kipina-([^-]*)\.tar.gz
> 
> any thoughts?

The uscan manpage tells Sourceforge is an special case, and qa.debian.org has a
redirection which you can use by using an url like this one:

http://sf.net/audacity/audacity-src-(.+)\.tar\.gz

HTH,
Emilio



More information about the Ubuntu-motu-mentors mailing list