[Pkg-javascript-commits] [json-js] 41/85: Directly use github.com URL (not githubredir.debian.net redirctor) when fetching upstream source.

Jonas Smedegaard dr at jones.dk
Mon Mar 14 10:39:17 UTC 2016


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

js pushed a commit to branch master
in repository json-js.

commit 47f8ed5116e437824b27a30ba9540fbb9a2a2994
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Fri Jun 22 21:27:15 2012 +0200

    Directly use github.com URL (not githubredir.debian.net redirctor) when fetching upstream source.
---
 debian/rules | 9 ++++++---
 debian/watch | 2 +-
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/debian/rules b/debian/rules
index 6ea62a2..1e544f9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -30,9 +30,12 @@ CDBS_BUILD_DEPENDS_rules_utils_copyright-check =
 
 CDBS_BUILD_DEPENDS += , uglifyjs
 
-DEB_UPSTREAM_URL = http://githubredir.debian.net/github/douglascrockford/JSON-js
-# FIXME: when tagged upstream change to v$(DEB_UPSTREAM_TARBALL_VERSION)
-DEB_UPSTREAM_TARBALL_BASENAME = 0~master
+DEB_UPSTREAM_URL = https://github.com/douglascrockford/JSON-js/tarball
+#DEB_UPSTREAM_TARBALL_BASENAME = v$(DEB_UPSTREAM_TARBALL_VERSION)
+DEB_UPSTREAM_TARBALL_BASENAME = master
+DEB_UPSTREAM_TARBALL_DELIMITER =
+DEB_UPSTREAM_TARBALL_EXTENSION =
+DEB_UPSTREAM_RECEIVED_EXTENSION = tar.gz
 DEB_UPSTREAM_WGET_OPTS += --no-check-certificate
 DEB_UPSTREAM_TARBALL_MD5 = a941311386c564147f7126a3d7f0a2c4
 
diff --git a/debian/watch b/debian/watch
index 7ee4914..08a2725 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,2 @@
 version=3
-http://githubredir.debian.net/github/douglascrockford/JSON-js .*?(\d[^/]*).tar.gz
+https://github.com/douglascrockford/JSON-js/tags .*/tarball/v?(\d[\d\.]+)

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



More information about the Pkg-javascript-commits mailing list