[javassist] 02/08: debian/watch: Track and download the release tags on GitHub

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Jun 30 22:11:33 UTC 2016


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

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

commit 45c209eb6e49dc710b161d5c48c06954ce6ffd2a
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Wed Jun 29 10:42:11 2016 +0200

    debian/watch: Track and download the release tags on GitHub
---
 debian/README.Debian-source | 13 -------------
 debian/changelog            |  1 +
 debian/copyright            |  1 +
 debian/orig-tar.sh          | 19 -------------------
 debian/watch                |  7 ++-----
 5 files changed, 4 insertions(+), 37 deletions(-)

diff --git a/debian/README.Debian-source b/debian/README.Debian-source
deleted file mode 100644
index c8f3c5d..0000000
--- a/debian/README.Debian-source
+++ /dev/null
@@ -1,13 +0,0 @@
-javassist
-=========
-
-The upstream supplied source package contains binary jar files and
-pre-built documentation. Currently no clean source distribution
-exists. Therefore, the upstream sources were modified to comply with
-the Debian Free Software Guidelines.
-
-Use the rules/get-orig-source target to create the orig.tar.gz.
-For more details on repackaging of upstream sources please see the 
-debian/orig-tar.sh file.
-
- -- Varun Hiremath <varun at debian.org>, Mon, 21 Jan 2008 12:46:23 +0530
diff --git a/debian/changelog b/debian/changelog
index 2c3ace6..e38a3b9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ javassist (1:3.12.1.ga-2.1) UNRELEASED; urgency=medium
   * Standards-Version updated to 3.9.8
   * Switch to debhelper level 9
   * debian/copyright: Converted to the Copyright Format 1.0
+  * debian/watch: Track and download the release tags on GitHub
 
  -- Emmanuel Bourg <ebourg at apache.org>  Wed, 29 Jun 2016 00:09:56 +0200
 
diff --git a/debian/copyright b/debian/copyright
index a88373e..83d1a9c 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -2,6 +2,7 @@ Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: Javassist
 Upstream-Contact: Shigeru Chiba
 Source: https://github.com/jboss-javassist/javassist
+Files-Excluded: *.jar
 
 Files: *
 Copyright: 1999-2006, Shigeru Chiba
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
deleted file mode 100755
index c3b2f66..0000000
--- a/debian/orig-tar.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/sh
-
-set -eu
-
-# called by uscan with '--upstream-version' <version> <file>
-TAR=../javassist_$2.orig.tar.gz
-DIR=javassist-$2
-TAG=$(echo rel_$2 | sed -e's,\.,_,g')
-
-svn export http://anonsvn.jboss.org/repos/javassist/tags/$TAG $DIR
-GZIP=--best tar -c -z -f $TAR --exclude '*.jar' $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 851913c..c35ea0e 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,6 +1,3 @@
-# watch control file for uscan
 version=3
-
-opts="uversionmangle=s/_/./g" \
-  http://anonsvn.jboss.org/repos/javassist/tags/ rel_(.*)/ debian \
-  debian/orig-tar.sh
+opts=uversionmangle=s/_/./g \
+https://github.com/jboss-javassist/javassist/tags .*/archive/rel_([\d_]+)(?:_ga)?.tar.gz

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



More information about the pkg-java-commits mailing list