Chris Koeritz [Thu, 1 Nov 2018 14:59:49 +0000 (10:59 -0400)]
fixed annoying bug for test section manager
where the test would create a dir /feisty_meow if run as root, for storing the ini file.
do need to reevaluate the all users dir option; it makes no sense on linux, although at least we drive it by a simple environment variable. is there even a unix equivalent to that concept of storing for all users? not really, except sort of /etc dir.
Chris Koeritz [Tue, 30 Oct 2018 15:47:49 +0000 (11:47 -0400)]
dropped terminal title oracle; things are good now
we stopped trying to scrape the current terminal title using various types of window magic. the change from unity and having a WINDOWID defined really screwed us in that; we used to be able to get the exact right title based on our WINDOWID, but once that's missing, there's no reliable way to get the terminal title unless the terminal is in the foreground and focused. heck with that.
so we're back to our approach of stacking up terminal titles. this works now, since we have a better approach. only a simple variable is used, not an array, so we can pass this to subshells reliably. and the save / restore feature has been kept intact, even though save expects a parameter as the title now. it just uses the existing item on the top of the stack if no new title is saved, thus preserving the semantics of saving the title.
so far things are looking nice. it will be nice to decouple this feature of feisty meow from OS changes and screwiness.
Chris Koeritz [Tue, 23 Oct 2018 18:38:38 +0000 (14:38 -0400)]
enhancement--not complaining about empty save dirs
now you don't get nastygrams if a game's save dir exists but there are no save files to save; it just skips that one. play it some more and you'll see the saves show up again.
Chris Koeritz [Tue, 16 Oct 2018 00:05:23 +0000 (20:05 -0400)]
dirtree fixed up nice
now uses the current directory as the path if no path is provided.
added a --help flag if it comes as first parameter.
improved help instructions.
zapped extra blank line that was making pattern based listings look bad.
Chris Koeritz [Tue, 9 Oct 2018 00:35:57 +0000 (20:35 -0400)]
backtracking for terminal title saving approaches
nothing works in gnome to correctly grab the title of the terminal. at least not so far. current approaches for a null WINDOWID variable all accidentally grab the wrong window title if a different window (than the running script's) has focus.
Chris Koeritz [Fri, 5 Oct 2018 04:16:29 +0000 (00:16 -0400)]
fixed version manually
need to have the next_version script fix this whenever we update the version of feisty meow. otherwise it's yet another thing that gets out of synch when we change major or minor versions.
Chris Koeritz [Thu, 31 May 2018 13:03:48 +0000 (09:03 -0400)]
bug fix for home dir in permissionator
was using ~root in refred, since i mistakenly used $HOME within the script. fixed to be the home for the user specified rather than whoever happens to be running the script.
also a new couple of fortunes in nechung db.
Chris Koeritz [Wed, 30 May 2018 18:27:13 +0000 (14:27 -0400)]
added support for running general updater on own
added a script plug at the bottom that will take arguments and do an update_archive_drive on them, which is desirable for any drives that are not in one of my customized scripts.
Chris Koeritz [Sat, 26 May 2018 02:17:36 +0000 (22:17 -0400)]
implemented smart directory chooser for SA scripts
if the developer is already in a site avenger project folder, and requests to do a powerup (or other supported site avenger command), then the current project will be chosen as the application name. previously, the list of all projects in apps would be shown.
Chris Koeritz [Sat, 26 May 2018 01:30:51 +0000 (21:30 -0400)]
uses knowledge of current dir to pick app dir
when the user is not explicit, we use a heuristic to get the application directory for a site avenger project. if the current directory has an avenger5 directory someplace above it, then we can decide that's the implied directory to operate on. and we do.
Chris Koeritz [Fri, 25 May 2018 20:30:47 +0000 (16:30 -0400)]
new scripts for acting on hierarchies
act_on_tree runs an action on every folder that is one level down from a directory, where the default is to use the current directory. so like "act_on_tree git pull" would update all the git repositories under the current dir. there is a flag for changing the default location to act on.
act_on_apps is a site-avenger specialized version of act_on_tree that runs the command on directories under ~/apps which also happen to be site avenger projects (i.e. they have an avenger5 subdirectory just under the project directory).
Chris Koeritz [Tue, 22 May 2018 15:33:52 +0000 (15:33 +0000)]
move promote_pipe_return to core functions
this is too useful to leave down in the version control library; it
turns the Nth pipe status into the current return value, allowing
simpler and more readable checking of status.
abstracted from version control library into core functions file.
also dropping the two test files for checkin.
Chris Koeritz [Tue, 22 May 2018 15:26:53 +0000 (15:26 +0000)]
second test and nicer formatting
looking good; i think the change for checkin can stay in place, so that
now we always do a careful update before committing. makes perfect
sense in this ordering, and i don't know what screwy problems i was
having before with that order but they seem to be gone now.
also checkin and puffer outer scripts have better formatting.
Chris Koeritz [Tue, 22 May 2018 15:25:05 +0000 (15:25 +0000)]
testing checkin change
working so far; the careful git update beforehand worked without
complaining about this new file, and i was able to abort the check-in
without adding this file. now going to add temporarily and test again
with another new file.
Chris Koeritz [Tue, 22 May 2018 15:20:54 +0000 (11:20 -0400)]
tests careful update before commit
suspecting this caused problems when upstream had changes, but we'll see; this makes the diagnostic output make more sense, plus it just makes more sense to do it in this order in general (like, why would i want to commit before i am sure there are no merge problems coming from upstream?).
Chris Koeritz [Tue, 22 May 2018 15:01:24 +0000 (11:01 -0400)]
naming fixes, terminal title fixes
made the names for revision control a lot more cohesive.
fixed the save terminal stuff by only doing it at the outer boundaries of our revision control commands, rather than mixing it all through the bash library functions for version control.
Chris Koeritz [Tue, 22 May 2018 01:41:36 +0000 (21:41 -0400)]
updates for cakelampvm v003
there will be many of these updates. this one starts by fixing the manual and revamp script to use recustomize rather than regenerate, since the developer user has a customization folder now.
Chris Koeritz [Sat, 19 May 2018 22:41:37 +0000 (18:41 -0400)]
validated calling out to logname
logname is run in a subshell, whereas USER is just a variable, so tried to trim use of logname where i could. it needs to stay in the sysadmin stuff though, since there we are often running as sudo root.