File: watch

package info (click to toggle)
golang-github-alecthomas-chroma 0.10.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,652 kB
  • sloc: python: 426; javascript: 79; makefile: 34; sh: 32
file content (7 lines) | stat: -rw-r--r-- 445 bytes parent folder | download
1
2
3
4
5
6
7
# Scan for v0.x.x explicitly to avoid fetching v2 which is incompatible
version=4
opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)%@PACKAGE@-$1.tar.gz%, \
      pagemangle=s%\"tarball_url\":\s*(\".*?\")%<a href=$1>%g, \
      downloadurlmangle=s%api.github.com/repos/(.+?/.+?)/tarball/(.*/@ANY_VERSION@)$%github.com/$1/archive/$2.tar.gz%" \
    https://api.github.com/repos/alecthomas/chroma/tags?per_page=100 \
    (?:.*?/)?v?(0[\-+\.:\~\da-zA-Z]*)