[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: debian/watch sourceforge



Am Freitag, den 25.12.2009, 22:36 +0100 schrieb Jaromír Mikeš:

> having troubles get my watch file work on sourceforge files.
> tracking files:
> http://sourceforge.net/projects/jcgui/files/jcgui/
> 
> I tried this in my watch file:
> http://sf.net/jcgui/jcgui-(.+)\.tar\.bz2

A dot means "any character". So your watch file will result in upstream
versions containing the '-nopkg' string. So you either want:

http://sf.net/jcgui/jcgui-([\d.]+)\.tar\.bz2

(version consisting of dots and/or numbers) or

http://sf.net/jcgui/jcgui-([\d.]+)-nopkg\.tar\.bz2

(explicitly only matching the -nopkg tarballs). Both work here. So if
you are observing a different problem then having the '-nopkg' string
inside the version, please describe it.

> Any advice?

You already got the advice to read a bit about regular expressions the
last time you asked. So please finally do it. Thanks. Watch files for
sourceforge are not tricky. One can even write one without using the qa
redirector site.

Regards, Daniel


Reply to: