[plexus-velocity] 21/25: debian/watch: Track and download the new releases on GitHub

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Sun Oct 30 22:28:49 UTC 2016


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

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

commit aea983b3ed8c2533953f46ff3c6ae357abda10d9
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Sun Oct 30 23:03:00 2016 +0100

    debian/watch: Track and download the new releases on GitHub
---
 debian/changelog   |  1 +
 debian/orig-tar.sh | 16 ----------------
 debian/rules       |  2 +-
 debian/watch       |  4 +---
 4 files changed, 3 insertions(+), 20 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 93eeb6a..d652ab9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ plexus-velocity (1.1.8-2) UNRELEASED; urgency=medium
   * Moved the package to Git
   * Standards-Version updated to 3.9.8
   * Switch to debhelper level 10
+  * debian/watch: Track and download the new releases on GitHub
 
  -- Emmanuel Bourg <ebourg at apache.org>  Sun, 30 Oct 2016 22:46:08 +0100
 
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
deleted file mode 100755
index 7eab558..0000000
--- a/debian/orig-tar.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh -e
-
-VERSION=$2
-TAR=../plexus-velocity_$VERSION.orig.tar.gz
-DIR=plexus-velocity-$VERSION
-TAG=$(echo "plexus-velocity-$VERSION" | sed -re's/~(alpha|beta)/-\1-/')
-
-svn export http://svn.codehaus.org/plexus/plexus-components/tags/${TAG}/ $DIR
-GZIP=--best tar -c -z -f $TAR --exclude '*.jar' --exclude '*.class' $DIR
-rm -rf $DIR ../$TAG
-
-# 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/rules b/debian/rules
index 5a6351f..1a38d46 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,4 +4,4 @@
 	dh $@
 
 get-orig-source:
-	uscan --download-current-version --force-download --rename
+	uscan --download-current-version --force-download --rename --repack --compression xz
diff --git a/debian/watch b/debian/watch
index 180609b..bc31a06 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,4 +1,2 @@
 version=3
-opts="uversionmangle=s/-(alpha|beta)-/~$1/" \
-  http://svn.codehaus.org/plexus/plexus-components/tags/ \
-  plexus-velocity-(\d.*)/ debian debian/orig-tar.sh
+https://github.com/codehaus-plexus/plexus-velocity/tags .*/plexus-velocity-([\d\.]+).tar.gz

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



More information about the pkg-java-commits mailing list