This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-05-16
Channels
- # architecture (12)
- # aws (8)
- # bangalore-clj (1)
- # beginners (172)
- # boot (25)
- # chestnut (3)
- # cider (15)
- # cljsrn (5)
- # clojure (170)
- # clojure-india (1)
- # clojure-italy (21)
- # clojure-nl (87)
- # clojure-romania (3)
- # clojure-sg (1)
- # clojure-spec (1)
- # clojure-uk (79)
- # clojurescript (79)
- # cursive (2)
- # datomic (29)
- # dirac (26)
- # emacs (7)
- # fulcro (13)
- # jobs (4)
- # juxt (22)
- # lein-figwheel (1)
- # leiningen (2)
- # lumo (39)
- # nrepl (1)
- # off-topic (54)
- # onyx (124)
- # pedestal (1)
- # planck (4)
- # portkey (1)
- # re-frame (36)
- # reagent (2)
- # ring-swagger (8)
- # shadow-cljs (107)
- # spacemacs (1)
- # specter (25)
- # sql (7)
- # tools-deps (5)
- # vim (10)
- # yada (25)
Can CIDER make cider-jack-in-dependencies
support specify dependency like:
elisp
(add-to-list 'cider-jack-in-dependencies '("org.clojure/tools.deps.alpha" "{:git/url \"" :sha \"d492e97259c013ba401c5238842cd3445839d020\"}"))
I use this does not work.
It jack-in with depdency like:
Starting nREPL server via clojure -Sdeps '{:deps {org.clojure/tools.deps.alpha {:mvn/version "{:git/url "" :sha "d492e97259c013ba401c5238842cd3445839d020"}"} org.clojure/tools.nrepl {:mvn/version "0.2.13"} refactor-nrepl {:mvn/version "2.4.0-SNAPSHOT"} cider/cider-nrepl {:mvn/version "0.18.0-SNAPSHOT"}}}' -e '(require (quote cider-nrepl.main)) (cider-nrepl.main/init ["cider.nrepl/cider-middleware"])'...
@stardiviner Haven’t thought about such an use-case, so not really. Deps are supposed to be in the same format regardless of the tool used. That’s doable, of course.
@andre.stylianos The snapshot is on clojars now. Btw, @bhauman you know you have deploy rights for piggieback, right? 🙂
In function cider-clojure-cli-jack-in-dependencies
I saw the version is hardcoded, can it be more extendable? let user can provide string? So that specify {:git/url \"
is possible? Don't know other build tools like Leiningen seems can't support Git revision. Even though has external tools like lein-git-revision
, but it will make CIDER too complex. Maybe until future one day clj + tools.deps.alpha
can be used widely?
Huuu, seems this solution is not good. forget it.
@stardiviner in this particular case, it may be notable that t.d.a is on maven
What's "t.d.a"? Haven't found in dictionaries, and Google Translate.
Aha, I see. 🙂
@stardiviner When I wrote this tools.cli didn’t support git revisions. Generally this can be augmented, but I wonder what would be the value if 3 out of 4 tools we support can’t handle git versions.
You're right, I think the same thing. 🙂
Just tested the latest piggieback snapshot, working nicely!
FYI - I just cut nREPL 0.3.0 which is mostly a cleanup/transitional release. I’ve changed the deployment artefact to cider/nrepl
, but the namespaces are still the same and I’ll change those in next release as well back to nrepl.*
. I just felt it was important to honour’s Chas’s plan for the transition, even if I doubt anyone will use 0.3.0.