#!/bin/sh # Migrate a VO tutorial from the heidelberg SVN to a local git # repo. # # Requirements: # - git # - git-svn # # Loosely based on the IVOA's volute-to-github migration script. set -e PROJECT=$1 SVNBASE=https://svn.ari.uni-heidelberg.de/svn/edu/trunk TUTNAME=$(echo $PROJECT | sed s:.*/::) SCRIPT_DIR=`dirname $0` git svn clone ${SVNBASE}/${PROJECT} --authors-file=$SCRIPT_DIR/authors.txt --no-metadata