HPCC-9984 Compile direct from a version control system

Add code to eclccserver to support installation of hooks in place of eclcc,
and to pass values to those hooks via the environment.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-9984 Compile direct from a version control system

Add support for bare repositories into the git file reader.

Note that this change means that the {branch} part of the git file
name is no longer optional. To refer to HEAD (on a non-bare repository)
you can use {}

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-9984 Compile direct from a version control system

First stab at a vc hook for git repository support

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-9984 Compile direct from a version control system

Don't allow workunit to set the hook - would be some security concerns.

Define an environment variable for the current thread index, in case anyone
wants it for an svn plugin.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-9984 Compile direct from a version control system

Control whether local WU can override the branch

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-9984 Compile direct from a version control system

Typo in git.sh meant only worked in verbose mode.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-9984 Compile direct from a version control system

Add ability to support multiple repositories.

Translate branches to SHA's for atomicity.

Save sha in workunit application values.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-10072 - Avoid roxiemem allocator cache deadlock

ensure() calling createAllocator could cause other threads
to deadlock on cache calls.

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
HPCC-10072 - Avoid roxiemem allocator cache deadlock

ensure() calling createAllocator could cause other threads
to deadlock on cache calls.

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
HPCC-10059 Add options to git hook to control time between fetches, etc

GIT_FETCH_EXPIRES sets time in seconds after a fetch before it will issue
another one

GIT_IGNORE_FETCH_ERRORS can be set to treat failures to fetch as non-fatal

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-10046 Optimize aggregate on single row datasets

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Merge pull request #4871 from ghalliday/issue10046

HPCC-10046 Optimize aggregate on single row datasets

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
HPCC-10045 Remove invalid error checking from debug builds.

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Merge pull request #4874 from ghalliday/issue10045

HPCC-10045 Remove invalid error checking from debug builds. 

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge remote-tracking branch 'origin/closedown-4.0.x'

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #4866 from jakesmith/hpcc-10072-4.0

HPCC-10072 - Avoid roxiemem allocator cache deadlock

Reviewed-By: Gavin Halliday <gavin.halliday@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge remote-tracking branch 'origin/closedown-4.0.x'

Conflicts:
	common/thorhelper/roxierow.cpp

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #4865 from jakesmith/hpcc-10072

HPCC-10072 - Avoid roxiemem allocator cache deadlock

Reviewed-By: Gavin Halliday <gavin.halliday@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
HPCC-9984 Compile direct from a version control system

Minor fixes following code review

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #4825 from richardkchapman/eclcc-repo

HPCC-9984 Compile direct from a version control system

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>