Author: tille Date: 2017-09-01 12:49:23 +0000 (Fri, 01 Sep 2017) New Revision: 23978
Modified: trunk/package_template/watch Log: Use @ANY_VERSION@@ARCHIVE_EXT@ Modified: trunk/package_template/watch =================================================================== --- trunk/package_template/watch 2017-09-01 12:36:45 UTC (rev 23977) +++ trunk/package_template/watch 2017-09-01 12:49:23 UTC (rev 23978) @@ -11,21 +11,21 @@ #ftp://ftp.example.com/pub/#PACKAGE#-(.*)\.tar\.gz debian uupdate # Uncomment to find new files on sourceforge -# http://sf.net/#PACKAGE#/#PACKAGE#-(\d[\d\.]+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz))) +# 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 .*/archive/#PREFIX#(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz) +# https://github.com/#GITHUBUSER#/#PACKAGE#/releases .*/archive/#PREFIX#@ANY_VERSION@@ARCHIVE_EXT@ # - when using tags -# https://github.com/#GITHUBUSER#/#PACKAGE#/tags .*/#PREFIX#(\d.*)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz)) +# 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#-(.+)\.(?:tar(?:\.gz|\.bz2)?|tgz) +# http://pypi.debian.net/#module#/#module#-@ANY_VERSION@@ARCHIVE_EXT@ # Bitbucket -# https://bitbucket.org/<user>/<project>/downloads .*/(\d\S*)\.tar\.gz +# 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 \ @@ -38,6 +38,9 @@ # if you need to repack and choose +dfsg prefix # opts="repacksuffix=+dfsg,dversionmangle=s/\+dfsg//g,compress=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 _______________________________________________ debian-med-commit mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit
