[libhibernate-validator-java] 01/05: Updated debian/watch to watch the release tags on Github

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Wed Nov 19 12:33:48 GMT 2014


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

ebourg-guest pushed a commit to branch master
in repository libhibernate-validator-java.

commit d9b116dda87ce02538174f0f42de289c828f6c33
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Tue Nov 18 13:44:58 2014 +0100

    Updated debian/watch to watch the release tags on Github
---
 debian/changelog        |  8 ++++++++
 debian/orig-tar.exclude |  3 ---
 debian/orig-tar.sh      | 21 ---------------------
 debian/watch            |  7 ++-----
 4 files changed, 10 insertions(+), 29 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 91917a3..a5e74da 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+libhibernate-validator-java (4.0.2.GA-9) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * debian/watch: Updated to watch the release tags on Github
+  * Removed debian/orig-tar.* and use the Github archive as is
+
+ -- Emmanuel Bourg <ebourg at apache.org>  Tue, 18 Nov 2014 12:38:01 +0100
+
 libhibernate-validator-java (4.0.2.GA-8) unstable; urgency=low
 
   * Team upload.
diff --git a/debian/orig-tar.exclude b/debian/orig-tar.exclude
deleted file mode 100644
index 399be69..0000000
--- a/debian/orig-tar.exclude
+++ /dev/null
@@ -1,3 +0,0 @@
-*/doc/api/*
-*.jar
-*.pdf
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
deleted file mode 100755
index 1b40fbf..0000000
--- a/debian/orig-tar.sh
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/sh -e
-
-# called by uscan with '--upstream-version' <version> <file>
-SOURCE=$(dpkg-parsechangelog | sed -ne 's,Source: \(.*\),\1,p')
-TAR=../${SOURCE}_$2.orig.tar.gz
-DIR=$SOURCE-$2
-TAG=$(echo v$2 | sed -e 's,\.,_,g')
-SVN=http://anonsvn.jboss.org/repos/hibernate/validator/tags
-
-svn export $SVN/$TAG $DIR
-# clean up the upstream tarball
-GZIP=--best tar -c -z -f $TAR -X debian/orig-tar.exclude $DIR
-rm -rf $3 $DIR
-
-# move to directory 'tarballs'
-if [ -r .svn/deb-layout ]; then
-  . .svn/deb-layout
-  mv $TAR $origDir
-  echo "moved $TAR to $origDir"
-fi
-
diff --git a/debian/watch b/debian/watch
index 21aecb3..545da63 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,6 +1,3 @@
-# watch control file for uscan
 version=3
-opts=uversionmangle=s/.((?i)alpha|beta)/~\L$1/;s/_/./g \
-  http://anonsvn.jboss.org/repos/hibernate/validator/tags/ v(.*)/ \
-  debian debian/orig-tar.sh
-
+opts=uversionmangle=s/\.(Final|GA)//;s/.((?i)alpha|beta|cr)/~\L$1/;s/_/./g \
+https://github.com/hibernate/hibernate-validator/releases .*/([\d\.]+.*).tar.gz

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



More information about the pkg-java-commits mailing list