[med-svn] [snap-aligner] 01/01: d/watch: Try proper version mangling, repack + xz compression

Andreas Tille tille at debian.org
Fri Dec 2 10:35:16 UTC 2016


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository snap-aligner.

commit 619d4702925cb7978e3682e68df65a757305e4bf
Author: Andreas Tille <tille at debian.org>
Date:   Fri Dec 2 11:34:56 2016 +0100

    d/watch: Try proper version mangling, repack + xz compression
---
 debian/changelog | 9 +++++++++
 debian/watch     | 5 ++++-
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 48e3632..31a3697 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+snap-aligner (1.0~beta.18+dfsg-1) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * d/watch:
+     - Try proper version mangling
+     - Repack + xz compression
+
+ -- Andreas Tille <tille at debian.org>  Fri, 02 Dec 2016 11:34:20 +0100
+
 snap-aligner (0.18~1.0~beta.18+dfsg1-4) unstable; urgency=medium
 
   * Build with -std=gnu++98, closes: 831138
diff --git a/debian/watch b/debian/watch
index b608c3e..d1f1bad 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,5 +1,8 @@
 version=3
 
+opts="repacksuffix=+dfsg,dversionmangle=s/\+dfsg//g,repack,compression=xz" \
+  https://github.com/amplab/snap/releases .*/archive/v(\d[-\d.beta]+)\.(?:tar(?:\.gz|\.bz2)?|tgz)
+
 #upstrea uses GitHub but numbers their release in a way that I don't know how
 #to de-mangle
 #
@@ -7,7 +10,7 @@ version=3
 
 # Uncomment to find new files on Github
 #  - when using releases:
-# https://github.com/#GITHUBUSER#/#PACKAGE#/releases .*/archive/#PREFIX#(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz)
+# 
 #  - when using tags
 # https://github.com/#GITHUBUSER#/#PACKAGE#/tags .*/#PREFIX#(\d.*)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz))
 # Remark: frequently you can do s/#PREFIX#/v?/ since 'v' or nothing is quite common but there are other prefixes possible

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/snap-aligner.git



More information about the debian-med-commit mailing list