feisty_meow.git
6 years agoupdated apt-get usages to just use apt
Chris Koeritz [Fri, 31 Aug 2018 17:38:16 +0000 (13:38 -0400)]
updated apt-get usages to just use apt

6 years agonew fortune
Chris Koeritz [Fri, 31 Aug 2018 17:07:53 +0000 (13:07 -0400)]
new fortune

6 years agomade ssh terminal debugging use feisty debug flag
Chris Koeritz [Tue, 28 Aug 2018 18:30:13 +0000 (14:30 -0400)]
made ssh terminal debugging use feisty debug flag

6 years agofixed terminal title problem
Chris Koeritz [Wed, 15 Aug 2018 14:05:28 +0000 (10:05 -0400)]
fixed terminal title problem

working around gnome-terminal not supplying WINDOWID by using xdotool.  sigh.  yet another workaround requiring an extra software install.

6 years agodebugging term title again
Chris Koeritz [Tue, 14 Aug 2018 19:52:40 +0000 (15:52 -0400)]
debugging term title again

now with gnome terminal WINDOWID is not set, so we're currently hosed.

6 years agofixed weird save dirs for fallouts
Chris Koeritz [Tue, 17 Jul 2018 20:33:16 +0000 (16:33 -0400)]
fixed weird save dirs for fallouts

6 years agonew fortunes
Chris Koeritz [Sun, 15 Jul 2018 01:44:13 +0000 (21:44 -0400)]
new fortunes

6 years agodropping unused link maker, renaming replacer
Chris Koeritz [Fri, 1 Jun 2018 20:06:07 +0000 (16:06 -0400)]
dropping unused link maker, renaming replacer

6 years agobetter instructions for rounder
Chris Koeritz [Fri, 1 Jun 2018 16:59:42 +0000 (12:59 -0400)]
better instructions for rounder

6 years agobug fix for home dir in permissionator
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.

6 years agoadded support for running general updater on own
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.

6 years agoMerge branch 'release-2.140.113' into dev
Chris Koeritz [Sat, 26 May 2018 02:31:53 +0000 (22:31 -0400)]
Merge branch 'release-2.140.113' into dev

bringing in the latest release's updates.

6 years agopreparing new release 2.140.133 release-2.140.113
Chris Koeritz [Sat, 26 May 2018 02:21:36 +0000 (22:21 -0400)]
preparing new release 2.140.133

highlights: act_on_tree, act_on_apps, auto-guessing powerup dir (also in other site avenger scripts), rational checkin process ordering

6 years agoimplemented smart directory chooser for SA 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.

6 years agouses knowledge of current dir to pick app dir
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.

6 years agoadded a category name for backing up
Fred T. Hamster [Sat, 26 May 2018 00:45:33 +0000 (20:45 -0400)]
added a category name for backing up

6 years agoadded a short sleep
Chris Koeritz [Sat, 26 May 2018 00:09:06 +0000 (20:09 -0400)]
added a short sleep

6 years agodecided to stop once there is no input left
Chris Koeritz [Fri, 25 May 2018 23:16:40 +0000 (19:16 -0400)]
decided to stop once there is no input left

6 years agomanaged to encode my data in the script
Chris Koeritz [Fri, 25 May 2018 23:14:12 +0000 (19:14 -0400)]
managed to encode my data in the script

fixed now.

6 years agospecial purpose underscore to space converter
Chris Koeritz [Fri, 25 May 2018 22:11:13 +0000 (18:11 -0400)]
special purpose underscore to space converter

just takes lines of input and turns the underscores back into spaces; part of a simple readability toolset for converting file names to titles.

6 years agonew scripts for acting on hierarchies
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).

6 years agofixed no checkin message
Chris Koeritz [Thu, 24 May 2018 02:07:31 +0000 (22:07 -0400)]
fixed no checkin message

6 years agocorrected omitted checkouts in checkin
Chris Koeritz [Thu, 24 May 2018 00:33:19 +0000 (20:33 -0400)]
corrected omitted checkouts in checkin

the checkin process was skipping the checkout for .no-checkin directories, when it should have still been checking out the code.

6 years agoadded check that releases directory exists
Chris Koeritz [Thu, 24 May 2018 00:22:43 +0000 (20:22 -0400)]
added check that releases directory exists

6 years agoboiled down to one command
Chris Koeritz [Tue, 22 May 2018 17:13:01 +0000 (13:13 -0400)]
boiled down to one command

currently working on ubuntu for time synch of client, so leaving it like this.

6 years agoMerge branch 'release-2.140.112' into dev
Chris Koeritz [Tue, 22 May 2018 16:16:22 +0000 (12:16 -0400)]
Merge branch 'release-2.140.112' into dev

bring in latest from 2.140.112

6 years agonew release 2.140.112 release-2.140.112
Chris Koeritz [Tue, 22 May 2018 15:58:20 +0000 (11:58 -0400)]
new release 2.140.112

lots of goodies coming.

6 years agofixed formatting
Chris Koeritz [Tue, 22 May 2018 15:50:21 +0000 (11:50 -0400)]
fixed formatting

6 years agocleaning old comments, promoted echo to event log
Chris Koeritz [Tue, 22 May 2018 15:41:34 +0000 (15:41 +0000)]
cleaning old comments, promoted echo to event log

6 years agomove promote_pipe_return to core functions
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.

6 years agosecond test and nicer formatting
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.

6 years agotesting checkin change
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.

6 years agotests careful update before commit
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?).

6 years agonaming fixes, terminal title fixes
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.

6 years agofixed puffer reporting
Chris Koeritz [Tue, 22 May 2018 14:36:47 +0000 (10:36 -0400)]
fixed puffer reporting

6 years agocleaned up section about updating
Chris Koeritz [Tue, 22 May 2018 01:55:51 +0000 (21:55 -0400)]
cleaned up section about updating

6 years agoadded revamp v003 alias
Chris Koeritz [Tue, 22 May 2018 01:51:22 +0000 (21:51 -0400)]
added revamp v003 alias

added a sudoized alias for the v003 revamp cakelampvm script, to be able to have the v003 docs make sense.
and some progress on cakelampvm docs.

6 years agoupdates for cakelampvm v003
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.

6 years agotasty updates moving towards v003 cakelampvm
Chris Koeritz [Tue, 22 May 2018 01:12:10 +0000 (21:12 -0400)]
tasty updates moving towards v003 cakelampvm

6 years agomore beautiful fail message in recustomize
Chris Koeritz [Mon, 21 May 2018 22:25:07 +0000 (18:25 -0400)]
more beautiful fail message in recustomize

6 years agomade safe for names with spaces
Chris Koeritz [Mon, 21 May 2018 20:34:17 +0000 (16:34 -0400)]
made safe for names with spaces

6 years agobetter output yet
Chris Koeritz [Sun, 20 May 2018 14:58:21 +0000 (10:58 -0400)]
better output yet

previous check-in removed the separators which had proven to be annoying.  this one gets the spacing right for the retrieval and then check-in logging.

6 years agoimproved look of output from check-ins
Chris Koeritz [Sun, 20 May 2018 14:48:41 +0000 (10:48 -0400)]
improved look of output from check-ins

6 years agovalidated calling out to logname
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.

6 years agoimproved event log
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.

6 years agoquoted a string.
Chris Koeritz [Sat, 19 May 2018 21:52:59 +0000 (17:52 -0400)]
quoted a string.

6 years agocleanup and moved some output to event log
Chris Koeritz [Sat, 19 May 2018 21:48:41 +0000 (17:48 -0400)]
cleanup and moved some output to event log

6 years agoimplemented feisty meow events log file
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.

6 years agomodified error handling methods
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

6 years agoadded svn projects to checkin list sought for apps
Chris Koeritz [Sat, 19 May 2018 03:27:51 +0000 (23:27 -0400)]
added svn projects to checkin list sought for apps

6 years agorevised usage of apps dir
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.

6 years agocleaned out some old code
Chris Koeritz [Sat, 19 May 2018 01:44:23 +0000 (21:44 -0400)]
cleaned out some old code

6 years agotore out guts that came from v002
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.

6 years agofixes to get the revamp macro right
Chris Koeritz [Fri, 18 May 2018 23:36:08 +0000 (19:36 -0400)]
fixes to get the revamp macro right

6 years agoworking on revamp alias
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.

6 years agopushing down some cakelampvm details
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.

6 years agothe step backwards for our two forward
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.

6 years agocleared redundant code revamp v003
Chris Koeritz [Fri, 18 May 2018 22:15:15 +0000 (18:15 -0400)]
cleared redundant code revamp v003

6 years agousing THISDIR instead of WORKDIR
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.

6 years agonice changes for customization system
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.

6 years agofix for git puffing and add date in SA scripts
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.

6 years agothis version has been denoised
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.

6 years agousing multi-file and better named method
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.

6 years agonice change for wildcard display
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.

6 years agonice mod to use username for customization
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.

6 years agonew script for developer user re-owning
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.

6 years agomugs
Chris Koeritz [Thu, 17 May 2018 00:24:48 +0000 (20:24 -0400)]
mugs

6 years agocleaned old code, fixed path
Chris Koeritz [Wed, 16 May 2018 21:06:03 +0000 (17:06 -0400)]
cleaned old code, fixed path

6 years agoreordered to make personal repos check in first
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.

6 years agoadded tags pushing
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.

6 years agoadding pull to push repo downstream
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.

6 years agothou shalt not kill
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.

6 years agosimplifying title of the screen
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.

6 years agosmorks
Chris Koeritz [Sun, 13 May 2018 14:44:57 +0000 (10:44 -0400)]
smorks

6 years agofirst change to go in for v003
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.

6 years agosplitting revamp into old version and new version
Chris Koeritz [Fri, 11 May 2018 18:57:57 +0000 (14:57 -0400)]
splitting revamp into old version and new version

6 years agonew fortune
Chris Koeritz [Thu, 10 May 2018 13:49:35 +0000 (09:49 -0400)]
new fortune

6 years agoscript launches app into the background via screen
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.

6 years agofixed for adding links as real content
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.

6 years agoadded another deref
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.

6 years agoadded dereferencing of links during snarf
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.

6 years agosdimi
Chris Koeritz [Wed, 9 May 2018 17:22:48 +0000 (13:22 -0400)]
sdimi

6 years agowent back to activating specific items in dolphin
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.

6 years agonew fortunes
Chris Koeritz [Sun, 6 May 2018 22:49:03 +0000 (18:49 -0400)]
new fortunes

6 years agofixed language
Chris Koeritz [Sun, 6 May 2018 09:45:13 +0000 (05:45 -0400)]
fixed language

6 years agoswitched away from nautilus to dolphin
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.

6 years agonew fortune
Chris Koeritz [Tue, 10 Apr 2018 00:46:55 +0000 (20:46 -0400)]
new fortune

6 years agoadded a blank line for appearance's sake
Chris Koeritz [Mon, 9 Apr 2018 17:24:53 +0000 (13:24 -0400)]
added a blank line for appearance's sake

6 years agoMerge branch 'release-2.140.111' into dev
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.

6 years agonew version
Chris Koeritz [Sat, 7 Apr 2018 02:39:46 +0000 (22:39 -0400)]
new version

6 years agofixed apps dir search process.
Chris Koeritz [Sat, 7 Apr 2018 02:37:55 +0000 (22:37 -0400)]
fixed apps dir search process.

6 years agonew fortune
Chris Koeritz [Sat, 7 Apr 2018 02:34:39 +0000 (22:34 -0400)]
new fortune

6 years agoMerge branch 'release-2.140.110' into dev
Chris Koeritz [Fri, 23 Mar 2018 14:49:32 +0000 (10:49 -0400)]
Merge branch 'release-2.140.110' into dev

version file updated

6 years agonew version for release
Chris Koeritz [Fri, 23 Mar 2018 14:48:00 +0000 (10:48 -0400)]
new version for release

6 years agoadded guard to make sure only runs on cakelampvm
Chris Koeritz [Fri, 23 Mar 2018 14:27:26 +0000 (10:27 -0400)]
added guard to make sure only runs on cakelampvm

6 years agomore accurate solution for non-interactive update
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.

6 years agobetter handling of dir tests
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.

6 years agogetting samba archive bit right
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

6 years agoadded disabling of archive bit mapping
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.

6 years agonew fortune, plus site avenger mods
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.