Retry up to 3 times when running git clone
What does this Merge Request do and why?
This MR attempts to make the gdk install
process more robust by retrying git clone
commands if they fail. Unfortunately git
does not support/offer a --retry
option currently so we need to implement our own solution.
Merge Request checklist
-
This change is backward compatible. If not, please include steps to communicate to our users. -
Tests added for new functionality. If not, please raise Issue to follow-up. -
Documentation added/updated, if needed. -
gdk doctor
test added, if needed. -
Add the ~highlight
label if this MR should be included in theCHANGELOG.md
.
Edited by Ash McKenzie