Chris Koeritz [Fri, 23 Sep 2016 16:05:04 +0000 (12:05 -0400)]
a bunch of cleaning to get wayward unit tests passing on windows. not there yet.
also a nice change in tree, to support the 40,000 deep symbol tree test that was barfing.
this was totally due to having a recursive destructor with a crazy deep tree; we blew out the stack on windows,
which we never even noticed on linux. replacement algorithm does an iterative spider instead of beautiful
recursion, but it also handles arbitrarily large trees with no additional stack frames.
Chris Koeritz [Thu, 22 Sep 2016 04:29:29 +0000 (00:29 -0400)]
had to bring back curl 3rdparty for windows too, since cygwin wasn't
actually standing in for this either. not sure why i thought it was,
but it seemed like it had made it through the whole build.
Chris Koeritz [Sun, 18 Sep 2016 00:44:13 +0000 (20:44 -0400)]
wow, more nice new scripts. time tracker lets different activities be tracked for duration, keeping them separate by name. the test for it just tries a random time duration and prints it out. other tests got cleaned or renamed too.
Chris Koeritz [Sun, 18 Sep 2016 00:07:05 +0000 (20:07 -0400)]
a few new scripts. grid land lister does a dump of the uuids and such for land on my simulator; not very generic yet. list old linux packs shows linux-image and linux-header that are in rc state, so not installed but also not clean. rounder is a nice script or test runner that will keep going until a failure occurs; it keeps all the logs from each run in a directory under TMP.
Chris Koeritz [Sat, 17 Sep 2016 22:57:51 +0000 (18:57 -0400)]
updated for a couple paths that weren't doing the right thing.
strangely, *.bak can be removed from the archive properly, but
etc/alternatives/* was failing. not sure how things are working.
updated for a couple paths that weren't doing the right thing.
strangely, *.bak can be removed from the archive properly, but
etc/alternatives/* was failing. not sure how things are working.
Chris Koeritz [Sat, 17 Sep 2016 22:26:08 +0000 (18:26 -0400)]
stuffed the recustomize function back in, since if it is a separate shell script it is executed in a bash subshell instead of directly in the current shell, which defeats the whole purpose of the macro being able to recustomize the current environment on the fly.
Chris Koeritz [Wed, 14 Sep 2016 23:39:56 +0000 (19:39 -0400)]
added removal of temporary dir used in test dir tree, but it exposed a long-standing weakness in that we have no recursive delete method.
this is not rocket science, plus it's needed by places in the code, so it should be implemented.
Chris Koeritz [Thu, 8 Sep 2016 03:46:22 +0000 (23:46 -0400)]
numerous minor changes to either use the sep function instead of old name of 'line', or to change usages of 'line' as a variable since it's a shell builtin and i generally like to avoid even the appearance of name conflicts.
Chris Koeritz [Wed, 7 Sep 2016 02:36:15 +0000 (22:36 -0400)]
really tasty addition of remote compares using ssh syntax, e.g. host:path notation.
so now can compare like this:
compare_dirs /z/musix surya:/z/musix
to see what files are missing on one side or the other.
Chris Koeritz [Tue, 6 Sep 2016 23:09:16 +0000 (19:09 -0400)]
added a couple helpful scripts used at home to get major archives somewhat in synch. definitely not a very good solution, but it keeps us from losing our data.
Chris Koeritz [Sun, 4 Sep 2016 17:16:34 +0000 (13:16 -0400)]
swapped out the 'line' separator printing method into the core, since it's actually really very useful, but changed the name to separator/sep since line is already a shell built-in. oops.
Chris Koeritz [Mon, 27 Jun 2016 01:24:07 +0000 (21:24 -0400)]
added some debugging. still trying to resolve windows issues; cygpath didn't help since it can only do one path item at a time, and we are trying to translate variables like INCLUDE and such. may need to revisit that since INCLUDE resolves to something sensible already in shell? in any case, cygpath can either process a path (which doesn't actually seem to work) or process one path into a dos form of the path, but not both.
Chris Koeritz [Thu, 2 Jun 2016 23:39:16 +0000 (19:39 -0400)]
modified windows implementation doesn't try to use the suddenly non-working windows crap process query, but instead uses the same old cygwin crap ps that isn't the "real" linux ps and which doesn't support normal flags for ps. a pain in the ass, if i must say so.