[med-svn] [iva] 02/07: remove unused scripts

Sascha Steinbiss sascha at steinbiss.name
Wed May 4 10:19:12 UTC 2016


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

sascha-guest pushed a commit to branch master
in repository iva.

commit b5d449dd9e77b53a4854ecba721b1624e2ac3519
Author: Sascha Steinbiss <sascha at steinbiss.name>
Date:   Wed May 4 10:10:17 2016 +0000

    remove unused scripts
---
 debian/get-orig-source        | 45 -------------------------------------------
 debian/inject-into-alioth-git | 18 -----------------
 debian/python-iva.dirs        |  1 -
 3 files changed, 64 deletions(-)

diff --git a/debian/get-orig-source b/debian/get-orig-source
deleted file mode 100755
index e486809..0000000
--- a/debian/get-orig-source
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/bin/sh
-# if you need to repack for whatever reason you can
-# use this script via uscan or directly
-#
-# FIXME: currently the code is not conform to Debian Policy
-#        http://www.debian.org/doc/debian-policy/ch-source.html
-#        "get-orig-source (optional)"
-#        This target may be invoked in any directory, ...
-# --> currently it is assumed the script is called in the
-#     source directory featuring the debian/ dir
-
-COMPRESS=xz
-
-set -e
-NAME=`dpkg-parsechangelog | awk '/^Source/ { print $2 }'`
-
-if ! echo $@ | grep -q upstream-version ; then
-    VERSION=`dpkg-parsechangelog | awk '/^Version:/ { print $2 }' | sed 's/\([0-9\.]\+\)-[0-9]\+$/\1/'`
-    uscan --force-download
-else
-    VERSION=`echo $@ | sed "s?^.*--upstream-version \([0-9.]\+\) .*${NAME}.*?\1?"`
-    if echo "$VERSION" | grep -q "upstream-version" ; then
-        echo "Unable to parse version number"
-        exit
-    fi
-fi
-
-TARDIR=${NAME}-${VERSION}
-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 *
-tar -xaf ../${TARDIR}.tar.gz
-
-UPSTREAMTARDIR=`find . -mindepth 1 -maxdepth 1 -type d`
-if [ "${UPSTREAMTARDIR}" != "${TARDIR}" ] ; then
-    mv "${UPSTREAMTARDIR}" "${TARDIR}"
-fi
-
-# Remove useless binaries
-# ... do something which needs to be done ...
-
-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/inject-into-alioth-git b/debian/inject-into-alioth-git
deleted file mode 100755
index 02c2222..0000000
--- a/debian/inject-into-alioth-git
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/sh -e
-
-echo "Please verify whether this script is obsoleted by gbp-create-remote-repo !"
-
-# This script implements the "Git tips" given here
-#   http://debian-med.alioth.debian.org/docs/policy.html#git-tips
-# Use it with caution since it is less testet
-
-DEBPKGNAME=`dpkg-parsechangelog | awk '/^Source:/ {print $2}'`
-SHORTDESC=`grep "^Description: " debian/control | head -n 1 | sed 's/^Description: //'`
-VCSGIT=`grep "^Vcs-Git: " debian/control | sed -e 's/^Vcs-Git: //' -e 's#git://anonscm.debian.org/#ssh://git.debian.org/git/#'`
-DIRatALIOTH=`echo $VCSGIT | sed -e 's#ssh://git.debian.org/git/#/git/#' -e 's#/[^/]\+\.git##'`
-
-ssh git.debian.org "cd $DIRatALIOTH; ./setup-repository $DEBPKGNAME '$SHORTDESC'"
-git remote add origin $VCSGIT
-git push origin master
-git push --all --set-upstream
-git push --tags
diff --git a/debian/python-iva.dirs b/debian/python-iva.dirs
deleted file mode 100644
index 8e695ec..0000000
--- a/debian/python-iva.dirs
+++ /dev/null
@@ -1 +0,0 @@
-doc

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



More information about the debian-med-commit mailing list