Fork me on GitHub
#calva
<
2018-11-17
>
bozhidar09:11:00

Btw, adding nREPL 0.4.5 won’t do anything if you’re not on lein-master or you’re not using the standalone lein-nrepl plugin.

bozhidar10:11:18

Because that version is not released. 🙂

bozhidar10:11:16

nREPL had a different deployment artefact prior to version 0.3, so if you’re on lein 2.8.1 you simply can’t displace org.clojure/tools.nrepl with something that’s basically a different artifact.

bozhidar10:11:56

You need a version of lein that’s already using nrepl/nrepl and only then can you influence this through your project’s config.

bozhidar10:11:46

That’s why I created https://github.com/nrepl/lein-nrepl as an interim solution until lein 2.8.2 is released and we can just require people to upgrade to it.

pez10:11:47

Thanks. But essentially they are the same when it comes to functionality, right?

bozhidar10:11:12

More or less.

bozhidar10:11:59

There are no backward incompatible changes, but there are some features that exist only in the newer versions. Not to mention a few bugfixes.

bozhidar10:11:42

In 0.5 the gap is going to widen when nREPL introduces the new EDN transport, native support from pretty-printing, native configuration and so on.

pez10:11:04

Does the lein-nrepl plugin spit a port-file?

bozhidar10:11:13

Potentially native authorization and truncation support will also land there, but that’s TBD at this point.

bozhidar10:11:15

Yeah, it does.

bozhidar10:11:57

(the whole plugin is like 20 lines of code)

pez10:11:42

Great. I might want to add this to the README of Calva.

bozhidar10:11:08

Anyways, I just wanted to point out that the dependency does nothing, otherwise you’ll be good with nREPL 0.2 for a while.

pez10:11:14

Funny, I have been thinking I am using 0.4.5 for a long while. 😃

bozhidar10:11:32

I don’t plan to drop support for 0.2 from cider-nrepl and refactor-nrepl before lein 2.8.2 is released.

bozhidar10:11:22

But that’s certainly happening as soon as it becomes feasible, as I don’t want to cart a bunch of compatibility code around for an extended period of time.

pez10:11:23

I’ll hurry with adding some kind of jack-in to Calva so that I can quickly move together with your changes.

bozhidar10:11:34

It’s an honest mistake. 😉

pez10:11:52

And what’s the sitation for people using boot or deps.edn? If you know it top of mind, that is.

pez10:11:46

Seems like Calva isn’t ready for 0.4.5 yet.

pez10:11:17

The bencode decoding goes totally crazy. 😱