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 22:00:28 +0000 (18:00 -0400)]
improved event log
nothing useful comes from $0 since that's always bash. so now printing the user@host instead.
Chris Koeritz [Sat, 19 May 2018 21:52:59 +0000 (17:52 -0400)]
quoted a string.
Chris Koeritz [Sat, 19 May 2018 21:48:41 +0000 (17:48 -0400)]
cleanup and moved some output to event log
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 [Sat, 19 May 2018 20:03:13 +0000 (16:03 -0400)]
modified error handling methods
test_or_die => exit_on_error
test_or_continue => continue_on_error
Chris Koeritz [Sat, 19 May 2018 03:27:51 +0000 (23:27 -0400)]
added svn projects to checkin list sought for apps
Chris Koeritz [Sat, 19 May 2018 03:19:18 +0000 (23:19 -0400)]
revised usage of apps dir
now should find all projects under ~/apps, not just site avenger ones.
also usage of word apps has been cleaned up where it can be.
Chris Koeritz [Sat, 19 May 2018 01:44:23 +0000 (21:44 -0400)]
cleaned out some old code
Chris Koeritz [Sat, 19 May 2018 01:36:26 +0000 (21:36 -0400)]
tore out guts that came from v002
this is lean and mean, and has no really tough content yet. still working on v003, so this script has nothing to remediate yet.
Chris Koeritz [Fri, 18 May 2018 23:36:08 +0000 (19:36 -0400)]
fixes to get the revamp macro right
Chris Koeritz [Fri, 18 May 2018 23:26:58 +0000 (19:26 -0400)]
working on revamp alias
needs to have proper things in scope for variable expansion to show the right file list.
Chris Koeritz [Fri, 18 May 2018 23:23:35 +0000 (19:23 -0400)]
pushing down some cakelampvm details
want to abstract out any cakelampvm or siteavenger specifics from the general levels of scripts.
Chris Koeritz [Fri, 18 May 2018 22:35:59 +0000 (18:35 -0400)]
the step backwards for our two forward
had to not use puff_out_list; that is the wrong method. but got the behavior i wanted by plugging in the correct methods.
Chris Koeritz [Fri, 18 May 2018 22:15:15 +0000 (18:15 -0400)]
cleared redundant code revamp v003
Chris Koeritz [Fri, 18 May 2018 22:01:41 +0000 (18:01 -0400)]
using THISDIR instead of WORKDIR
for the auto-location stuff, we're now using the more self-descriptive name of THISDIR for where the script started up in.
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.
Chris Koeritz [Fri, 18 May 2018 20:01:28 +0000 (16:01 -0400)]
this version has been denoised
got rid of a lot of debug output by storing in a file in $TMP now.
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 16:27:11 +0000 (12:27 -0400)]
nice change for wildcard display
used to fail if no package name was provided but now treats that as a wildcarding opportunity to show all packages.
Chris Koeritz [Fri, 18 May 2018 13:56:14 +0000 (09:56 -0400)]
nice mod to use username for customization
instead of assuming everybody loves the fred customization set, this now defaults to the user name as the customization package.
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 [Thu, 17 May 2018 00:24:48 +0000 (20:24 -0400)]
mugs
Chris Koeritz [Wed, 16 May 2018 21:06:03 +0000 (17:06 -0400)]
cleaned old code, fixed path
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:23:47 +0000 (19:23 -0400)]
added tags pushing
previously our downstream copies were missing all the tags. this should fix 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 [Mon, 14 May 2018 18:24:17 +0000 (14:24 -0400)]
thou shalt not kill
or write scripts that contain the word in their name, i guess.
Chris Koeritz [Mon, 14 May 2018 04:03:51 +0000 (00:03 -0400)]
simplifying title of the screen
by using basename of the app. still not sanitized, but at least a lot shorter.
Chris Koeritz [Sun, 13 May 2018 14:44:57 +0000 (10:44 -0400)]
smorks
Chris Koeritz [Fri, 11 May 2018 19:01:20 +0000 (15:01 -0400)]
first change to go in for v003
no fred user any more, so that gets removed from revamp for sure.
Chris Koeritz [Fri, 11 May 2018 18:57:57 +0000 (14:57 -0400)]
splitting revamp into old version and new version
Chris Koeritz [Thu, 10 May 2018 13:49:35 +0000 (09:49 -0400)]
new fortune
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:26:29 +0000 (23:26 +0000)]
fixed for adding links as real content
had to add link following to find command, and then magically our link
content was getting backed up. whew.
Chris Koeritz [Wed, 9 May 2018 23:18:14 +0000 (19:18 -0400)]
added another deref
hopefully just missed this one case; our expected linked files never showed up in archive.
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 [Wed, 9 May 2018 17:22:48 +0000 (13:22 -0400)]
sdimi
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 [Sun, 6 May 2018 22:49:03 +0000 (18:49 -0400)]
new fortunes
Chris Koeritz [Sun, 6 May 2018 09:45:13 +0000 (05:45 -0400)]
fixed language
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 [Tue, 10 Apr 2018 00:46:55 +0000 (20:46 -0400)]
new fortune
Chris Koeritz [Mon, 9 Apr 2018 17:24:53 +0000 (13:24 -0400)]
added a blank line for appearance's sake
Chris Koeritz [Sat, 7 Apr 2018 02:41:44 +0000 (22:41 -0400)]
Merge branch 'release-2.140.111' into dev
merging in latest release.
Chris Koeritz [Sat, 7 Apr 2018 02:39:46 +0000 (22:39 -0400)]
new version
Chris Koeritz [Sat, 7 Apr 2018 02:37:55 +0000 (22:37 -0400)]
fixed apps dir search process.
Chris Koeritz [Sat, 7 Apr 2018 02:34:39 +0000 (22:34 -0400)]
new fortune
Chris Koeritz [Fri, 23 Mar 2018 14:49:32 +0000 (10:49 -0400)]
Merge branch 'release-2.140.110' into dev
version file updated
Chris Koeritz [Fri, 23 Mar 2018 14:48:00 +0000 (10:48 -0400)]
new version for release
Chris Koeritz [Fri, 23 Mar 2018 14:27:26 +0000 (10:27 -0400)]
added guard to make sure only runs on cakelampvm
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 21:14:23 +0000 (17:14 -0400)]
getting samba archive bit right
now is working to fix the samba config by adding: map archive = no
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:51:55 +0000 (11:51 -0400)]
re-added sudo grab at top of script
Chris Koeritz [Tue, 13 Mar 2018 15:51:06 +0000 (11:51 -0400)]
back to sudoized chown and chmod
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 [Tue, 13 Mar 2018 15:45:18 +0000 (11:45 -0400)]
added standup as sudo alias
Chris Koeritz [Tue, 13 Mar 2018 15:38:46 +0000 (11:38 -0400)]
back to optional directory fixing
cannot precreate logs and tmp or git will not checkout the folder.
Chris Koeritz [Tue, 13 Mar 2018 15:35:55 +0000 (11:35 -0400)]
adding recursive mkdir flag to precreate hierarchy
Chris Koeritz [Tue, 13 Mar 2018 15:33:57 +0000 (11:33 -0400)]
dropping extra sudo
something is screwy in standup, but adding extra sudos is not helping.
Chris Koeritz [Tue, 13 Mar 2018 15:32:34 +0000 (11:32 -0400)]
adding extra app dir fix prior to checkout
Chris Koeritz [Tue, 13 Mar 2018 15:27:00 +0000 (11:27 -0400)]
trying to fix bizarre permission problems.
Chris Koeritz [Tue, 13 Mar 2018 15:15:03 +0000 (11:15 -0400)]
getting powerup right
having it not try to do any chmods, since ownership can be in question and it doesn't run as sudo.
Chris Koeritz [Tue, 13 Mar 2018 01:07:16 +0000 (21:07 -0400)]
new fortunes and spelling correction
Chris Koeritz [Thu, 1 Mar 2018 18:31:48 +0000 (13:31 -0500)]
modified umask for apache
enables group read/write on files and dirs for apache.
also disabled the bluefish install since no one is using that.
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.
Chris Koeritz [Thu, 1 Mar 2018 15:24:42 +0000 (10:24 -0500)]
added ecocor6 override file
Chris Koeritz [Tue, 27 Feb 2018 20:19:05 +0000 (15:19 -0500)]
fix to run composer as proper user
Chris Koeritz [Mon, 26 Feb 2018 18:00:57 +0000 (13:00 -0500)]
new fortune plus new windoze game script
zap fallout task will stop any process with fallout in the name on windows, using taskkill
Chris Koeritz [Sat, 24 Feb 2018 02:49:08 +0000 (21:49 -0500)]
next try to fix upgrade stalling
a new variable plus an extra force-confdef flag.
Chris Koeritz [Wed, 21 Feb 2018 05:13:37 +0000 (00:13 -0500)]
made feisty meow apex owned by developer user
Chris Koeritz [Tue, 20 Feb 2018 16:00:28 +0000 (11:00 -0500)]
Merge branch 'release-2.140.109' into dev
updating dev branch from latest release
Chris Koeritz [Tue, 20 Feb 2018 15:57:26 +0000 (10:57 -0500)]
new version
Chris Koeritz [Wed, 7 Feb 2018 21:52:31 +0000 (16:52 -0500)]
docs in progress
Chris Koeritz [Wed, 7 Feb 2018 21:05:29 +0000 (16:05 -0500)]
added composer config for site avenger
Chris Koeritz [Wed, 7 Feb 2018 20:53:16 +0000 (15:53 -0500)]
working okay now for revamp
the mysql password management seems to be doing well now.
Chris Koeritz [Wed, 7 Feb 2018 20:50:47 +0000 (15:50 -0500)]
fixed variable name confusion
Chris Koeritz [Wed, 7 Feb 2018 20:47:11 +0000 (15:47 -0500)]
got the password functions right maybe
had to drop the awful approach of echoing the result for much nicer approach of setting a variable name provided by the caller. this is a lot better technique.
Chris Koeritz [Wed, 7 Feb 2018 20:31:40 +0000 (15:31 -0500)]
being forced to debug missing prompt
something is causing the revamp not to show the prompt.
Chris Koeritz [Wed, 7 Feb 2018 20:26:45 +0000 (15:26 -0500)]
fix for password file missing
Chris Koeritz [Wed, 7 Feb 2018 20:24:10 +0000 (15:24 -0500)]
prototype password management methods
used for getting the mysql password in the revamp script, reading it from cmd line as well as storing for later use.
Chris Koeritz [Wed, 7 Feb 2018 19:13:51 +0000 (14:13 -0500)]
doc refresh for regenerate
Chris Koeritz [Wed, 7 Feb 2018 19:09:58 +0000 (14:09 -0500)]
updates for regenerate
Chris Koeritz [Wed, 7 Feb 2018 17:40:36 +0000 (12:40 -0500)]
fixing reconfig process
needs to redo aliases and other assets, but currently is not. trying simplest approach first, by loading the launcher script at the end of having reconfigured everything.
also added a link maker for fallout new vegas, to try to make running on wine a bit less of a hellfest.
Chris Koeritz [Wed, 7 Feb 2018 16:13:26 +0000 (11:13 -0500)]
removing silly bits
Chris Koeritz [Tue, 6 Feb 2018 16:36:03 +0000 (11:36 -0500)]
new fortunes
Chris Koeritz [Tue, 6 Feb 2018 02:21:50 +0000 (21:21 -0500)]
Merge branch 'dev' of feistymeow.org:feisty_meow into dev
Chris Koeritz [Mon, 5 Feb 2018 05:37:46 +0000 (00:37 -0500)]
new fortunes
Chris Koeritz [Sat, 3 Feb 2018 01:18:04 +0000 (20:18 -0500)]
Merge branch 'dev' of feistymeow.org:feisty_meow into dev
Fred T. Hamster [Thu, 25 Jan 2018 20:44:13 +0000 (15:44 -0500)]
Merge branch 'dev' of feistymeow.org:feisty_meow into dev
Chris Koeritz [Wed, 24 Jan 2018 15:18:26 +0000 (15:18 +0000)]
at artful, screen stabilizes
stopped needing a logfile, in different positions relative to flag, for
-L on command line. sheesh. now need to update to artful ubuntu
everywhere.
Chris Koeritz [Mon, 15 Jan 2018 16:53:27 +0000 (11:53 -0500)]
Merge branch 'dev' of feistymeow.org:feisty_meow into dev
Chris Koeritz [Mon, 15 Jan 2018 16:52:50 +0000 (11:52 -0500)]
added tags to pull
Chris Koeritz [Mon, 15 Jan 2018 16:48:06 +0000 (11:48 -0500)]
Merge branch 'master' into dev
pulling in latest release into dev.
should only be the tag. if that.
Chris Koeritz [Mon, 15 Jan 2018 16:44:19 +0000 (11:44 -0500)]
Merge branch 'release-2.140.108'
merging for new version