Merge branch 'dev' of feistymeow.org:feisty_meow into dev
authorChris Koeritz <fred@gruntose.com>
Fri, 29 Dec 2017 16:27:25 +0000 (11:27 -0500)
committerChris Koeritz <fred@gruntose.com>
Fri, 29 Dec 2017 16:27:25 +0000 (11:27 -0500)
scripts/rev_control/git_scruncher.sh [new file with mode: 0644]
scripts/rev_control/version_control.sh
scripts/site_avenger/revamp_cakelampvm.sh
scripts/wine/wine_link_maker.sh [new file with mode: 0644]

diff --git a/scripts/rev_control/git_scruncher.sh b/scripts/rev_control/git_scruncher.sh
new file mode 100644 (file)
index 0000000..76ca12d
--- /dev/null
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+# check for whether we see a .git folder.
+if [ ! -d ".git" ]; then
+  echo This script needs to run in the directory where a git repository lives,
+  echo but we do not see a .git directory here.
+  exit 1
+fi
+
+# makes git checkouts not be as intensive on the server.
+git config --global pack.windowMemory "100m"
+git config --global pack.SizeLimit "100m" 
+git config --global pack.threads "1"
+
+
index d74fe1bd67c43c713249809e0bcbf0a991cb4b0a..b1035c53549f633fdf1c23de8872abc7f0603938 100644 (file)
@@ -379,6 +379,8 @@ function do_careful_git_update()
   show_branch_conditionally "$this_branch"
 
   # this code is now doing what i have to do when i repair the repo.  and it seems to be good so far.
+  # note that we allow the local branch to be merged with its remote counterpart; otherwise we would
+  # miss changes that happened elsewhere which should be seen in our local copy.
   local branch_list=$(all_branch_names)
   local bran
   for bran in $branch_list; do
index 2717b3a65d7a45abb1ee19fe16a436659e2884f4..9c83a588a97d90823ce2dc3f9001e31a14b1ecab 100644 (file)
@@ -285,6 +285,9 @@ echo "
 
 
 Thanks for revamping your cakelampvm.  :-)
+
+You may want to update your current shell's feisty meow environment by typing:
+  reconfigure_feisty_meow
 "
 
 ##############
diff --git a/scripts/wine/wine_link_maker.sh b/scripts/wine/wine_link_maker.sh
new file mode 100644 (file)
index 0000000..743964e
--- /dev/null
@@ -0,0 +1,13 @@
+
+
+# find all the directories at this height.
+find . -mindepth 1 -maxdepth 1 -type d -exec echo {} ';' >$TMP/filestolink.txt 
+# make links with all lower case and all upper case versions of the names.
+while read line; do
+  ln -s "$line" "$(echo $line | tr '[:upper:]' '[:lower:]')"
+  ln -s "$line" "$(echo $line | tr '[:lower:]' '[:upper:]')"
+done < $TMP/filestolink.txt 
+# remove dead links.
+\rm $(find . -type l ! -exec test -e {} \; -print)
+
+