[cobertura] 02/19: Modified the watch file to catch the old releases
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Wed Sep 27 08:13:02 UTC 2017
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository cobertura.
commit 7b524d9ae6062484e42ede0686d190328e3a5167
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Tue Sep 26 13:38:29 2017 +0200
Modified the watch file to catch the old releases
---
debian/changelog | 5 +++++
debian/copyright | 6 ++++++
debian/orig-tar.sh | 17 -----------------
debian/watch | 5 ++---
4 files changed, 13 insertions(+), 20 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index fe7a41f..a6481b6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
cobertura (1.9.4.1+dfsg-5) UNRELEASED; urgency=medium
* Team upload.
+
+ [ Miguel Landaeta ]
* Remove myself from uploaders list. (Closes: #871844).
* Update watch file.
* Update copyright info to format 1.0.
@@ -10,6 +12,9 @@ cobertura (1.9.4.1+dfsg-5) UNRELEASED; urgency=medium
* Update Vcs-Git and Homepage fields.
* Wrap and sort dependency lists.
+ [ Emmanuel Bourg ]
+ * Modified the watch file to catch the old releases
+
-- Miguel Landaeta <nomadium at debian.org> Sat, 29 Jul 2017 15:15:44 +0100
cobertura (1.9.4.1+dfsg-4) unstable; urgency=medium
diff --git a/debian/copyright b/debian/copyright
index d58aa07..2dd432c 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,6 +1,12 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: cobertura
Source: http://cobertura.github.io/cobertura/
+Files-Excluded: */.classpath
+ */.project
+ */.settings
+ *.jar
+ */dtds/xhtml*
+ */src/site
Comment: To clarify any doubt regarding the incompatibility between GPL-2+ and
Apache-1.1 licenses, upstream comments about this:
.
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
deleted file mode 100755
index b49fcec..0000000
--- a/debian/orig-tar.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-
-set -x
-
-# called by uscan with '--upstream-version' <version> <file>
-echo "version $2"
-package=`dpkg-parsechangelog | sed -n 's/^Source: //p'`
-debian_version=`dpkg-parsechangelog | sed -ne 's/^Version: \(.*+dfsg\)-.*/\1/p'`
-TAR="$package"_${debian_version}.orig.tar.gz
-DIR=$package-${debian_version}.orig
-
-# clean up the upstream tarball
-tar xfz $3
-mkdir $DIR
-mv cobertura-*/* $DIR
-GZIP=--best tar -c -z -f $TAR --exclude '*.jar' --exclude 'lib/*' --exclude 'etc/dtds/*' $DIR
-rm -rf $3 ./$DIR cobertura-$2
diff --git a/debian/watch b/debian/watch
index e800b53..d347896 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,4 +1,3 @@
version=3
-opts=dversionmangle=s/\+dfsg// \
- https://github.com/cobertura/cobertura/releases \
- /cobertura/cobertura/archive/cobertura-([0-9].+)\.tar\.gz
+opts=mode=git,compression=xz,repack,dversionmangle=s/\+dfsg//,uversionmangle=s/_/./g \
+https://github.com/cobertura/cobertura refs/tags/(?:v|cobertura-)([\d\._]+)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/cobertura.git
More information about the pkg-java-commits
mailing list