[med-svn] [fsm-lite] 01/06: Upstream started tagging releases, so get-orig-source was replaced by working watch file

Andreas Tille tille at debian.org
Wed Apr 13 07:02:42 UTC 2016


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

tille pushed a commit to branch master
in repository fsm-lite.

commit 933b84a59edd15cf457f2159246c04f8591b5bbb
Author: Andreas Tille <tille at debian.org>
Date:   Wed Apr 13 08:13:20 2016 +0200

    Upstream started tagging releases, so get-orig-source was replaced by working watch file
---
 debian/get-orig-source | 24 ------------------------
 debian/watch           |  4 +++-
 2 files changed, 3 insertions(+), 25 deletions(-)

diff --git a/debian/get-orig-source b/debian/get-orig-source
deleted file mode 100755
index a115319..0000000
--- a/debian/get-orig-source
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/sh -e
-
-COMPRESS=xz
-
-NAME=`dpkg-parsechangelog | awk '/^Source/ { print $2 }'`
-MVERSION=`dpkg-parsechangelog | awk '/^Version:/ { print $2 }' | sed 's/^\([0-9\.]\+\)[+~][-0-9]\+$/\1/'`
-
-mkdir -p ../tarballs
-cd ../tarballs
-# need to clean up the tarballs dir first because upstream tarball might
-# contain a directory with unpredictable name
-rm -rf *
-git clone --quiet https://github.com/nvalimak/${NAME}.git
-cd ${NAME}
-VERSION=${MVERSION}+`date -d @$(git show --format="%at" | head -n1) +%Y%m%d`
-# for esthetical reasons set file timestamps (if git-restore-mtime is installed)
-git restore-mtime || true
-cd ..
-TARDIR=${NAME}-${VERSION}
-mv ${NAME} ${TARDIR}
-rm -rf ${TARDIR}/.git
-
-GZIP="--best --no-name" tar --owner=root --group=root --mode=a+rX -caf "$NAME"_"$VERSION".orig.tar.${COMPRESS} "${TARDIR}"
-rm -rf ${TARDIR}
diff --git a/debian/watch b/debian/watch
index 0fc4a5a..ef57f6c 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1 +1,3 @@
-# Upstream does not tag releases
+version=3
+
+https://github.com/nvalimak/fsm-lite/releases .*/archive/v(\d[\d.-]+)-stable\.(?:tar(?:\.gz|\.bz2)?|tgz)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/fsm-lite.git



More information about the debian-med-commit mailing list