Fork me on GitHub
#tools-deps
<
2018-09-22
>
genRaiy14:09:55

@alexmiller just checking that the add-lib method from earlier SHAs should still work with 1.10-alpha7

genRaiy14:09:05

cos I am having fails

Alex Miller (Clojure team)14:09:49

Haven’t tried it, but not sure why it wouldn’t off the top of my head

genRaiy14:09:07

gives back a false

genRaiy14:09:18

for the example memoize (and others)

genRaiy14:09:04

could be something on my end - just wanted to make sure that it wasn’t meant to be deprecated

Alex Miller (Clojure team)14:09:00

$ clj -Sdeps '{:deps {org.clojure/clojure {:mvn/version "1.10.0-alpha7"} org.clojure/tools.deps.alpha {:git/url "" :sha "d492e97259c013ba401c5238842cd3445839d020"}}}'
Downloading: org/clojure/clojure/1.10.0-alpha7/clojure-1.10.0-alpha7.pom from 
Downloading: org/clojure/clojure/1.10.0-alpha7/clojure-1.10.0-alpha7.jar from 
Clojure 1.10.0-alpha7
user=> (use 'clojure.tools.deps.alpha.repl)
nil
user=> (add-lib 'org.clojure/core.memoize {:mvn/version "0.7.1"})
true
user=> (require 'clojure.core.memoize)
nil

genRaiy14:09:07

maybe false is OK if the lib is already available

Alex Miller (Clojure team)14:09:38

yeah, you’ll get true only if added a new lib(s)

genRaiy14:09:34

ok, great - thanks for checking

Alex Miller (Clojure team)14:09:55

it can’t be deprecated - I haven’t even released it yet :)

genRaiy14:09:10

LOL fair point

genRaiy14:09:29

are you close to release or is the debate still ‘raging’?

Alex Miller (Clojure team)15:09:10

been focused on other things :)

genRaiy15:09:31

what could possibly be more important

genRaiy15:09:16

the problem I’m having might be related to Cursive as the tests all pass via the CLI

genRaiy15:09:53

and fail via the deps.edn default REPL there, so I’ll mention it on that channel later