# Example watch control file for uscan
# Rename this file to "watch" and then you can run the "uscan" command
# to check for upstream updates and more.
# See uscan(1) for format

# Compulsory line, this is a version 4 file
version=4

# PGP signature mangle, so foo.tar.gz has foo.tar.gz.sig
#opts="pgpsigurlmangle=s%$%.sig%"


# GitHub hosted projects
#opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%<project>-$1.tar.gz%" \
#   https://github.com/<user>/zoph/tags \
#   (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate

#opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%zoph-$1.tar.gz%" \
#   https://github.com/jeroenrnl/zoph/tags \
#   (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate

# Zoph has now moved to gitlab
#  even though there is not a release there yet

opts=filenamemangle=s/.*\/archive\/(\d\S+)\/zoph.*\.tar\.gz/zoph-$1\.tar\.gz/g \
  https://gitlab.com/jeroenrnl/zoph/tags?sort=updated_desc .*/archive/(\d\S+)/.*\.tar\.gz.*



# Uncomment to find new files on GooglePages
# http://example.googlepages.com/foo.html zoph-(.*)\.tar\.gz
