[SCM] Cobertura Maven Plugin branch, master, updated. e072fe36a0dc74e299ddbd06df9627f1faecf73a

Gabriele Giacone gg0-guest at alioth.debian.org
Fri Feb 19 22:45:36 UTC 2010


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Cobertura Maven Plugin".

The branch, master has been updated
       via  e072fe36a0dc74e299ddbd06df9627f1faecf73a (commit)
      from  b6c1124261dffe24b4df09c0fd1ccfcfda676940 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit e072fe36a0dc74e299ddbd06df9627f1faecf73a
Author: Gabriele Giacone <1o5g4r8o at gmail.com>
Date:   Fri Feb 19 23:42:17 2010 +0100

    added d/watch

-----------------------------------------------------------------------

Summary of changes:
 debian/orig-tar.sh |   17 +++++++++++++++++
 debian/rules       |    3 +++
 debian/watch       |    5 +++++
 3 files changed, 25 insertions(+), 0 deletions(-)

diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
new file mode 100644
index 0000000..2051af6
--- /dev/null
+++ b/debian/orig-tar.sh
@@ -0,0 +1,17 @@
+#!/bin/sh -e
+
+VERSION=$2
+TAR=../cobertura-maven-plugin_$VERSION.orig.tar.gz
+DIR=cobertura-maven-plugin-$VERSION
+TAG=$(echo "cobertura-maven-plugin-$VERSION" \
+	| sed -re 's/~(alpha|beta)/-\1-/' -e 's/\+dfsg//')
+
+svn export http://svn.codehaus.org/mojo/tags/${TAG}/ $DIR
+GZIP=--best tar -c -z -f $TAR --exclude '*.jar' --exclude '*.class' $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/rules b/debian/rules
index 9873a98..c3925fa 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,3 +6,6 @@ include /usr/share/cdbs/1/class/maven.mk
 
 JAVA_HOME := /usr/lib/jvm/default-java
 
+get-orig-source:
+	uscan --force-download --rename
+
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..d7c6092
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,5 @@
+version=3
+opts="uversionmangle=s/-(alpha|beta)-/~$1/,\
+dversionmangle=s/\+dfsg//" \
+  http://svn.codehaus.org/mojo/tags/ \
+  cobertura-maven-plugin-(\d.*)/ debian debian/orig-tar.sh


hooks/post-receive
-- 
Cobertura Maven Plugin



More information about the pkg-java-commits mailing list