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

Re: haskell-sha



Hallo Joachim.

Em Qua, 2009-12-23 às 14:50 +0100, Joachim Breitner escreveu:
(...) 
> maybe we should switch to what I proposed in the
> mail „Re: Hackage vs. uscan (debian/watch) in darcs.d.o repos“ from
> 23.11.2009. Marco, did you have a look at that watch line?

Just did it.  It seems not to be working with the newest version,
because the link to the current version in hackage is disabled.  I made
some changes to make it catch the direct link to the .tar.gz, and I got
to:

version=3
opts=downloadurlmangle=s|package/([\w\d_-]+)-([\d\.]+)|
packages/archive/$1/$2/$1-$2.tar.gz| \
    http://hackage.haskell.org/package/arrows \
    [\w\d\./_-]+arrows-([\d\.]*\d)[\w\.]*

This seems to be working, although it's not pretty.  Notice I also
changed the s/// syntax to s|||, which made the code cleaner.

> Do you feel like doing another round of mass-package-updates? :-)

If you're ok with this format, I can do it latter.

Auf Wiedersehen.
(...)
-- 
marcot
http://marcot.iaaeee.org/



Reply to: