[javaparser] 05/13: Track and download the new releases from GitHub

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Mon Jul 3 08:40:42 UTC 2017


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

ebourg-guest pushed a commit to branch master
in repository javaparser.

commit 8856082ef49e16ffb35f4d5dba187c2741259e8e
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Mon Jul 3 09:56:20 2017 +0200

    Track and download the new releases from GitHub
---
 debian/changelog | 1 +
 debian/copyright | 2 +-
 debian/rules     | 4 ++--
 debian/watch     | 3 ++-
 4 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index a17b9e0..88c4fe0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ javaparser (1.0.8-2) UNRELEASED; urgency=medium
   * Switch to debhelper level 10
   * Use secure Vcs-* URLs
   * Updated the Homepage field
+  * Track and download the new releases from GitHub
 
  -- Emmanuel Bourg <ebourg at apache.org>  Mon, 03 Jul 2017 09:52:02 +0200
 
diff --git a/debian/copyright b/debian/copyright
index 2306b31..4b8c77f 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,7 +1,7 @@
 Format: http://dep.debian.net/deps/dep5/
 Upstream-Name: javaparser
 Upstream-Contact: Júlio Vilmar Gesser
-Source: http://code.google.com/p/javaparser/
+Source: https://github.com/javaparser/javaparser
 
 Files: *
 Copyright: 2007, Júlio Vilmar Gesser
diff --git a/debian/rules b/debian/rules
index a192dd4..c3bc558 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,5 +7,5 @@ VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p')
 %:
 	dh $@ --with javahelper
 
-get-orig-source: 
-	uscan --download-version $(VERSION) --force-download --repack
+get-orig-source:
+	uscan --download-current-version --force-download --rename
diff --git a/debian/watch b/debian/watch
index 46a4f1b..62959cc 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,3 @@
 version=3
-http://code.google.com/p/javaparser/downloads/list?can=1 .*/javaparser-(\d[\d.]*)-src.zip
+opts="mode=git,repack,compression=xz" \
+https://github.com/javaparser/javaparser refs/tags/javaparser(?:-parent)?-([\d\.]+)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/javaparser.git



More information about the pkg-java-commits mailing list