[wss4j] 09/15: Track and download the new releases from GitHub
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Tue Jun 27 21:05:11 UTC 2017
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository wss4j.
commit 52d225c6de72faa383efd855397a79b98483f2bb
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Tue Jun 27 22:14:05 2017 +0200
Track and download the new releases from GitHub
---
debian/README.source | 7 -------
debian/changelog | 1 +
debian/copyright | 1 +
debian/exclude | 5 -----
debian/orig-tar.sh | 34 ----------------------------------
debian/watch | 5 ++---
6 files changed, 4 insertions(+), 49 deletions(-)
diff --git a/debian/README.source b/debian/README.source
deleted file mode 100644
index 0801829..0000000
--- a/debian/README.source
+++ /dev/null
@@ -1,7 +0,0 @@
-Directories specified in debian/exclude contained .doc, .pdf, .jar and other
-files that are either not relevant for the functionality of this package
-and/or that are not shipped with their sources. Those were omitted
-from a redistribution with Debian.
-
- -- Steffen Moeller <moeller at debian.org> Wed, 10 Feb 2010 17:07:52 +0100
- -- Charles Plessy <plessy at debian.org> Fri, 12 Feb 2010 12:51:16 +0900
diff --git a/debian/changelog b/debian/changelog
index af82216..61fd74e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ wss4j (1.6.15-3) UNRELEASED; urgency=medium
* Added the missing build dependency on junit4
* Let maven-debian-helper populate the package dependencies
* Build with the DH sequencer instead of CDBS
+ * Track and download the new releases from GitHub
* Standards-Version updated to 4.0.0
* Switch to debhelper level 10
* Use secure Vcs-* URLs
diff --git a/debian/copyright b/debian/copyright
index 067ece7..7ad46fc 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,6 +1,7 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: Apache WSS4J
Source: http://svn.apache.org/repos/asf/webservices/wss4j/tags/
+Files-Excluded: *.jar
Files: *
Copyright: 2003-2014, The Apache Software Foundation
diff --git a/debian/exclude b/debian/exclude
deleted file mode 100644
index c2622f7..0000000
--- a/debian/exclude
+++ /dev/null
@@ -1,5 +0,0 @@
-lib
-specs
-legal
-endorsed
-interop
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
deleted file mode 100755
index 911c42f..0000000
--- a/debian/orig-tar.sh
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/bash -e
-
-# The fake --upstream-version is there to be callable by uscan(1).
-if [ -z $2 ]; then
- echo "usage: ./debian/orig-tar.sh --upstream-version <version>"
- exit 1
-fi
-
-if [ -r .svn/deb-layout ]; then
- . .svn/deb-layout
-fi
-
-if [ -z "$origDir" ]; then
- origDir=".."
-fi
-
-echo "Creating orig.tar.gz in '$origDir'."
-
-# $2 = version
-VERSION=$2
-TAR=$origDir/wss4j_$VERSION.orig.tar.xz
-
-# See Developers Reference § 6.7.8.2.4
-DIR=wss4j-$VERSION.orig
-
-if [ -d "$DIR" ]; then
- echo "Cannot export upstream sources to '$DIR', directory is already existing."
- exit 1
-fi
-
-# clean up the upstream tarball
-svn export http://svn.apache.org/repos/asf/webservices/wss4j/tags/${2//\./\_}/ $DIR
-XZ_OPT="--best" tar --exclude-vcs --exclude-from=debian/exclude -c -J -f $TAR $DIR
-rm -rf $DIR
diff --git a/debian/watch b/debian/watch
index 11220c3..d163913 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,4 +1,3 @@
version=3
-opts=dversionmangle=s/\+svntag// \
- http://svn.apache.org/repos/asf/webservices/wss4j/tags/ (\d+)_(\d+)_(\d+)/ debian debian/orig-tar.sh
-#http://www.apache.org/dist/ws/wss4j/ (\d+)_(\d+)_(\d+)/
+opts="mode=git,repack,compression=xz,uversionmangle=s/_/./g" \
+https://github.com/apache/wss4j refs/tags/(?:wss4j-)?([\d\._]+)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/wss4j.git
More information about the pkg-java-commits
mailing list