Chris Koeritz [Sun, 7 Jan 2018 17:15:26 +0000 (12:15 -0500)]
another attempt to clean up superfluous merges
we want to stop seeing pointless merge messages in the commit log. this should take care of it, although there can be a problem if the code stashed before pulling is *way* out of synch with the code being pulled. that problem would afflict the merge also though, and it is better to find out as soon as possible rather than letting the snarl grow larger.
Chris Koeritz [Sun, 7 Jan 2018 16:52:51 +0000 (11:52 -0500)]
swapped where chown is done
powerup is not supposed to need sudo access. the chown operation does need it though. also made the code for chown more specific to folder being operated on, rather than operating on entire apps hierarchy.
Chris Koeritz [Sun, 7 Jan 2018 15:44:49 +0000 (10:44 -0500)]
swap mount additions in revamp
put in automatic swap mount addition in revamp script, so cakelampvm can have more memory. uses more hard drive space though.
made the swap mount script force sudo calling, and also added parameters for swap. new --help command is available on it also.
Chris Koeritz [Wed, 3 Jan 2018 16:56:10 +0000 (11:56 -0500)]
trying without --no-ff
the fast forward feature seems important to avoid unnecessary merge messages from checkin. we need to be careful at merge time with a branch to say: git merge --no-ff <thebranch>
because otherwise we would lose all the changes that occurred on the branch. but remembering every trivial merge, even those without contents, is not good, so --no-ff needs to be dumped for most pulls.
Chris Koeritz [Mon, 18 Dec 2017 13:01:41 +0000 (08:01 -0500)]
added shadow site and more vamps
there is now a shadow site blah.cakelampvm.com for every site blah.X, implemented in both standup and teardown but untested.
revamp adds apache env vars file now.
Chris Koeritz [Mon, 18 Dec 2017 12:37:08 +0000 (07:37 -0500)]
fixed doc errors plus vm script mods
revised the command reference for a couple text bugs that kevin noticed.
new rolling file for setting apache2 environment variables; script to deploy still needed.
mod to powerup to force permissions on app dir.
good changes to revamp, now with some mysql powers.
Chris Koeritz [Sun, 17 Dec 2017 17:27:37 +0000 (17:27 +0000)]
attempt 4 with realization
seems like tar's exclude feature doesn't support arbitrary paths, and
only supports single per file patterns, like *.ugh or *ophilus.morp,
rather than being for any old cool pattern. this was not apparent until
now; has it always been thus?
Chris Koeritz [Sun, 17 Dec 2017 17:17:59 +0000 (17:17 +0000)]
attempt 3 and getting pretty frustrated
the exclude docs are not really helping, or the feature is just really
not working. trying now to use just the most simplistic pattern
possible, which is only the dir name. stars in the pattern just seem to
get completely ignored somehow, or slashes make it fail, or some kind of
insanity that seemingly didn't used to happen.
Chris Koeritz [Sun, 17 Dec 2017 17:13:28 +0000 (17:13 +0000)]
attempting to fix fat releases
the code_guide is being included, despite there being a pattern that
looks right to me. tried taking the patterns out of quotes, since the
--exclude= in front should hose any globbing attempts anyhow.
Chris Koeritz [Sun, 17 Dec 2017 13:26:00 +0000 (08:26 -0500)]
slightly tastier
fixed the recent bind section, since it was not closed properly.
added restart_samba function.
added code for fixing samba config for user dirs to have write access; not done yet.
Chris Koeritz [Sun, 17 Dec 2017 13:11:30 +0000 (08:11 -0500)]
fixed error in vm guide, added fixes in revamp
revamp *should* now properly take strict transport security out of apache headers, and it should also add the wildcard domain names for cakelampvm.com (on anything other than www and the base name).