hof icon indicating copy to clipboard operation
hof copied to clipboard

hof/mod: add retry to fetching / syncing repos

Open verdverm opened this issue 1 year ago • 1 comments

What feature would you like?

automatic or easy to use retry for fetch failures, mostly invisible to users

Is your feature request related to a problem you are experiencing? Please describe.

github clones being flakey at the time of writing, generally remotes get on the struggle bus sometimes

Describe alternatives you've considered

adding retry logic around hof mod ... commands

this is the task we can handle for everyone, instead of everyone needing to implement the same thing

Additional context

similar in effect to what we do with our formatter Dockerfile retry snippets, but in hof/mod

verdverm avatar Sep 26 '23 03:09 verdverm

or maybe not, we are going to be deprecating git backed modules most likely, so let's see how OCI goes, maybe the underlying code has built-in retry already for us 🤞

verdverm avatar Sep 27 '23 01:09 verdverm