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@-$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@-$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@-$1.tar.gz%"
 \
-#   https://github.com/#GITHUBUSER#/#PACKAGE#/tags 
.*/#PREFIX#@ANY_VERSION@\.tar\.gz
+# opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%@PACKAGE@-$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.


_______________________________________________
debian-med-commit mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to