Fork me on GitHub
#tools-deps
<
2020-11-11
>
nate03:11:51

Where are all the places you can use an alias keyword to interpolate data from aliases? I've seen examples in :paths and :exec-args, and I'm wondering how far the rabbit hole goes...

alexmiller03:11:00

those are it right now

nate03:11:15

thank you

henryw37409:11:30

I'm looking for a tool that will help pull out unnecessary :exclusions - ie keeping the set of resolved dependencies unchanged for some combination of aliases. anyone know of such a thing? thanks

borkdude10:11:44

@henryw374 I once diagnosed a dependency problem like this using clojure.spec: https://github.com/borkdude/dependency-problem

1
henryw37412:11:53

another thing I'm looking for is a documented description of how deps chooses which version of a dependency to use. I expect it's there but I just can't see it on http://clojure.org and so far google has failed

alexmiller13:11:16

I did a talk at the conj about it, that’s probably the best description right now. The summary though is that it tries to use the newest version it can.

andy.fingerhut14:11:48

"the newest version it can" could be easily misinterpreted as "the newest version available on Maven central and/or Clojars", e.g. similar to behavior of using a -SNAPSHOT or -RELEASE version.

andy.fingerhut14:11:52

Would it be accurate (but slightly longer) to say "the newest version among all of those versions explicitly requested by at least one of your dependencies (but top level can override that)" ?

alexmiller13:11:02

But top level dep versions always win

henryw37413:11:34

gottit! thanks

imre14:11:33

is there any way to tell the clj command to ignore my custom .clojure/deps.edn?

imre14:11:49

ah, I may have found it, -Srepro