[med-svn] [Git][med-team/community/package_template][master] Alternative ws to deal with Git maintained upstream projects without revision tags
Andreas Tille
gitlab at salsa.debian.org
Wed Apr 11 14:02:07 BST 2018
Andreas Tille pushed to branch master at Debian Med / community / package_template
Commits:
7fb732bb by Andreas Tille at 2018-04-11T15:01:41+02:00
Alternative ws to deal with Git maintained upstream projects without revision tags
- - - - -
1 changed file:
- debian/watch
Changes:
=====================================
debian/watch
=====================================
--- a/debian/watch
+++ b/debian/watch
@@ -28,11 +28,29 @@ version=4
# http://pypi.debian.net/#module#/#module#-@ANY_VERSION@@ARCHIVE_EXT@
# Bitbucket
-# https://bitbucket.org/<user>/<project>/downloads .*/@ANY_VERSION@@ARCHIVE_EXT@
+# https://bitbucket.org/#user#/#project#/downloads .*/@ANY_VERSION@@ARCHIVE_EXT@
# Gitlab
# opts=filenamemangle=s/.*\.tar\.gz\?ref=v?(\d\S*)/<project>-$1\.tar\.gz/g \
-# https://gitlab.com/<user>/<project>/tags .*archive\.tar\.gz\?ref=v?(\d\S*)
+# https://gitlab.com/#user#/#project#/tags .*archive\.tar\.gz\?ref=v?(\d\S*)
+
+# Any Git repository lacking versioned downloads
+#
+# Option 1: mode=git
+# ------------------
+#
+#opts="mode=git,pretty=0.0+git%cd.%h" \
+# https://github.com/#user#/#project#.git HEAD
+#
+# Option 2: github_commits_package_json (only for Github)
+# -------------------------------------------------------
+#
+# opts="uversionmangle=s/.*date=(\d{4})-(\d\d)-(\d\d)T.*/#VERSION_ma_be_0.0#+git$1$2$3/, \
+# filenamemangle=s/.*date=(\d{4})-(\d\d)-(\d\d)T.*/#VERSION_ma_be_0.0#+git$1$2$3.tar.gz/, \
+# repack,compression=xz" \
+# https://qa.debian.org/cgi-bin/fakeupstream.cgi?upstream=github_commits_package_json/#user#/#project# \
+# .*/archive/(.*\.tar\.gz?.*)
+
# if tweaking of source is needed
# \
View it on GitLab: https://salsa.debian.org/med-team/community/package_template/commit/7fb732bb587f253a124fbb87adaa8ff09adfbce6
---
View it on GitLab: https://salsa.debian.org/med-team/community/package_template/commit/7fb732bb587f253a124fbb87adaa8ff09adfbce6
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/debian-med-commit/attachments/20180411/13bc8283/attachment-0001.html>
More information about the debian-med-commit
mailing list