[args4j] 08/09: debian/watch: Updated to watch the new release tags on Github Removed debian/orig-tar.sh and use the tarball from Github directly

Emmanuel Bourg ebourg-guest at alioth.debian.org
Thu Oct 24 10:05:51 UTC 2013


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

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

commit 5573d0edf333e8d2b956bd15a787b4759dbc712c
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Thu Oct 24 11:33:33 2013 +0200

    debian/watch: Updated to watch the new release tags on Github
    Removed debian/orig-tar.sh and use the tarball from Github directly
---
 debian/changelog   |    2 ++
 debian/orig-tar.sh |   17 -----------------
 debian/watch       |    3 +--
 3 files changed, 3 insertions(+), 19 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index affa13c..5413000 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,8 @@ args4j (2.0.16-3) UNRELEASED; urgency=low
     - Updated the Homepage field
   * debian/copyright: Updated to the Copyright Format 1.0
   * Build depend on debhelper >= 9
+  * debian/watch: Updated to watch the new release tags on Github
+  * Removed debian/orig-tar.sh and use the tarball from Github directly
 
  -- Emmanuel Bourg <ebourg at apache.org>  Thu, 24 Oct 2013 10:59:33 +0200
 
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
deleted file mode 100755
index eb02105..0000000
--- a/debian/orig-tar.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh -e
-
-VERSION=$2
-TAR=../args4j_$VERSION.orig.tar.gz
-DIR=args4j-$VERSION
-TAG=$(echo "args4j-site-$VERSION" | sed -re's/~(alpha|beta)/-\1-/' | sed 's/\./_/g')
-
-svn export https://svn.java.net/svn/args4j~svn/tags/${TAG}/ $DIR 
-GZIP=--best tar -c -z -f $TAR --exclude '*.jar' --exclude '*.class' \
-	--exclude 'www' --exclude 'repo' --exclude '*.zip' $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/watch b/debian/watch
index da86d72..0a2b830 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,4 +1,3 @@
 version=3
 opts="uversionmangle=s/-(alpha|beta)-/~$1/" \
-  http://java.net/projects/args4j/sources/svn/show/tags \
-  /projects/args4j/sources/svn/show/tags/args4j-site-(\d+)_(\d+)_(\d+).* debian debian/orig-tar.sh
+https://github.com/kohsuke/args4j/releases .*/args4j(?:-site)?-(.*).tar.gz

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



More information about the pkg-java-commits mailing list