tools-deps

jumar 2024-11-28T11:22:35.195709Z

It seems that having myorg/dep declared in a myorg/library deps.edn as git dependency

myorg/dep {:git/url "git@github.com:myrog/dep.git"
             :git/sha "889c..."}
still triggers git clone, even if the myorg/dep is exluced in the main project
myorg/lib {:local/root "../lib"
                   :exclusions [myorg/dep]},
Why is that?

danielneal 2024-11-28T12:05:40.534109Z

I’m collaborating on some infra work, and hitting issues with using clj when access to internet is through a proxy. I remember being helped to fix this years ago, but the answer back then involved patching the clj command. It looks like TDEPS-20 should have fixed it since. My question is - do we need both the maven settings.xml (for maven deps) and the http_proxy/https_proxy (for git deps) Have I misunderstood, what’s the best practice?

Kirill Chernyshov 2024-11-28T12:41:29.812519Z

afaik, maven doesn't get involved in resolving git deps. so yes, you need both

danielneal 2024-11-28T12:47:30.719329Z

cool, got it thanks!