[snakeyaml] 05/15: Updated debian/watch to track the release tags on Bitbucket

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Sat Apr 9 22:42:03 UTC 2016


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

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

commit 59d966718b1257fa5ba6b868a8274dd703692849
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Sat Apr 9 00:27:21 2016 +0200

    Updated debian/watch to track the release tags on Bitbucket
---
 debian/changelog          |  1 +
 debian/get-orig-source.sh | 28 ----------------------------
 debian/rules              |  3 ---
 debian/watch              |  2 +-
 4 files changed, 2 insertions(+), 32 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index bac807a..7977830 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ snakeyaml (1.12-3) UNRELEASED; urgency=medium
   * debian/control:
     - The package is now co-maintained with the Java Team
   * Standards-Version updated to 3.9.8 (no changes)
+  * Updated debian/watch to track the release tags on Bitbucket
 
  -- Emmanuel Bourg <ebourg at apache.org>  Sat, 09 Apr 2016 00:19:41 +0200
 
diff --git a/debian/get-orig-source.sh b/debian/get-orig-source.sh
deleted file mode 100644
index 8cdc44c..0000000
--- a/debian/get-orig-source.sh
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/bash
-
-TEMP=`mktemp -d`
-
-if [ ! -x /usr/bin/hg ]; then
-	echo "Please install mercurial";
-	exit 1;
-fi
-
-if [ -d "$1" ]; then
-	cp -r $1 $TEMP/snakeyaml/
-else
-	hg clone https://code.google.com/p/snakeyaml/ $TEMP/snakeyaml
-fi
-
-cd $TEMP/snakeyaml;
-LATEST_VERSION='0.0'
-for VER in $( hg tags |grep '^v[0-9]\.[0-9]* ' |sed 's/^v//' |awk '{print $1}'); do 
-	if dpkg --compare-versions "$VER" ge "$LATEST_VERSION" ; then
-		LATEST_VERSION=$VER
-	fi 
-done
-hg update "v$LATEST_VERSION" >/dev/null
-hg archive --exclude '\.hg*' --type tgz --prefix "." "$TEMP/snakeyaml_$LATEST_VERSION.orig.tar.gz"
-cd - 
-mv "$TEMP/snakeyaml_$LATEST_VERSION.orig.tar.gz" ../
-
-rm -r $TEMP
diff --git a/debian/rules b/debian/rules
index 67de8cc..09b2bc1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,3 @@ JAVA_HOME := /usr/lib/jvm/default-java
 
 %:
 	dh $@ --buildsystem=maven
-
-get-orig-source:
-	/bin/bash debian/get-orig-source.sh
diff --git a/debian/watch b/debian/watch
index ac09940..62ccc84 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,2 @@
 version=3
-http://code.google.com/p/snakeyaml/downloads/list?can=1 .*/SnakeYAML-all-(\d\S*)\.(?:tgz|tbz2|txz|tar\.gz|tar\.bz2|tar\.xz|zip)
+https://bitbucket.org/asomov/snakeyaml/downloads .*/v([\d\.]+).tar.gz

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



More information about the pkg-java-commits mailing list