[asm] 03/05: Track and download the new releases from the OW2's GitLab repository

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Mon Nov 20 14:45:41 UTC 2017


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

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

commit 3ffae7fe07550ff13fad6c76fcd8a34103007092
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Mon Nov 20 11:55:22 2017 +0100

    Track and download the new releases from the OW2's GitLab repository
---
 debian/changelog   |  1 +
 debian/copyright   |  7 ++++++-
 debian/orig-tar.sh | 14 --------------
 debian/watch       | 10 ++++------
 4 files changed, 11 insertions(+), 21 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index c7f8d6b..f7edbda 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ asm (6.0~alpha-2) UNRELEASED; urgency=medium
   * Team upload.
   * Removed the module-info.class from the jars
     (not compatible with the latest Java 9 spec)
+  * Track and download the new releases from the OW2's GitLab repository
   * Standards-Version updated to 4.1.1
 
  -- Emmanuel Bourg <ebourg at apache.org>  Mon, 20 Nov 2017 14:14:43 +0100
diff --git a/debian/copyright b/debian/copyright
index cef602c..2e5854f 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,6 +1,11 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: ASM
-Source: http://download.forge.objectweb.org/asm/
+Source: https://gitlab.ow2.org/asm/asm
+Files-Excluded: .settings
+                .project
+                .classpath
+                gradle/*
+                config/*.jar
 
 Files: *
 Copyright: 2000-2016, INRIA, France Telecom
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
deleted file mode 100755
index 1b27caa..0000000
--- a/debian/orig-tar.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh
-
-set -eu
-
-PACKAGE=$(dpkg-parsechangelog -S Source)
-VERSION=$2
-DIR=${PACKAGE}-${VERSION}
-TAR=../${PACKAGE}_${VERSION}.orig.tar.xz
-TAG=$(echo "ASM_$VERSION" | sed -re's,\.,_,g')
-
-rm $3
-svn export svn://svn.forge.objectweb.org/svnroot/asm/tags/${TAG}/ $DIR
-XZ_OPT=--best tar -c -J -f $TAR --exclude 'config/*.jar' $DIR
-rm -rf $DIR
diff --git a/debian/watch b/debian/watch
index 1b1f05d..ff7677c 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,6 +1,4 @@
-version=3
-
-opts=uversionmangle=s/_/./g \
-    http://websvn.ow2.org/listing.php?repname=asm&path=%2Ftags%2F .*%2Ftags%2FASM_([\d_]*)%2F \
-    debian debian/orig-tar.sh
-
+version=4
+#opts=mode=git,repack,compression=xz,uversionmangle=s/_(ALPHA|BETA|RC)/~$1/g,uversionmangle=s/_/_/g \
+opts="mode=git,repack,compression=xz,uversionmangle=s/_(ALPHA|BETA|RC)/~\L$1/g;s/_/./g" \
+https://gitlab.ow2.org/asm/asm refs/tags/ASM_(.*)

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



More information about the pkg-java-commits mailing list