[h2database] 01/01: Watch and download the new releases from GitHub

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Mon Dec 21 11:59:44 UTC 2015


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

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

commit bed886f656e27983507ee07e22abed033cf5f989
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Mon Dec 21 12:59:03 2015 +0100

    Watch and download the new releases from GitHub
---
 debian/changelog   | 1 +
 debian/orig-tar.sh | 5 ++++-
 debian/watch       | 2 +-
 3 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 5ae1d90..efe2ad9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ h2database (1.4.185-3) UNRELEASED; urgency=medium
 
   * Reverted the build dependency on the Servlet API to 2.5
     due to compilation errors with the 3.1 API
+  * Watch and download the new releases from GitHub
 
  -- Emmanuel Bourg <ebourg at apache.org>  Mon, 21 Dec 2015 12:26:36 +0100
 
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
index 12dd8fa..0ecc09d 100755
--- a/debian/orig-tar.sh
+++ b/debian/orig-tar.sh
@@ -5,7 +5,10 @@ TAR=../h2database_$VERSION.orig.tar.xz
 DIR=h2database-$VERSION
 TAG=version-$VERSION
 
-svn export http://h2database.googlecode.com/svn/tags/$TAG/h2 $DIR
+mkdir $DIR
+tar -xf $3 --strip-components=2 -C $DIR
+rm -Rf $DIR/service
+
 XZ_OPT=--best tar -c -v -J -f $TAR \
     --exclude '*.jar' \
     --exclude '*.class' \
diff --git a/debian/watch b/debian/watch
index d80d02b..2533e7a 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,2 @@
 version=3
-http://www.h2database.com/html/download.html http://repo2.maven.org/maven2/com/h2database/h2/[0-9\.]+/h2-([0-9\.]+)-sources.jar debian debian/orig-tar.sh
+https://github.com/h2database/h2database/tags .*/version-([\d\.]+).tar.gz debian debian/orig-tar.sh

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



More information about the pkg-java-commits mailing list