commit | ba1c8c0e310bbe4a874aaa81042b8f1d3e8ac078 | [log] [tgz] |
---|---|---|
author | James E. Blair <jeblair@redhat.com> | Wed Oct 04 08:47:48 2017 -0700 |
committer | James E. Blair <jeblair@redhat.com> | Tue Oct 10 08:10:20 2017 -0700 |
tree | 7b2577254de583e7114cd47037304d9131b5cfe4 | |
parent | bccdfcf63da363979469fca1b202404ca94db961 [diff] |
Add git timeout Timeout remote git operations after 300 seconds. Because it could be in an invalid state, delete the local repo if a timeout occurs (subsequent operations will recreate it). This replaces our use of the clone_from() and fetch() methods from GitPython with lower-level equivalents. The high-level methods do not currently permit the hard timeout. The GitPython requirement is changed to a temporary fork until both https://github.com/gitpython-developers/GitPython/pull/682 and https://github.com/gitpython-developers/GitPython/pull/686 end up in a release. Change-Id: I7f680472a8d67ff2dbe7956a8585fb3714119e65