From d32c47d2bdd2b136fdd46ed5dd38a39539d26730 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Fri, 7 Oct 2016 11:43:51 -0400 Subject: [PATCH] dropped a couple of gffs backup scripts that i never used much. --- scripts/archival/pickle_genesis2.sh | 34 ----------------------------- scripts/archival/zip_gffs.sh | 5 ----- 2 files changed, 39 deletions(-) delete mode 100644 scripts/archival/pickle_genesis2.sh delete mode 100644 scripts/archival/zip_gffs.sh diff --git a/scripts/archival/pickle_genesis2.sh b/scripts/archival/pickle_genesis2.sh deleted file mode 100644 index ecf6a705..00000000 --- a/scripts/archival/pickle_genesis2.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/bash - -# load in our helper functions, like date_stringer. -source "$FEISTY_MEOW_SCRIPTS/core/functions.sh" - -# get into the genesis directory to package up. -pushd $GENII_INSTALL_DIR &>/dev/null - -# clean out any class files or other generated junk. -echo Cleaning the code before pickling... -ant clean &>/dev/null - -# do one update to get to the latest point. -echo Updating to latest code before pickling... -svn update . &>/dev/null - -# get the svn revision number from the code now we're sure what prompt we can look for, -# modulo any check-ins since the above update was running. -svn_revision=$(svn update . | grep "At revision [0-9]*" | sed -e 's/[^0-9]*\([0-9]*\)[^0-9]*/\1/' ) - -filename="$HOME/GenesisII_source_rev${svn_revision}_on_$(date_stringer).tar.gz" - -echo "Now pickling code into build archive: $(basename $filename)" - -# hop up one level to be above the trunk folder. -cd .. - -# now do the actual packing of the code, without some things we do not wish to share. -just_dir=$(basename $GENII_INSTALL_DIR) -#echo just dir is $just_dir -tar -czf $filename "$just_dir" --exclude="trunk/deployments/Genii*" --exclude="installer_base" --exclude=".svn" --exclude="products/*" --exclude="Media/*" - -popd &>/dev/null - diff --git a/scripts/archival/zip_gffs.sh b/scripts/archival/zip_gffs.sh deleted file mode 100644 index 84b376d4..00000000 --- a/scripts/archival/zip_gffs.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash - -source $FEISTY_MEOW_SCRIPTS/core/functions.sh - -zip -r $HOME/gffs_backup_$(date_stringer).zip $GENII_INSTALL_DIR --exclude "*/.svn/*" --exclude "*/bin.eclipse/*" --exclude "*/bin.ant/*" --exclude "*/codegen/*" --exclude "*/genned-src/*" --exclude "*/genned-obj/*" &>$TMP/zz_codebackup.log -- 2.34.1