[libcofoja-java] 04/14: debian/watch: Track the release tags on GitHub

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Tue Oct 4 09:35:37 UTC 2016


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

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

commit a2b2443cfdacf5deb5192e71abc5acb3e0c36229
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Tue Oct 4 10:18:02 2016 +0200

    debian/watch: Track the release tags on GitHub
---
 debian/changelog   |  1 +
 debian/orig-tar.sh | 13 -------------
 debian/watch       |  3 +--
 3 files changed, 2 insertions(+), 15 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 77b7805..bf0ee7d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ cofoja (1.1-r150-3) UNRELEASED; urgency=medium
   * Standards-Version updated to 3.9.8
   * Updated the Homepage field
   * Use secure Vcs-* URLs
+  * debian/watch: Track the release tags on GitHub
 
  -- Emmanuel Bourg <ebourg at apache.org>  Tue, 04 Oct 2016 10:13:16 +0200
 
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
deleted file mode 100755
index 672fe64..0000000
--- a/debian/orig-tar.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/bash
-
-VERSION=$2
-PACKAGE=$(dpkg-parsechangelog | sed -ne 's/^Source: \(.*\)/\1/p')
-REVISION=$(echo $VERSION | sed -ne 's/^.*~r\(.*\)/\1/p')
-DIR=$PACKAGE-$VERSION.orig
-TAR=../$PACKAGE'_'$VERSION'.orig.tar.xz'
-SVN_REPOS=http://cofoja.googlecode.com/svn
-
-rm -Rf $3 $DIR
-svn export -r $REVISION http://cofoja.googlecode.com/svn/trunk/ $DIR
-XZ_OPT=--best tar cJvf $TAR $DIR
-rm -rf $DIR
diff --git a/debian/watch b/debian/watch
index 69fa748..bc62836 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,2 @@
 version=3
-options=uversionmangle=s/-(r[0-9]+)/~$1/ \
-http://code.google.com/p/cofoja/downloads/list?can=1 .*/cofoja-(\d[\d.]*[-r\d.]*)\.(?:jar) debian debian/orig-tar.sh
+https://github.com/nhatminhle/cofoja/tags .*/v([\d\.]+).tar.gz

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



More information about the pkg-java-commits mailing list