From 9bd081c3d2b4f9143213765aa48b164e7ecf89ab Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Sat, 28 Jan 2012 19:02:45 -0500 Subject: [PATCH] dropping a bunch of files that belong to other products. --- scripts/archival/pack_3rdparty.sh | 16 ----- .../{pack_hoople2.sh => pack_feisty_meow.sh} | 8 ++- scripts/archival/pack_hoople1.sh | 18 ------ scripts/archival/pack_msysbins.sh | 16 ----- scripts/archival/pack_yeti.sh | 30 --------- scripts/archival/snarf_hoople.pl | 61 ------------------- scripts/archival/snarf_hoople1.pl | 61 ------------------- scripts/archival/snarf_yeti.pl | 45 -------------- 8 files changed, 5 insertions(+), 250 deletions(-) delete mode 100644 scripts/archival/pack_3rdparty.sh rename scripts/archival/{pack_hoople2.sh => pack_feisty_meow.sh} (56%) delete mode 100644 scripts/archival/pack_hoople1.sh delete mode 100644 scripts/archival/pack_msysbins.sh delete mode 100644 scripts/archival/pack_yeti.sh delete mode 100644 scripts/archival/snarf_hoople.pl delete mode 100644 scripts/archival/snarf_hoople1.pl delete mode 100644 scripts/archival/snarf_yeti.pl diff --git a/scripts/archival/pack_3rdparty.sh b/scripts/archival/pack_3rdparty.sh deleted file mode 100644 index 89d7794f..00000000 --- a/scripts/archival/pack_3rdparty.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash - -cd /var/www/hoople.org - # change to the hoople directory. - -export TEMPO_FILE="$(mktemp "$TMP/zz_temp_3rdparty.XXXXXX")" - # specify where we keep the file until we're ready to move it. - -export XC='--exclude=' - -tar -czf $TEMPO_FILE hoople/3rdparty $XC"*.svn/*" $XC"*CVS/*" $XC"*/*.tar.gz" $XC"*/*.zip" - # exclude the file names we never want to see. - -# move the file into its well-known location. -mv -v $TEMPO_FILE 3rdparty_support.tar.gz - diff --git a/scripts/archival/pack_hoople2.sh b/scripts/archival/pack_feisty_meow.sh similarity index 56% rename from scripts/archival/pack_hoople2.sh rename to scripts/archival/pack_feisty_meow.sh index d2567015..d4e8edce 100644 --- a/scripts/archival/pack_hoople2.sh +++ b/scripts/archival/pack_feisty_meow.sh @@ -10,9 +10,11 @@ TEMPO_FILE="$(mktemp "$TMP/zz_temp_hoople2.XXXXXX")" export XC='--exclude=' # zip up hoople2, but exclude the file names we never want to see. -tar -czf $TEMPO_FILE hoople2 $XC"*CVS/*" $XC"*.svn/*" $XC"*/*.tar.gz" $XC"*/*.zip" $XC"*/3rdparty/*" $XC"hoople2/install/*" $XC"hoople2/logs/*" $XC"hoople2/docs/html/*" $XC"hoople2/binaries/*" $XC"hoople2/waste/*" +tar -czf $TEMPO_FILE feisty_meow $XC"*/*.tar.gz" $XC"*/*.zip" $XC"*/waste/*" $XC"*/logs/*" $XC"*/binaries/*" + +date_string="$(date +"%Y_%b_%e_%H%M" | sed -e 's/ //g')" # now move the newest version into its resting place. this prepares the -# hoople2 package for uploading. -mv -v $TEMPO_FILE /var/www/hoople.org/hoople2_library.tar.gz +# feisty_meow package for uploading. +mv -v $TEMPO_FILE /var/www/feistymeow.org/feisty_meow_codebase_${date_string}.tar.gz diff --git a/scripts/archival/pack_hoople1.sh b/scripts/archival/pack_hoople1.sh deleted file mode 100644 index dbf8149a..00000000 --- a/scripts/archival/pack_hoople1.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -# change to the home directory so we can find our files. -cd - -TEMPO_FILE="$(mktemp "$TMP/zz_temp_hoople1.XXXXXX")" - # specify where we keep the file until we're ready to move it. - -# shortcut for the lengthy exclude parameter. -export XC='--exclude=' - -# zip up hoople1, but exclude the file names we never want to see. -tar -czf $TEMPO_FILE hoople1 $XC"*CVS/*" $XC"*.svn/*" $XC"*/*.tar.gz" $XC"*/*.zip" $XC"*/3rdparty/*" $XC"hoople1/dll/*" $XC"hoople1/exe/*" $XC"hoople1/lib/*" $XC"hoople1/tests/*" $XC"hoople1/install/*" $XC"hoople1/install/*" $XC"hoople1/include/*" $XC"hoople1/logs/*" $XC"hoople1/objects/*" $XC"hoople1/docs/html/*" $XC"hoople1/binaries/*" $XC"hoople1/waste/*" - -# now move the newest version into its resting place. this prepares the -# hoople package for uploading. -mv -v $TEMPO_FILE /var/www/hoople.org/hoople1_library.tar.gz - diff --git a/scripts/archival/pack_msysbins.sh b/scripts/archival/pack_msysbins.sh deleted file mode 100644 index 9bc8ff8e..00000000 --- a/scripts/archival/pack_msysbins.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash - -cd /var/www/hoople.org - # change to the hoople directory. - -export TEMPO_FILE="$(mktemp "$TMP/zz_temp_msys_bins.XXXXXX")" - # specify where we keep the file until we're ready to move it. - -export XC='--exclude=' - -tar -czf $TEMPO_FILE hoople/msys $XC"*.svn/*" $XC"*CVS/*" $XC"*/*.tar.gz" $XC"*/*.zip" - # exclude the file names we never want to see. - -# move the file into its well-known location. -mv -v $TEMPO_FILE msys_bins.tar.gz - diff --git a/scripts/archival/pack_yeti.sh b/scripts/archival/pack_yeti.sh deleted file mode 100644 index 71080e60..00000000 --- a/scripts/archival/pack_yeti.sh +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/bash - -cd $FEISTY_MEOW_DIR - # change to the yeti root. - -cd .. - # go one level up. - -export TEMPO_FILE="$(mktemp "$TMP/zz_temp_yeti.XXXXXX")" - # specify where we keep the file until we're ready to move it. - -export XC='--exclude=' - -tar -czf $TEMPO_FILE $SCRIPT_SYSTEM/* $XC"*.svn/*" $XC"*CVS/*" $XC"*/whole_YETI.tar.gz" $XC"*/yeti_stat*" $XC"*/custom/*" - # exclude the file names we never want to see. - -# the publishing location for the packing. -export YETI_WEB=/var/www/yeti -if [ ! -d $YETI_WEB ]; then - mkdir $YETI_WEB -fi -if [ ! -d $YETI_WEB ]; then - echo The web directory $YETI_WEB cannot be created. - exit 23 -fi - -# now move the newest version into its resting place. this prepares the -# hierarchy for uploading; it should be self-consistent. -mv -v $TEMPO_FILE $YETI_WEB/whole_YETI.tar.gz - diff --git a/scripts/archival/snarf_hoople.pl b/scripts/archival/snarf_hoople.pl deleted file mode 100644 index 58c060fa..00000000 --- a/scripts/archival/snarf_hoople.pl +++ /dev/null @@ -1,61 +0,0 @@ -#!/usr/bin/perl - -############################################################################### -# # -# Name : snarf_hoople2 # -# Author : Chris Koeritz # -# Rights : Copyright (C) 1996-$now by Author # -# # -# Purpose: # -# # -# Backs up the full set of hoople 2.0 source code, plus some extra stuff. # -# # -############################################################################### -# This program is free software; you can redistribute it and/or modify it # -# under the terms of the GNU General Public License as published by the Free # -# Software Foundation; either version 2 of the License or (at your option) # -# any later version. See: "http://www.gruntose.com/Info/GNU/GPL.html" for a # -# version of the License. Please send any updates to "fred@gruntose.com". # -############################################################################### - -require "importenv.pl"; -require "shared_snarfer.pl"; - -&initialize_snarfer; # let the snarfer hook us in. - -# get the number attachment and increment it for the next use. -local($number) = &retrieve_number("aa_backup"); - -# variables used throughout here. -local($base) = &snarf_prefix("hoople2"); -local($snarf_file) = &snarf_name($base, $number); - -# store the archive number in the file for retrieval on the other side. -&backup_number("aa_backup", $base, $number); - -# the top directory where everything we're grabbing lives. -local($root) = &canonicalize("$HOME/hoople2"); - -# grab the top level stuff. -&backup_files($base, $number, $root, ".", ("*.txt", "make*")); - -# get the documentation directory. -&snarfer($base, $number, $root, "docs", ("-maxdepth", "1")); -# get an extra folder we like. -&backup_hierarchy($base, $number, "$root", "docs/text_examples"); - -# get the build scripts. -&backup_files($base, $number, $root, "build", ("*.ini")); -&backup_hierarchy($base, $number, "$root", "build/clam"); -&backup_hierarchy($base, $number, "$root", "build/generator"); -&backup_hierarchy($base, $number, "$root", "build/config"); -&backup_hierarchy($base, $number, "$root", "build/jenkins"); - -# get all C++ code projects by resetting variable for main grab. -&backup_hierarchy($base, $number, "$root/source", "."); - -# now rename the file so only the unpacker can access it. -&rename_archive($snarf_file); - -exit 0; - diff --git a/scripts/archival/snarf_hoople1.pl b/scripts/archival/snarf_hoople1.pl deleted file mode 100644 index c92f7b11..00000000 --- a/scripts/archival/snarf_hoople1.pl +++ /dev/null @@ -1,61 +0,0 @@ -#!/usr/bin/perl - -############################################################################### -# # -# Name : snarf_hoople # -# Author : Chris Koeritz # -# Rights : Copyright (C) 1996-$now by Author # -# # -# Purpose: # -# # -# Backs up the full set of hoople source code, plus some extra stuff. # -# # -############################################################################### -# This program is free software; you can redistribute it and/or modify it # -# under the terms of the GNU General Public License as published by the Free # -# Software Foundation; either version 2 of the License or (at your option) # -# any later version. See: "http://www.gruntose.com/Info/GNU/GPL.html" for a # -# version of the License. Please send any updates to "fred@gruntose.com". # -############################################################################### - -require "importenv.pl"; -require "shared_snarfer.pl"; - -&initialize_snarfer; # let the snarfer hook us in. - -# get the number attachment and increment it for the next use. -local($number) = &retrieve_number("aa_backup"); - -# variables used throughout here. -local($base) = &snarf_prefix("hoople1"); -local($snarf_file) = &snarf_name($base, $number); - -# store the archive number in the file for retrieval on the other side. -&backup_number("aa_backup", $base, $number); - -# the top directory where everything we're grabbing lives. -local($root) = &canonicalize("$HOME/hoople"); - -# grab the top level stuff. -&backup_files($base, $number, $root, ".", ("*.ini", "*.txt", "make*")); - -# get the documentation directory. -&snarfer($base, $number, $root, "docs", ("-maxdepth", "1")); - -# get the build scripts. -&backup_files($base, $number, $root, "build", ("*.ini", "*.txt")); -&backup_hierarchy($base, $number, "$root", "build/clam"); -&backup_hierarchy($base, $number, "$root", "build/generator"); -&backup_hierarchy($base, $number, "$root", "build/config"); - -# get all C++ code projects by resetting variable for main grab. -&backup_hierarchy($base, $number, "$root/source", "."); - -# get the museum for code bits. -&backup_hierarchy($base, $number, "$root/museum", "."); - -# now rename the file so only the unpacker can access it. -&rename_archive($snarf_file); - -exit 0; - diff --git a/scripts/archival/snarf_yeti.pl b/scripts/archival/snarf_yeti.pl deleted file mode 100644 index 0510b2f2..00000000 --- a/scripts/archival/snarf_yeti.pl +++ /dev/null @@ -1,45 +0,0 @@ -#!/usr/bin/perl - -############################################################################### -# # -# Name : snarf_yeti # -# Author : Chris Koeritz # -# Rights : Copyright (C) 1996-$now by Author # -# # -# Purpose: # -# # -# Gathers together the useful shell files and standard databases. # -# # -############################################################################### -# This program is free software; you can redistribute it and/or modify it # -# under the terms of the GNU General Public License as published by the Free # -# Software Foundation; either version 2 of the License or (at your option) # -# any later version. See: "http://www.gruntose.com/Info/GNU/GPL.html" for a # -# version of the License. Please send any updates to "fred@gruntose.com". # -############################################################################### - -require "importenv.pl"; -require "shared_snarfer.pl"; - -&initialize_snarfer; - -# get the number we use and increment it for the next use. -local($number) = &retrieve_number("aa_backup"); - -# variables for directory location to backup and the file to dump it in. -local($root) = $FEISTY_MEOW_DIR; -local($base) = &snarf_prefix("yeti"); -local($snarf_file) = &snarf_name($base, $number); - -# store the current archive number in the file for retrieval on the -# other side. -&backup_number("aa_backup", $base, $number); - -# get the whole yeti hierarchy in there. -&backup_hierarchy($base, $number, $root, "."); - -# now rename the file so only the unpacker can access it. -&rename_archive($snarf_file); - -exit 0; - -- 2.34.1