[med-svn] [Git][med-team/community/package_template][master] Use string for github that is used in uscan(1).

Andreas Tille gitlab at salsa.debian.org
Mon Mar 29 19:54:07 BST 2021



Andreas Tille pushed to branch master at Debian Med / community / package_template


Commits:
a964e7bc by Andreas Tille at 2021-03-29T20:53:32+02:00
Use string for github that is used in uscan(1).

- - - - -


1 changed file:

- debian/watch


Changes:

=====================================
debian/watch
=====================================
@@ -18,11 +18,11 @@ version=4
 
 # Uncomment to find new files on Github
 #  - when using releases:
-# opts="filenamemangle=s%(?:.*?)?#PREFIX#(\d[\d.]*)\.tar\.gz%@PACKAGE at -$1.tar.gz%" \
-#   https://github.com/#GITHUBUSER#/#PACKAGE#/releases/latest .*/archive.*/#PREFIX#@ANY_VERSION@\.tar\.gz
+# opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%@PACKAGE at -$1.tar.gz%" \
+#   https://github.com/#GITHUBUSER#/#PACKAGE#/releases/latest (?:.*?/)?v?(\d[\d.]*)\.tar\.gz
 #  - when using tags
-# opts="filenamemangle=s%(?:.*?)?#PREFIX#(\d[\d.]*)\.tar\.gz%@PACKAGE at -$1.tar.gz%" \
-#   https://github.com/#GITHUBUSER#/#PACKAGE#/tags .*/#PREFIX#@ANY_VERSION@\.tar\.gz
+# opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%@PACKAGE at -$1.tar.gz%" \
+#   https://github.com/#GITHUBUSER#/#PACKAGE#/tags (?:.*?/)?v?(\d[\d.]*)\.tar\.gz
 # 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



View it on GitLab: https://salsa.debian.org/med-team/community/package_template/-/commit/a964e7bccd7969897d79df8271a7d2914494b8b6

-- 
View it on GitLab: https://salsa.debian.org/med-team/community/package_template/-/commit/a964e7bccd7969897d79df8271a7d2914494b8b6
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20210329/a0f8ddff/attachment.htm>


More information about the debian-med-commit mailing list