Fork me on GitHub
#tools-deps
<
2022-11-30
>
Noah Bogart15:11:03

Is it possible to set the GITLIBS directory within the deps.edn file and furthermore within an alias? I expect no, given https://ask.clojure.org/index.php/11711/set-mvn-local-repo-via-alias about setting :mvn/local-repo in an alias

Noah Bogart15:11:35

Would you like an Ask ticket for this?

Alex Miller (Clojure team)15:11:20

I'm not sure it's feasible to implement

Noah Bogart15:11:03

Oh? That's surprising to me. If you don't mind, what makes it hard to implement?

Alex Miller (Clojure team)15:11:01

the deps process is the things that reads and interprets the deps.edn so in general, things that affect its environment have to be not in deps.edn

Alex Miller (Clojure team)15:11:40

I guess gitlibs can be configured via Java system property, and maybe it would be possible to read the deps.edn, and set that before resolving deps. but I'd have to think about whether there is a good place to even do that right now

Alex Miller (Clojure team)15:11:51

I mean, you can always create an Ask question regardless

👍 1