Fork me on GitHub
#clojure-uk
<
2017-07-03
>
thomas07:07:58

morning 😼 mogge

chrjs08:07:29

Moaning ☕

yogidevbear08:07:51

How is everyone after the weekend?

guy08:07:31

in need of coffee

guy08:07:36

how about you

thomas09:07:30

Good moaning indeed @yogidevbear ...

yogidevbear09:07:05

Finished my second cup of coffee

guy09:07:52

I’ll go brew some

guy09:07:57

Morning @otfrom 👋

elise_huard11:07:28

good morning.

elise_huard11:07:42

has anyone tried ring with 1.9.0-alphax ?

elise_huard11:07:10

trying to find out if there is a branch for that

elise_huard11:07:07

basically, trying to run gorilla-repl with 1.9.0-alpha16, and it complains because a spec in ring doesn't conform to a given spec for ns'es

elise_huard11:07:58

apparently it's really due to 1.9.0-alpha16 according to changelog https://www.clojure.org/community/devchangelog

minimal11:07:34

i’ve been using ring fine with 15 for a while, not tried 16 yet

glenjamin11:07:53

interesting, moving spec outside core sort of

glenjamin11:07:02

anyone know if there’s any write-up on why?

glenjamin11:07:09

oh, it’s right here below

seancorfield16:07:40

@elise_huard We’ve been using Ring with all the 1.9 Alpha builds. Which version of Ring are you using?

elise_huard16:07:45

@seancorfield I'm now suspecting I landed in dependency hell, in that running the plugin seems to be requiring an older version of ring-core (1.2.2)

elise_huard16:07:55

so have to work that out, PEBCAK probably 🙂

seancorfield16:07:06

Ouch! Yeah, that’s old. We’re on 1.6 I think…

elise_huard16:07:44

yes, explicitly requiring 1.6.1. oh well ...

seancorfield16:07:29

You’ll need :exclusions on something else to force it not to use the earlier Ring. lein deps :tree will be your friend there. Or tell Leiningen to be :pedantic true I think (I’m a Boot user so I’m not as familiar with Leiningen now).

otfrom16:07:34

@elise_huard I'm not sure if anyone is on #gorilla but it might be worth asking

elise_huard20:07:01

@seancorfield out of interest, does boot makes it easier to debug these kind of issues?

seancorfield20:07:05

@elise_huard I don’t think it makes much difference on the basic stuff like dependencies (although you can easily configure global exclusions — not sure if lein supports that?) but I find the dynamic nature of Boot much easier to work with in a REPL-based development workflow.

seancorfield20:07:47

For example, Boot makes it easy to dynamically add new dependencies while you’re working (without restarting your REPL), and it’s much easier to write new tasks for Boot than it is to write new plugins for Leiningen.

elise_huard20:07:56

that is definitely a big win!

seancorfield20:07:41

We (World Singles) switched from Leiningen to Boot about 18 months ago and now almost our entire dev/test/build/deploy pipeline is written in Clojure using Boot. So that’s our biggest win.

seancorfield20:07:15

We’ve externalized all our dependencies (into EDN files) and we manage versions across projects using a properties file, and we have a Boot task to load source code and analyze namespace dependencies dynamically to construct the overall dependencies and versions for any given subproject we’re working on.

elise_huard20:07:21

nice one! might be worth another look for us (you had me at dynamic reloading of dependencies in the repl to be honest 🙂 )

elise_huard20:07:35

our deployment is fairly hooked in continuous integration, but would be interesting to see if some bits could still be replaced by boot tasks