Chris Koeritz [Wed, 27 May 2020 03:05:46 +0000 (23:05 -0400)]
vital fixes to sudo function
not sure the initial thrust is done yet, of having root not get a pile of wrong feisty meow variables when i sudo to it with -E flag, but this does at least get the shell options to not still expand for the one case we need. we will fix that to be more specific to enable mac to participate, since mac does actually need aliases expanded.
this also crucially fixes the IMPORTED_XAUTH variable which may never have been working right before? saw a multi-line answer on my host, so taking just the first line of output. not sure that's right yet, but we can't have multiple lines when we add the things in xauth the way we do it now.
Chris Koeritz [Tue, 26 May 2020 20:50:36 +0000 (16:50 -0400)]
getting prepped for better sudo script
these changes pave the way for sudo to seamlessly inherit *most* of the
environment of the user without leaving scads of feisty meow junk or user
specific stuff behind.
Chris Koeritz [Fri, 22 May 2020 22:05:08 +0000 (18:05 -0400)]
currently only one user is supported on remote
this is a very fred related command and probably needs to move into the custom area.
or we could redefine the script using variables for the:
+ list of z folders to synch
+ actual location of /z
+ user name that must be used to get on that host
Chris Koeritz [Thu, 14 May 2020 15:45:14 +0000 (11:45 -0400)]
additional identities that want fred's custom
fred's custom scripts, that is.
if feisty meow takes off some day, i will have to remove the one for root, since there would be a little contention there.
Chris Koeritz [Thu, 30 Apr 2020 19:36:17 +0000 (15:36 -0400)]
approach for sudo to have X windows working
this should enable root or other users to start X windows on the user's display, assuming that the DISPLAY variable is passed in and that the new xauth imported info is also available.
Chris Koeritz [Wed, 19 Feb 2020 20:10:17 +0000 (15:10 -0500)]
updates to get mac OS working again
note that building on recent versions of mac os requires the "brew" tools, which provide the gnu versions of a bunch of apps. if there are complaints about command line flags, then it's probably because brew hasn't been used to replace the default mac tool.
here are some links that can help set this up:
https://brew.sh
https://gist.github.com/skyzyx/3438280b18e4f7c490db8a2a2ca0b9da
https://medium.com/@timmykko/using-openssl-library-with-macos-sierra-7807cfd47892
Chris Koeritz [Sat, 26 Oct 2019 00:46:47 +0000 (20:46 -0400)]
blank contacts document in google format
this is a libreoffice spreadsheet template file. if you add your contacts into this file and "save as" a csv file, then google contacts can import the list of contact data with a minimum of trouble.
Chris Koeritz [Mon, 20 May 2019 19:41:05 +0000 (15:41 -0400)]
new script for doing a git release quickly
a little odd still, since you need to pass the version number even though feisty meow tracks the version number as a file; need to revise in future to automatically grab the right version number. otherwise seems to work.
dual target here--test that the github updater works and has dev isolated from master, plus get this new script into place.
Chris Koeritz [Mon, 20 May 2019 19:25:03 +0000 (15:25 -0400)]
Merge tag '2.140.115' into dev
version 2.140.115 updates
includes example apps that are being worked up for presentation on the web.
many changes to scripts, both major and minor.
one really good one is that the customizations are now a link instead of a copy inside the feisty meow loading dock, which cleans up a lot of things.
powerup also has some improvements to make it able to powerup current directory as well as older schemes.
Chris Koeritz [Mon, 13 May 2019 23:59:37 +0000 (19:59 -0400)]
fixed bug that was pre-whacking custom item
my careful code wasn't firing because an overly abusive remove based on find was whacking it; now instead i whack only the expected pieces that start with fmc_ in the loading dock, thus avoiding trashing anyone else's junk that happens to be floating around in there, but more specifically avoiding removing custom regardless of what type of item it is (unless it's the expected link).
Chris Koeritz [Tue, 30 Apr 2019 14:56:30 +0000 (10:56 -0400)]
improved f76 vendor record post bank merges
the fallout 76 banks all got tied to the same balance, so it no longer makes sense to track the locations of all the 7 vendors separately. now it's all combined on one sheet, which should take a lot longer to fill out (which is a good thing to save paper and pen hand).
Chris Koeritz [Mon, 29 Apr 2019 12:11:37 +0000 (08:11 -0400)]
new name for function
this is a local /z comparator, which abbreviates to localz somehow. it will check the local machine's /z folder items against an exemplar machine on the network. there is a built in default so far for that machine, but it also changes, which isn't so reasonable. but an exemplar machine name can be passed on the command line, so we're not put together totally backwards like some IT groups.
Chris Koeritz [Sun, 31 Mar 2019 21:56:38 +0000 (17:56 -0400)]
tasty solution to spacemall weirdness
just dropped the really problematic approach using find with multiple match inames, instead opting for simpler streaming processing of the names into xargs. works beautifully.
Chris Koeritz [Mon, 18 Mar 2019 22:52:51 +0000 (18:52 -0400)]
working vendor record plus new system time update
the vendor record got purged of its insane missing line problem by uploading it to google and then downloading it again. freaking weird.
the update_system_time script is a simple wrapper for rdate, which has been throwing obnoxious "problem: successful" kinds of messages for a while. don't know if the weird success message is accompanied by a result value of zero, as in success, or not, but we'll find out by what this script says. now in use on serene for time updates.
Chris Koeritz [Wed, 13 Mar 2019 17:00:19 +0000 (13:00 -0400)]
really close for simple powerups
it looks like this is working now for a powerup done in a project directory with no parameters, even if that project directory is a way deep subdirectory of a git repository rather than a stand-alone repository. had to stop before fully powered up due to blah blah but need to test out fully and then remove debug noises.
version control library had a feature removed which was not being used and seemed dangerous anyhow.
Chris Koeritz [Wed, 13 Mar 2019 14:44:36 +0000 (10:44 -0400)]
cleaning out references to avenger5 text
we already have a variable for this word, so it shouldn't appear in any file except the defaults file.
one allowed exception is a script that acts on all site avenger folders, since that script doesn't use the rest of the site avenger scripting machinery and it's an appropriate usage for this particular script (act on all apps).
Chris Koeritz [Wed, 13 Feb 2019 01:28:37 +0000 (20:28 -0500)]
update for new name of cloud = nuage
nuage is french for cloud, and it's a good change-over from our cluttered cloud repository. so nuage ushers in a new age, even though it's only morphemes that sound similar.
Chris Koeritz [Wed, 30 Jan 2019 22:19:51 +0000 (17:19 -0500)]
back to single level for spaceming all
doing a recursive spacemall was clanging way down into a lot of hierarchies it had no right to do. the expected behavior was, and is, that this just operates on a single dir at a time.
Chris Koeritz [Tue, 29 Jan 2019 23:51:58 +0000 (18:51 -0500)]
adding path support to spacemall
this is a lot more obnoxious than expected. it turns out spacem has a bug when run against a file in a directory, where it cannot do the renaming properly.
the current state is not right yet, but it's better than it was in terms of features. but this needs to work properly for both spacem and spacemall
Chris Koeritz [Mon, 28 Jan 2019 21:42:30 +0000 (16:42 -0500)]
adding example apps, fixing powerup issues
the new example apps are in nascent state but provide two demos, one of the google maps using a zipcode database and the other implementing a shared calendar view in google.
the site avenger shared support and all scripts have been updated to allow an empty app_dirname, such as when you are already in a directory and want to just say powerup. this works with existing avenger5 folders already, but still needs some help to be generalized.