[Pkg-javascript-commits] [node-stringset] 05/06: Rewrite d/watch using a new fakeupstream feature (thanks Paul Wise)

Julien Puydt julien.puydt at laposte.net
Thu Jan 19 09:08:11 UTC 2017


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

jpuydt-guest pushed a commit to branch master
in repository node-stringset.

commit 246c350af43226982c72145483679778b03c96e8
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Thu Jan 19 09:34:01 2017 +0100

    Rewrite d/watch using a new fakeupstream feature (thanks Paul Wise)
---
 debian/changelog | 1 +
 debian/watch     | 8 +++++---
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 745dad8..dfcc0a2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ node-stringset (0.2.1+20130926-2) UNRELEASED; urgency=medium
   * Push dh compat to 10.
   * Mark the libjs-* package as Multi-Arch: foreign following hinter.
   * Use https in Vcs-* fields.
+  * Rewrite d/watch to use a new fakeupstream feature (thanks Paul Wise).
 
  -- Julien Puydt <julien.puydt at laposte.net>  Wed, 18 Jan 2017 18:47:41 +0100
 
diff --git a/debian/watch b/debian/watch
index c3241a1..a5aa334 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,4 +1,6 @@
 # Upstream doesn't tag releases, so git snapshot are packaged
-# You can get the upstream tarball using:
-#   wget -c https://github.com/olov/stringset/archive/<SHA>.tar.gz
-# where <SHA> is given in the changelog entry.
+# the SHA of the commit is to be given in the debian/changelog entry
+version=3
+opts=\
+uversionmangle=s/([\d\.]+)\.([\d]+)\.([\d]+)\.([\d]+).*/$1+$2$3$4/ \
+https://qa.debian.org/cgi-bin/fakeupstream.cgi?upstream=github_commits_package_json/olov/stringset .*/archive/[0123456789abcdef]+\.tar.gz\?version=([\d.]+);date=([\d]+)-([\d]+)-([\d]+)T.*

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-stringset.git



More information about the Pkg-javascript-commits mailing list