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

Re: scheme48 watch file



Am Montag, den 26.11.2007, 20:30 +1100 schrieb Trent W. Buck:
> [CC'd to mentors; please also CC replies directly to me as I'm not
> subscribed to that list.]
> 
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=411425
> http://www.s48.org/1.7/scheme48-1.7.tgz
> http://mentors.debian.net/debian/pool/main/s/scheme48/
> 
> Regarding
> 
> > Please add a debian/watch file.
> 
> ...I haven't been able to work out how to do this, because
> http://s48.org/ has a link to 1.7/download.html instead of to 1.7/ --
> this means that the naïve
> 
>     http://s48.org/(?:[[:digit:].]+)/scheme48-([[:digit:].]+).tgz
> 
> doesn't work, because it can't find any href at s48.org matching
> (?:[[:digit:].]+)/?$.  For the same reason, this fails
> 
>     http://s48.org/(?:[[:digit:].]+)/download.html scheme48-([[:digit:].]+).tgz
> 
> Any suggestions on this issue would be appreciated.

Attached. Maybe one has a simpler file.

Regards, Daniel
version=3
opts=downloadurlmangle=s/([^\/]+)\/download.html$/$1\/scheme48-$1.tgz/,filenamemangle=s/([^\/]+)\/download.html/scheme48-$1.tgz/ \
  http://s48.org/index.html \
  ([\d\.]+)/download.html

# http://s48.org/1.7/download.html/scheme48-download.html.tgz

Reply to: