Fork me on GitHub
#cursive
<
2021-11-02
>
Shantanu Kumar17:11:20

Can anyone share pointers on how to switch from stable to EAP version of Cursive?

Shantanu Kumar17:11:38

I downloaded the EAP ZIP - how to install it now?

Shantanu Kumar19:11:51

In deps.edn projects {:mvn/version "_"} doesn't seem to be auto-resolving to the latest current version - is there a way to enable that?

imre20:11:34

Is the issue isolated to cursive? Does it work if you run clojure -Srepro -Stree from the command line?

cfleming20:11:16

Good question, I wasn’t aware that was a thing. I’d also be interested to know if that works from the command line.

imre20:11:33

; clojure -Srepro -Stree -Sdeps '{:deps {org.clojure/clojure {:mvn/version "_"}}}'
Error building classpath. Could not find artifact org.clojure:clojure:jar:_ in central ()

imre20:11:18

Looks like it isn't a thing, which is consistent with how I know Alex & co.

Shantanu Kumar21:11:18

Thanks, @U08BJGV6E maybe it's a project specific config that I mistakenly considered a clj tool feature.

1
Alex Miller (Clojure team)21:11:38

That’s not a thing. You can use “RELEASE” (that’s a Maven thing), but be aware that breaks the deps cache

onetom06:11:19

what does "breaks the deps cache" mean? im aware, that using RELEASE as a coordinate results in checking for the latest version often (or always) at process startup, which can be very slow, depending on the quality of the network connection.

Alex Miller (Clojure team)12:11:00

It's actually the opposite - the classpath cache looks good and will not be recomputed so you'll never see new versions

onetom15:11:34

ah, I probably mixed it up with how the SNAPSHOT versions behave.

Alex Miller (Clojure team)15:11:47

more accurate than "breaks the cache" is "breaks the assumptions of the cache"

👍 1
Alex Miller (Clojure team)15:11:02

which is that a version is immutable and fixed