Skip to content

Mirror fallback does not work for git

Summary

Mirror fallback does not work for git. The git plugin tries to get the list of submodules from locally cloned repository that is taken from upstream. If upstream is not available, then fetch does not happen because it fails while getting the fetchers.

Steps to reproduce

  • Have an upstream and mirror for a git repository.
  • Take down the upstream mirror.
  • Make sure you do not have any repository or remove download cache.
  • Try to fetch.

What is the current bug behavior?

It fails and never tries to download from mirror.

What is the expected correct behavior?

It should fallback to the mirror.

Relevant logs and/or screenshots

Possible fixes

Other relevant information


To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information