Fork me on GitHub
#tools-deps
<
2022-03-24
>
miikka07:03:32

Could there be a concurrency issue with git dependencies? We're occasionally seeing that deps fails to clone a git repository with an error message like this. The dependency it is trying to download occurs in the dependency tree more than once.

fatal: destination path '...' already exists and is not an empty directory.

miikka07:03:32

Oh, and before that there's log entries saying that it's trying to clone the repo three times. Hints towards a concurrency issue.

Cloning: ssh://.../our-repo.git
Cloning: ssh://.../our-repo.git
Cloning: ssh://.../our-repo.git