Open pbzdyl opened 3 years ago
Thanks for the detailed issue description and reproduction. This issue occurs, as you show, when you have transitive dependencies also using lein-git-down. The only current workaround is to download the transitive dependencies first and have them cached, which is, of course, less than ideal. Will use this issue for status tracking.
Is there a chance this issue will be fixed? (e.g. is there a potential fix that could resolve this)
We know the cause of the issue and we should be able to fix it, however, the fix may be a bit involved. Will need to do some more investigation to determine the full scope.
Great - thank you for the information. Please, let me know if I can help (for example with testing).
Lein process is stuck while downloading dependencies with the following setup (I've minimized the reproduction case to that configuration):
We have the following Git projects (with links to their repos in Gitlab):
Empty ~/.m2/repository and ~/.gitlibs directories (a common situation in clean CI builds without any caches).
Steps to reproduce:
Output:
and the process is stuck with this output (there is no progress made).
Thread dump attached.
I suspect that this is related to file locking because when I deleted the ~/.m2/repository when the process was stuck, suddently it unblocked and continued with the following output:
and it got blocked again.