[med-svn] [Git][med-team/deepnano][master] Remove now useless get-orig-source script

Andreas Tille gitlab at salsa.debian.org
Fri Apr 27 08:45:04 BST 2018


Andreas Tille pushed to branch master at Debian Med / deepnano


Commits:
91778e71 by Andreas Tille at 2018-04-27T09:44:42+02:00
Remove now useless get-orig-source script

- - - - -


1 changed file:

- − debian/get-orig-source


Changes:

=====================================
debian/get-orig-source deleted
=====================================
--- a/debian/get-orig-source
+++ /dev/null
@@ -1,33 +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://bitbucket.org/vboza/deepnano.git $NAME
-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
-
-rm -rf .git*
-rm -f training/realign
-# find youngest file name:
-XVERSION=${MVERSION}+`find . -type f -printf '%T@ %p\n' | sort -n | tail -1 | sed 's/ .*//' | gawk '{print strftime("%Y%m%d", $0)}'`
-if [ "$VERSION" != "$XVERSION" ] ; then
-  echo "+++++ Upstream commited only new binary build, no code change ++++++"
-  VERSION=$XVERSION
-fi
-
-cd ..
-TARDIR=${NAME}-${VERSION}
-mv ${NAME} ${TARDIR}
-
-GZIP="--best --no-name" tar --owner=root --group=root --mode=a+rX -caf "$NAME"_"$VERSION".orig.tar.${COMPRESS} "${TARDIR}"
-rm -rf ${TARDIR}



View it on GitLab: https://salsa.debian.org/med-team/deepnano/commit/91778e7134fbf2a5973a9a741ba157fff7d27320

---
View it on GitLab: https://salsa.debian.org/med-team/deepnano/commit/91778e7134fbf2a5973a9a741ba157fff7d27320
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20180427/8ee1fd9f/attachment-0001.html>


More information about the debian-med-commit mailing list