Author: tille Date: 2014-04-13 05:48:50 +0000 (Sun, 13 Apr 2014) New Revision: 16674
Modified: trunk/package_template/watch Log: Add Github example; add example for dversionmangle Modified: trunk/package_template/watch =================================================================== --- trunk/package_template/watch 2014-04-12 06:39:51 UTC (rev 16673) +++ trunk/package_template/watch 2014-04-13 05:48:50 UTC (rev 16674) @@ -17,6 +17,17 @@ # http://code.google.com/p/#PACKAGE#/downloads/list?can=1 \ # .*/#PACKAGE#-([-.\d]+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz))|zip) +# Uncomment to find new files on Github +# - when using releases: +# https://github.com/#GITHUBUSER#/#PACKAGE#/releases .*/archive/#PREFIX#(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz) +# - when using tags +# https://github.com/#GITHUBUSER#/#PACKAGE#/tags .*/#PREFIX#(\d.*)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz)) +# Remark: frequently you can do s/#PREFIX#/v?/ since 'v' or nothing is quite common but there are other prefixes possible + # if tweaking of source is needed # \ # debian debian/get-orig-source + +# if you need to repack and choose +dfsg prefix +# opts=dversionmangle=s/[~\+]dfsg[0-9]*// \ +# _______________________________________________ debian-med-commit mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit
