Livecheck regex with version in url path

Steven Smith steve.t.smith at gmail.com
Mon Dec 23 18:39:02 UTC 2019


How does one write a live check for ghc, whose version lives in the url path?

https://downloads.haskell.org/ghc/8.8.1/ghc-8.8.1-src.tar.xz <https://downloads.haskell.org/ghc/8.8.1/ghc-8.8.1-src.tar.xz>

I’ve tried stuff like the following, without success:

livecheck.type      regex                                                       
livecheck.url       https://downloads.haskell.org/~${name}/${version}           
livecheck.regex     (\\d+(?:\\.\\d+){1,4})/${name}-\\1-src${extract.suffix} 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20191223/4b81c8fd/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3898 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20191223/4b81c8fd/attachment.bin>


More information about the macports-dev mailing list