[med-svn] [Git][med-team/community/package_template][master] Overhaul watch file options for github

Andreas Tille gitlab at salsa.debian.org
Wed Apr 14 13:39:56 BST 2021



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


Commits:
e12cd907 by Andreas Tille at 2021-04-14T14:39:34+02:00
Overhaul watch file options for github

- - - - -


1 changed file:

- debian/watch


Changes:

=====================================
debian/watch
=====================================
@@ -17,13 +17,15 @@ version=4
 # https://sf.net/@PACKAGE@/@PACKAGE@-@ANY_VERSION@@ARCHIVE_EXT@
 
 # Uncomment to find new files on Github
-#  - when using releases:
-# 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%(?:.*?)?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
+#  - when using gitmode
+# opts="mode=git, gitmode=full, pgpmode=none" \
+#   https://github.com/#GITHUBUSER#/#PACKAGE#.git refs/tags/v([\d\.]+)
+#  - when upstream fails to set tags
+# opts="mode=git,pretty=0.0+git%cd.%h" \
+#   https://github.com/#GITHUBUSER#/#PACKAGE#.git HEAD
 
 # PyPi repository of Python modules
 #  see https://lists.debian.org/debian-python/2015/02/msg00027.html



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

-- 
View it on GitLab: https://salsa.debian.org/med-team/community/package_template/-/commit/e12cd907c3983c746132be82ee55137cd9ab546d
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/20210414/bcd59093/attachment.htm>


More information about the debian-med-commit mailing list