Closed sleblanc23 closed 5 months ago
Thanks @jayckaiser! I addressed all your comments
Changing source to RC/0.3.2.
@sleblanc23 Could you update the CHANGELOG file with these updates?
@jayckaiser should I do that by committing directly to the rc/0.3.2 branch?
Change log entry for when this is merged:
feature: add optional git_auth_timeout
config to avoid indefinite waiting for credentials when calling earthmover deps
, default of 60 seconds
This PR fixes an issue with
earthmover deps
hanging indefinitely as it attempts to clone a private repo and waits for a user without stored credentials to enter a username and password. The git clone command will timeout after the time specified by the optionalgit_auth_timeout
config. Default is 60 seconds, long enough to still allow a human user to enter a username and password during local development.In making this change I was able to remove the GitPython dependency, as the
git clone
command is now handled bysubprocess
.I tested this locally to ensure unchanged behavior when credentials are stored and I ran it in a docker container without git credentials to test the timeout.