From dd180042d25310f93b7817d4f8028a5372d5bbb1 Mon Sep 17 00:00:00 2001
From: Yves Noirjean <yves.noirjean@id.ethz.ch>
Date: Wed, 24 Jan 2018 13:30:19 +0100
Subject: [PATCH] deleted boot.sh and svn-update.sh files since they only make
 sense in the context of a build from svn and should therefore not be required
 anymore

---
 openbis/dist/admin/boot.sh         | 51 ------------------------------
 openbis/dist/admin/svn-update.sh   | 25 ---------------
 screening/dist/admin/boot.sh       | 11 -------
 screening/dist/admin/svn-update.sh | 27 ----------------
 4 files changed, 114 deletions(-)
 delete mode 100755 openbis/dist/admin/boot.sh
 delete mode 100755 openbis/dist/admin/svn-update.sh
 delete mode 100755 screening/dist/admin/boot.sh
 delete mode 100755 screening/dist/admin/svn-update.sh

diff --git a/openbis/dist/admin/boot.sh b/openbis/dist/admin/boot.sh
deleted file mode 100755
index 5de9e22b05b..00000000000
--- a/openbis/dist/admin/boot.sh
+++ /dev/null
@@ -1,51 +0,0 @@
-#!/bin/bash
-# Fetches "openBIS for HCS" administration scripts from source repository to the bin folder in current directory.
-
-# setup scripts for the generic openBIS version 
-SVN_DIR_GENERIC=svnsis.ethz.ch/repos/cisd/openbis/trunk/dist/admin
-
-#setup scripts for screening version
-SVN_DIR_SCREENING=svnsis.ethz.ch/repos/cisd/screening/trunk/dist/admin
-
-
-BASE=`dirname "$0"`
-if [ ${BASE#/} == ${BASE} ]; then
-    BASE="`pwd`/${BASE}"
-fi
-
-SERVERS_DIR=$BASE/servers
-
-if [ ! -d "$SERVERS_DIR" ]; then
-    echo "$SERVERS_DIR does not exist. Aborting ..."
-    exit 1
-fi
-
-SCREENING_ZIPS_EXIST=`find "$SERVERS_DIR" -name "*server-screening*.zip"`
-GENERIC_ZIPS_EXIST=`find "$SERVERS_DIR" -name "*server-*.zip"`
-
-if [ -n "$SCREENING_ZIPS_EXIST" ]; then
-    
-    echo "Downloading admin scripts for openBIS screening..." 
-    SVN_DIR=$SVN_DIR_SCREENING
-    
-elif [ -n "$GENERIC_ZIPS_EXIST"  ]; then 
-    
-    echo "Downloading admin scripts for generic openBIS installation..." 
-    SVN_DIR=$SVN_DIR_GENERIC
-     
-else
-    echo "Could not detect openBIS archives in $SERVERS_DIR. Please, download openBIS and datastore server archives and try again..."
-    exit 2 
-fi
-
-
-mkdir bin
-cd bin
-
-wget $SVN_DIR/svn-update.sh
-wget $SVN_DIR/env
-
-
-source ./svn-update.sh
-
-cd ..
\ No newline at end of file
diff --git a/openbis/dist/admin/svn-update.sh b/openbis/dist/admin/svn-update.sh
deleted file mode 100755
index 4ddc7f38843..00000000000
--- a/openbis/dist/admin/svn-update.sh
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/bash
-# Updates all the admin scripts to the version found in SVN.
-
-# screening-specific
-SVN=svnsis.ethz.ch/repos/cisd/openbis/trunk/dist/admin
-
-# set directory
-BASE=`dirname "$0"`
-if [ ${BASE#/} == ${BASE} ]; then
-    BASE="`pwd`/${BASE}"
-fi
-
-if [ -z $OPENBIS_HOME ]; then
-    OPENBIS_HOME=${BASE}
-fi
-
-# checking for wget
-WGET_HOME=`which wget`
-
-# download the scripts
-$WGET_HOME -nH --cut-dirs=6 --directory-prefix $OPENBIS_HOME --no-verbose -r -l2 -A.{sh,sql} http://$SVN/
-
-# set permissions
-find $OPENBIS_HOME -type f -name "*.sh" -exec chmod 700 {} \;
-
diff --git a/screening/dist/admin/boot.sh b/screening/dist/admin/boot.sh
deleted file mode 100755
index f252a31223e..00000000000
--- a/screening/dist/admin/boot.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/bash
-# Fetches "openBIS for HCS" administration scripts from source repository to the bin folder in current directory.
-
-SVN_DIR=svnsis.ethz.ch/repos/cisd/screening/trunk/dist/admin
-
-mkdir bin
-cd bin
-wget $SVN_DIR/svn-update.sh
-wget $SVN_DIR/env
-. ./svn-update.sh
-cd ..
\ No newline at end of file
diff --git a/screening/dist/admin/svn-update.sh b/screening/dist/admin/svn-update.sh
deleted file mode 100755
index 01c416e9038..00000000000
--- a/screening/dist/admin/svn-update.sh
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/bash
-# Updates all the admin scripts to the version found in SVN.
-
-# screening-specific
-SVN=svnsis.ethz.ch/repos/cisd/screening/trunk/dist/admin
-SVN2=svnsis.ethz.ch/repos/cisd/installation/trunk/resource/installer/bin/backup-databases.sh
-
-# set directory
-BASE=`dirname "$0"`
-if [ ${BASE#/} == ${BASE} ]; then
-    BASE="`pwd`/${BASE}"
-fi
-
-if [ -z $OPENBIS_HOME ]; then
-    OPENBIS_HOME=${BASE}
-fi
-
-# checking for wget
-WGET_HOME=`which wget`
-
-# download the scripts
-$WGET_HOME -nH --cut-dirs=6 --directory-prefix $OPENBIS_HOME --no-verbose -r -l2 -A.{sh,sql} http://$SVN/
-$WGET_HOME -nH  --directory-prefix $OPENBIS_HOME --no-verbose http://$SVN2
-
-# set permissions
-find $OPENBIS_HOME -type f -name "*.sh" -exec chmod 700 {} \;
-
-- 
GitLab