KIDSPatchSequenceApply: make __reloadPackagePatchHisty more lenient

In the process of installing CPRS 29 KIDS patch CSV_HDS_1_0.KID,
the _reloadPackagePatchHostory_ method throws an assertion error as
"CSV HDS" is not a valid namespace. The original code assumes the any
installation name in the format like "ABCD 2.0" implicitly indicates
that ABCD is the namespace and 2.0 is the version #, this in general is the case.
However, in the case, the code needs to be more lenient to handle it gracefully.

KIDSPatchOrderGenerator: add more debugging message for multibuilds dependencies.

OSEHRA-Id: http://issues.osehra.org/browse/VAF-86
Change-Id: If9c03bf025cdadaa329144cf940b840e1acef957
Add pl_test016 and pl_test017

Change-Id: I30a8cd7ef100cf7770b16d2e68a6eb34adfd463f
KIDSPatchParser: Document checksum function

It implements the checksum used by CHECK1^XTSUMBLD.

Suggested-by: David Whitten <whitten@netcom.com>
Change-Id: Ic8b7babc348ef3cc071b680d0214f77247ea5e48
Merge "KIDSPatchParser: Document checksum function"
VistAGlobalImport: Add optional timeout argument

for command line interface, default timeout value is 60 seconds.

Also change inputFile to positional argument, and rename to
inputGlobalFile.

OSEHRA-Id: http://issues.osehra.org/browse/VAF-87
Change-Id: I1cad7c5964d058ef9b88beb1e61ac44f65b62019
VistARoutineImport: Adjust %RI prompt change in Cache2011

Also change routineImportFile argument to be positional.

OSEHRA-Id: http://issues.osehra.org/browse/VAF-88
Change-Id: I296d9c98c807dc16dfcec609174df34cebf3b3d6
Merge "Add pl_test016 and pl_test017"
Remove XINDEX testing dependency on VistA-FOIA repo

Remove the dependency of the VistA repository on the VistA-FOIA repository
for creating the XINDEX scripts used in testing.

Move the set of the TEST_VISTA_FRESH_M_DIR to the UnitTest setup section,
as those tests still need the Scripts Directory.

Use the ParseCSVforPackagePrefixes code to parse the Packages.csv file for
the prefixes and pass to the XINDEX test.

Change the places where the 'Routines' directory is globbed for routines to
test to instead use the ^%RD to query the instance for the routines using
the prefixes above.  This list of routines should be written to a
file and read in during the test to create the listing.

Change the XINDEXScript.py to be a configurable file.

Change the ReportXINDEXErrors macro in CommonFunctions.cmake to no longer
require the VistA-FOIA path as an arugment.  Change references to
${OSEHRA_PATH} to refer to ${ARGV6}, thus making it an optional parameter.

Change the if(GREP_EXECUTABLE AND TAG) statment to also check for the
ARGV6 value.  If it is defined, then proceed with finding the line number
of the error.

OSEHRA-Issue: http://issues.osehra.org/browse/OAT-55
Change-Id: I09ac8f852fd4c68a605a68e8e26c7cef240fe67b
Merge "Remove XINDEX testing dependency on VistA-FOIA repo"
DefaultKIDSPatchInstaller: Use KIDSPatchParser to obtain KIDS Info

In DefaultKIDSPatchInstaller command line interface, reduce number of
input arguments by using KIDSPatchParser to parse information related to a
KIDS build.

In testAddPackagePatchHistory, replacing try finally with "with" statement.

OSEHRA-Id: http://issues.osehra.org/browse/VAF-90
Change-Id: I8068a889e68b9e3c22ca1d133e8f1938158754c7
Merge "VistARoutineImport: Adjust %RI prompt change in Cache2011"
Merge "VistAGlobalImport: Add optional timeout argument"
Merge "DefaultKIDSPatchInstaller: Use KIDSPatchParser to obtain KIDS Info"
Remove MUnit dependency on VistA-FOIA repo

Remove the call to the TEST_VISTA_FRESH_M_DIR/Scripts directory. Instead,
use the VISTA_SOURCE_DIR/Scripts

Remove the set of the TEST_VISTA_FRESH_M_DIR from the MUnit creation block
of the CMakeLists.txt

OSEHRA-Issue: http://issues.osehra.org/browse/OAT-62
Change-Id: Ibf34ccbb8c3134f3174fca0caec350440332dcd5
Merge "Remove MUnit dependency on VistA-FOIA repo"
UnitTest: Add Unit Tests for ZTMGRSET

Test the PATCH and RELOAD entry points in ZTMGRSET using patch numbers
less than 999 and greater than 999.

Add support to Functional Testing CMakeLists to support VistATestClient
Unit Tests

OSEHRA-Id: http://issues.osehra.org/browse/VAF-89
Change-Id: I8630468f6677b83e2eed52f1502e31510b946a02
Merge "UnitTest: Add Unit Tests for ZTMGRSET"
Documentation: Update InstallGTM.rst file for errors and new prompts

Fix Syntax errors found during a walkthrough.

Add the prompt for GT.M x64 about removing .o files
and instructions to add libgtmutil.so library to the 'gtmroutines'
env variable instead of the GT.M install directory.

Add non-specific example of o and r entry in gtmroutines setup.

OSEHRA-Issue: http://issues.osehra.org/browse/OAT-61
Change-Id: I2fc04758f9f8021713a235768d71f2a4702444f9
KIDSPatchSequenceApply: fix dependency build checking

For non standard install name like "VBECS 1.0" in patch LR*5.2*382,
the dependency check should also query the install file if there is no
package history for such an install name.

OSEHRA-Id: http://issues.osehra.org/browse/VAF-91
Change-Id: I740c22ba9e18e6aaae60a8183372543c94c8e1ea
DefaultKIDSPatchInstaller: Drop "Incoming Mail Group:" from list

As it turns out "Incoming Mail Group:" is just a place holder, the real
question is "Enter the Coordinator for Mail Group". The original code works
only if there is just one "Enter the Coordinator for Mail Group" question to
answer.

OSEHRA-Id: http://issues.osehra.org/browse/VAF-92
Change-Id: I300d738950fed80b83fed65d79087928b9e74849