Commit 22b9e03a authored by Liubov Chuprikova's avatar Liubov Chuprikova
Browse files

Clean d/watch

parent 771a1add
Loading
Loading
Loading
Loading
+0 −81
Original line number Diff line number Diff line
# alternatively to this template you might like to try
#   https://github.com/FedericoCeratto/debian-package-init/blob/master/deb_create_watch.py

version=4

https://github.com/qiime2/q2-types/releases/latest .*/archive/(\d[.\d]+)@ARCHIVE_EXT@
# Uncomment to examine a Webpage
# <Webpage URL> <string match>
#http://www.example.com/downloads.php #PACKAGE#-(.*)\.tar\.gz

# Uncomment to examine a Webserver directory
#http://www.example.com/pub/#PACKAGE#-(.*)\.tar\.gz

# Uncommment to examine a FTP server
#ftp://ftp.example.com/pub/#PACKAGE#-(.*)\.tar\.gz debian uupdate

# Uncomment to find new files on sourceforge
# http://sf.net/#PACKAGE#/#PACKAGE#-@ANY_VERSION@@ARCHIVE_EXT@

# Uncomment to find new files on Github
#  - when using releases:
# https://github.com/#GITHUBUSER#/#PACKAGE#/releases/latest .*/archive/#PREFIX#@ANY_VERSION@@ARCHIVE_EXT@
#  - when using tags
# https://github.com/#GITHUBUSER#/#PACKAGE#/tags .*/#PREFIX#@ANY_VERSION@@ARCHIVE_EXT@
# Remark: frequently you can do s/#PREFIX#/v?/ since 'v' or nothing is quite common but there are other prefixes possible

# PyPi repository of Python modules
#  see https://lists.debian.org/debian-python/2015/02/msg00027.html
# http://pypi.debian.net/#module#/#module#-@ANY_VERSION@@ARCHIVE_EXT@
#   better
# https://pypi.python.org/simple/#module# .*/#module#-@ANY_VERSION@@ARCHIVE_EXT@#sha256=.*

# Bitbucket
# https://bitbucket.org/#user#/#project#/downloads .*/@ANY_VERSION@@ARCHIVE_EXT@

# Gitlab
# opts=filenamemangle=s/.*\.tar\.gz\?ref=v?(\d\S*)/<project>-$1\.tar\.gz/g \
#  https://gitlab.com/#user#/#project#/tags .*archive\.tar\.gz\?ref=v?(\d\S*)
# may be
#  https://gitlab.com/#user#/#project#/tags?sort=updated_desc .*/archive/.*/#prefix#@ANY_VERSION@@ARCHIVE_EXT@

# Any Git repository lacking versioned downloads
#
# Option 1: mode=git
# ------------------
#
#opts="mode=git,pretty=0.0+git%cd.%h" \
#    https://github.com/#user#/#project#.git HEAD
#
# Option 2: github_commits_package_json (only for Github)
# -------------------------------------------------------
#
# opts="uversionmangle=s/.*date=(\d{4})-(\d\d)-(\d\d)T.*/#VERSION_ma_be_0.0#+git$1$2$3/, \
#    filenamemangle=s/.*date=(\d{4})-(\d\d)-(\d\d)T.*/#VERSION_ma_be_0.0#+git$1$2$3.tar.gz/, \
#    repack,compression=xz" \
#    https://qa.debian.org/cgi-bin/fakeupstream.cgi?upstream=github_commits_package_json/#user#/#project# \
#    .*/archive/(.*\.tar\.gz?.*)


# if tweaking of source is needed
# \
# debian debian/get-orig-source

# if you need to repack and choose +dfsg prefix
# opts="repacksuffix=+dfsg,dversionmangle=auto,repack,compression=xz" \

# See also
#    https://people.debian.org/~osamu/uscan.html
#
# If there is no chance to create a sensible watch file please read here:
#
#    https://people.debian.org/~eriberto/#fake-packages
# 
#version=4
#opts=dversionmangle=s/.*/0.No-Site/ \
#https://people.debian.org/~eriberto/ FakeWatchNoUpstreamSiteForThisPackage-(\d\S+)\.gz
#
#version=4
#opts=dversionmangle=s/.*/0.No-Release/ \
#https://people.debian.org/~eriberto/ FakeWatchNoUpstreamReleaseForThisPackage-(\d\S+)\.gz
#
#version=4
#opts=dversionmangle=s/.*/0.No-Track/ \
#https://people.debian.org/~eriberto/ FakeWatchNoUpstreamTrackingForThisPackage-(\d\S+)\.gz