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

Julien Puydt julien.puydt at laposte.net
Thu Jan 19 08:32:03 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-posix-getopt.

commit 0adc0c36c67c001749a080bbb6ff9bd10a1dca41
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Thu Jan 19 09:24:17 2017 +0100

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

diff --git a/debian/changelog b/debian/changelog
index 4d3bf29..23756b1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ node-posix-getopt (1.2.0+20150728-2) UNRELEASED; urgency=medium
 
   * Push standards-version up to 3.9.8.
   * Push dh compat to 10.
+  * Rewrite d/watch to use a new fakeupstream feature (thanks Paul Wise).
 
  -- Julien Puydt <julien.puydt at laposte.net>  Wed, 18 Jan 2017 18:52:18 +0100
 
diff --git a/debian/watch b/debian/watch
index f8c6682..1c33ab7 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,6 @@
-# upstream doesn't tag releases, so sources are obtained with:
-#   wget -c https://github.com/davepacheco/node-getopt/archive/<SHA>.tar.gz
-# where <SHA> is given in the changelog entry.
+# Upstream doesn't tag releases, so git snapshot are packaged
+# 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/davepacheco/node-getopt .*/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-posix-getopt.git



More information about the Pkg-javascript-commits mailing list