For customers that manually download the APRL repro because of firewall restrictions, an option to bypass the automatic git clone process in the LocalFiles function, so that it does not forcefully and recursively remove items in the clone path.
From customer feedback:
Include a switch parameter that allows bypass the “git” checks. Specifically in the LocalFiles function. The problem with the way it runs right now when you run the script if you have manually grabbed the required files/folders from git the script while running the checks in the LocalFiles function detects that the files/folder exists locally and it then says “resetting” it. It will try to use git to clone the repo from the git server. The problem is that the act of trying to clone from the server, even if its unable to reach the server, still clears , deletes the files you’ve copied manually.
In our environment we cannot directly clone from the git server (unless we’ve done all the magic to allow git client to go through the firewalls). So while playing with the script the localfiles check would end up killing the required files that the script uses for its checks so it fails to generate anything.
Describe alternatives you've considered
Customer implemented a work around by commenting out the code referened above in the LocalFiles function:
Describe the solution you'd like
For customers that manually download the APRL repro because of firewall restrictions, an option to bypass the automatic git clone process in the LocalFiles function, so that it does not forcefully and recursively remove items in the clone path.
From customer feedback:
Include a switch parameter that allows bypass the “git” checks. Specifically in the LocalFiles function. The problem with the way it runs right now when you run the script if you have manually grabbed the required files/folders from git the script while running the checks in the LocalFiles function detects that the files/folder exists locally and it then says “resetting” it. It will try to use git to clone the repo from the git server. The problem is that the act of trying to clone from the server, even if its unable to reach the server, still clears , deletes the files you’ve copied manually.
In our environment we cannot directly clone from the git server (unless we’ve done all the magic to allow git client to go through the firewalls). So while playing with the script the localfiles check would end up killing the required files that the script uses for its checks so it fails to generate anything.
Describe alternatives you've considered
Customer implemented a work around by commenting out the code referened above in the LocalFiles function:
Additional context