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.
Chris Koeritz [Sat, 19 May 2018 21:36:29 +0000 (17:36 -0400)]
implemented feisty meow events log file
logging to a variable FEISTY_MEOW_EVENT_LOG, supported by a method called log_feisty_meow_event, this fascinating new feature provides an event log we could have handily implemented 20 years ago. but it's still useful and needed now.
also pushed the fred stats down deeper into personal fred territory in the cloud.
Chris Koeritz [Fri, 18 May 2018 21:33:43 +0000 (17:33 -0400)]
nice changes for customization system
allows scripts to be in top level of custom scripts folder now. also permission fixer script made official and used in different versions of user repermissioning.
Chris Koeritz [Fri, 18 May 2018 20:11:22 +0000 (16:11 -0400)]
fix for git puffing and add date in SA scripts
the puff out list method was being overused and causing multiple loops in some places of checkin in folders. hopefully fixed.
added a timestamp on all the lines logged to the log file by site avenger scripts.
Fred T. Hamster [Fri, 18 May 2018 18:57:50 +0000 (14:57 -0400)]
using multi-file and better named method
now using puff_out_list to expand git repositories with latest goodness, rather than the one trick pony of do_careful_git_update, which is a boring name. need to verify that this is working still.
Chris Koeritz [Fri, 18 May 2018 13:22:41 +0000 (09:22 -0400)]
new script for developer user re-owning
like refred, this makes all the important bits on a machine owned by the developer user. need to make this into a generic script instead of having a version per user, except there are going to be overrides or differences between users. ehh.
Chris Koeritz [Wed, 16 May 2018 21:02:51 +0000 (17:02 -0400)]
reordered to make personal repos check in first
didn't like waiting for the plethora of apps and other projects to check in, so i pushed the web and cloud and other personal folders of mine into the list before everything else. this means feisty meow check-in has to wait now, but i'm fine with that.
Chris Koeritz [Tue, 15 May 2018 23:17:09 +0000 (19:17 -0400)]
adding pull to push repo downstream
found we needed to pull the remote version of the downstream master at times. not sure exactly why yet, but added a chunk to do this.
also ZSorter is temporary demo of a simple sorter method.
Chris Koeritz [Thu, 10 May 2018 00:13:07 +0000 (20:13 -0400)]
script launches app into the background via screen
this will take an app name and wrap the app in a screen session. second parm is a title, but the app name will be used if no title provided. very rudimentary right now but working.
Chris Koeritz [Wed, 9 May 2018 23:09:57 +0000 (19:09 -0400)]
added dereferencing of links during snarf
con: this will not preserve directories exactly as shown in the original location. pro: this will actually back up the data pointed at by those links, so that the intended purpose of backing up one's data is actually met.
=> this change still needs testing on system with letsencrypt installed, so we can prove that those files are backed up.
further, prior "sdimi" grunt was just trying to say that the changes in that revision were automatically caused by eclipse.
Chris Koeritz [Mon, 7 May 2018 14:42:18 +0000 (10:42 -0400)]
went back to activating specific items in dolphin
now if dolphin is the file manager launched with the exp(lore) command and others, it will actively open the file specified for things that it knows the mime type for. folders should still be opened normally.
Chris Koeritz [Fri, 4 May 2018 21:28:38 +0000 (17:28 -0400)]
switched away from nautilus to dolphin
ubuntu file manager dolphin behaves much better and does more of what i want than nautilus.
current macro for exp uses this. dolphin launches in screen but still causes kde logging; need
to look into this.
also fixed help instructions in screened tunneler script.
Chris Koeritz [Wed, 21 Mar 2018 01:49:31 +0000 (21:49 -0400)]
more accurate solution for non-interactive update
should work now, if the reference sites are right about the variable for non-interactive. the var was not passed in before since sudo is not like a sub-shell. now the two pieces needed, setting the var and running command that listens to var, are done in a single multi-line bash command.
Chris Koeritz [Tue, 20 Mar 2018 21:31:38 +0000 (17:31 -0400)]
better handling of dir tests
this adds handling of bad returns from the find_apps_folder and test_apps_folder methods. previously we were relying on them to bail out with an exit, but cannot do that when using them within shell aliases in same shell. we need them to just return their status, and now any place using them checks the status. where appropriate this causes that outer shell to exit, but now the switchto macro will not bail out if the user chooses quit.
Chris Koeritz [Tue, 20 Mar 2018 20:58:11 +0000 (16:58 -0400)]
added disabling of archive bit mapping
samba will try to stuff the archive bit from dos into the unix execute bit, in a poorly chosen default option for the archive mapping feature. this turns that feature off again.
Chris Koeritz [Tue, 20 Mar 2018 20:49:41 +0000 (16:49 -0400)]
new fortune, plus site avenger mods
added new switchto macro, not quite right yet since can exit shell if doesn't find directory. some doc fixes in comments. turned off swap file unless special flag is present, since ssd drives do not want this.
Chris Koeritz [Tue, 13 Mar 2018 15:48:46 +0000 (11:48 -0400)]
dead-end from standup as sudo
this drops the user's forwarded ssh credentials, so the script can no longer checkout the code. argh. so individual sudos seem necessary on permission changes.
Chris Koeritz [Thu, 1 Mar 2018 17:43:18 +0000 (12:43 -0500)]
jumping to home dir
composer addition gets confused if within a project, and the setting we are adding with this step is supposed to be for whole account. jumping to home dir first seems to fix it.
Chris Koeritz [Thu, 1 Mar 2018 17:03:13 +0000 (12:03 -0500)]
fix for ignored theme and repo names
if the override specified these and they were not provided on command line, then script previously would ignore settings from X.app file and go with default.