Bug #3168

Updated by Tom Clegg over 5 years ago

It fetches the git repository into the Arvados internal repository even if the desired commit is already available in the internal repository. It should test to see if the commit is available in the internal repository, and only run "git fetch-pack" when the commit is not available. This will also suppress the "fetch over and over" behavior.

Also, the result of the "create new ApiClientAuthorization" operation should be cached. The current code creates a new token each time it tries to get a node allocation. Creating one per job, and keeping it in memory until the job eventually runs, should suffice.