[istack-commons] 07/08: Track and download the new releases from GitHub

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Mon Jul 31 14:21:21 UTC 2017


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

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

commit 238214de993bb272ab8c4e2618620695a65d180a
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Mon Jul 31 16:19:18 2017 +0200

    Track and download the new releases from GitHub
---
 debian/changelog   |  1 +
 debian/copyright   |  4 ++--
 debian/orig-tar.sh | 25 -------------------------
 debian/watch       |  5 ++---
 4 files changed, 5 insertions(+), 30 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index ec02fee..a74021a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ istack-commons (2.17-2) UNRELEASED; urgency=medium
   * Switch to debhelper level 10
   * Use secure Vcs-* URLs
   * Updated the Homepage field
+  * Track and download the new releases from GitHub
 
  -- Emmanuel Bourg <ebourg at apache.org>  Mon, 31 Jul 2017 15:57:45 +0200
 
diff --git a/debian/copyright b/debian/copyright
index af8bbc6..bcccf15 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,6 +1,6 @@
-Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: istack common utility code
-Source: http://istack-commons.java.net
+Source: https://github.com/javaee/jaxb-istack-commons
 
 Files: *
 Copyright: 1997-2013, Oracle and/or its affiliates
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
deleted file mode 100755
index e55ca14..0000000
--- a/debian/orig-tar.sh
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/sh -e
-
-VERSION=$2
-TAR=../istack-commons_$VERSION.orig.tar.xz
-DIR=istack-commons-$VERSION
-TAG=$(echo "istack-commons-$VERSION" | sed -re's/~(alpha|beta)/-\1-/')
-
-svn export https://svn.java.net/svn/istack-commons~svn/tags/${TAG}/ $DIR
-XZ_OPT=--best tar -c -J -f $TAR \
-    --exclude '*.jar' \
-    --exclude '*.class' \
-    --exclude '*.ipr' \
-    --exclude '*.iml' \
-    --exclude '.settings' \
-    --exclude '.project' \
-    --exclude '.classpath' \
-    --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 ac47e35..86f60fd 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,4 +1,3 @@
 version=3
-opts="uversionmangle=s/-(alpha|beta)-/~$1/" \
-  https://svn.java.net/svn/istack-commons~svn/tags/ \
-  istack-commons-(\d.*)/ debian debian/orig-tar.sh
+opts="mode=git,repack,compression=xz" \
+https://github.com/javaee/jaxb-istack-commons refs/tags/(?:istack-commons-)?([\d\.]+)

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



More information about the pkg-java-commits mailing list