[med-svn] [Git][med-team/community/package_template][master] More versio=5 examples, start removing simple version=4 examples

Andreas Tille (@tille) gitlab at salsa.debian.org
Sun Oct 26 10:34:27 GMT 2025



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


Commits:
0c370562 by Andreas Tille at 2025-10-26T11:33:54+01:00
More versio=5 examples, start removing simple version=4 examples

- - - - -


1 changed file:

- debian/watch


Changes:

=====================================
debian/watch
=====================================
@@ -14,7 +14,7 @@ Project: @PACKAGE@
 Uversion-Mangle: s/-beta\.(\d)/~beta$1/;s/-beta/~beta/
 Repack-Suffix: +dfsg
 Dversion-Mangle: auto
-
+Filename-Mangle: s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%@PACKAGE at -$1.tar.gz%
 
 # Sourceforge
 Version: 5
@@ -28,23 +28,19 @@ Version: 5
 
 Source: https://github.com/#user#/#project#/tags
 Matching-Pattern: (?:.*?/)?v?(\d[\d.]+)@ARCHIVE_EXT@
-Filenamemangle: s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%@PACKAGE at -$1.tar.gz%
 Repack-Suffix: +dfsg
 Dversion-Mangle: auto
 
+# Git mode
+Source: https://github.com/#user#/#project#.git
+Matching-Pattern: HEAD
+Mode: git
+Git-Pretty: 0.0~git%cd.%h
 
-# Uncomment to examine a Webpage
-# <Webpage URL> <string match>
-#http://www.example.com/downloads.php @PACKAGE at -(.*)\.tar\.gz
-
-# Uncomment to examine a Webserver directory
-#http://www.example.com/pub/@PACKAGE@-(.*)\.tar\.gz
-
-# Uncommment to examine a FTP server
-#ftp://ftp.example.com/pub/@PACKAGE@-(.*)\.tar\.gz debian uupdate
+# Version encoded in directory
+Source: https://#example.package.org#/@PACKAGE@/download/@ANY_VERSION@/
+Matching-Pattern: @PACKAGE at -@ANY_VERSION@@ARCHIVE_EXT@
 
-# Uncomment to find new files on sourceforge
-# https://sf.net/@PACKAGE@/@PACKAGE@-@ANY_VERSION@@ARCHIVE_EXT@
 
 # Uncomment to find new files on Github
 #  - when using gitmode



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

-- 
View it on GitLab: https://salsa.debian.org/med-team/community/package_template/-/commit/0c37056235ddd435f8d70875b7d652fc0977d355
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/20251026/e496e132/attachment-0001.htm>


More information about the debian-med-commit mailing list