This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-03-19
Channels
- # announcements (6)
- # aws (10)
- # beginners (73)
- # bristol-clojurians (2)
- # calva (9)
- # cider (25)
- # clj-kondo (7)
- # clojure (160)
- # clojure-dev (2)
- # clojure-europe (63)
- # clojure-italy (7)
- # clojure-nl (10)
- # clojure-uk (76)
- # clojuredesign-podcast (6)
- # clojurescript (63)
- # cursive (6)
- # data-science (3)
- # datomic (26)
- # duct (59)
- # emacs (1)
- # fulcro (12)
- # graalvm (17)
- # hoplon (23)
- # jobs-discuss (2)
- # kaocha (6)
- # meander (7)
- # off-topic (3)
- # pathom (2)
- # rdf (68)
- # re-frame (12)
- # reagent (20)
- # reitit (5)
- # ring (3)
- # ring-swagger (1)
- # shadow-cljs (14)
- # spacemacs (10)
- # sql (3)
- # tools-deps (30)
- # yada (9)
Hi, probably a quick question: Can I use a private github repo as a dependency in deps.edn? I'm trying, but getting Authentication is required but no CredentialsProvider has been registered
. If it is supported, how do I provide my credentials (a github access token, I guess)?
I've been trying git@github links, which work from the command-line (`git clone git@github`), but when I try that in a deps.edn I get invalid privatekey
. I must be missing something simple...
Sorry, I thought I hadn't run ssh-agent
and it was working, but I was actually in the wrong directory. 😞
I added to the dependencies. My private repo is the last one listed below. I then try to run clj
and the result is Error building classpath. [email protected]:bbc/cosmos-clj-lib.git: invalid privatekey: [...
here it is.
And, no, it's not an ed25519 key, as far as I can tell (they both say RSA).
if you have a bunch of entries like defaults in $HOME/.ssh/config consider moving that file out of the way and retrying
Ah, that worked. I need those entries in config for various things, so I wonder what I need to do to not confuse things.
But, anyway, I can now build, so that's a big improvement. Thank you!
I’m getting an unexpected transitive dependency resolution in my deps.edn project. This is what my dependency tree looks like:
my-project -> direct-dep -> trans-dep1 (version 1)
\
-------> trans-dep2 -> trans-dep1 (version 2)
• direct-dep is a git dependency
• direct-dep has a pom.xml file that serves as the manifest
The problem is that trans-dep1 (version 2) is on the classpath instead of version 1Am I correct in thinking that version 1 of trans-dep1 should be the expected resolution (assuming I’m describing this correctly and am not doing something dumb I’ve overlooked)
the long form is Rich's "Spec-ulation" talk https://www.youtube.com/watch?v=oyLBGkS5ICk
and I've done a couple talks that cover it as well, most recently (https://www.youtube.com/watch?v=7CM7Ef-dPWQ)
I don't know if I have a good written thing to point at
Np, I think I’ve seen the spec-ulation talk. I think I vaguely remember this. In any case, I can imagine an argument that chosing the latest version is simpler, easier-to-understand behavior compared to the behavior in lein/mvn that I was expecting.
The latest episode of the ClojureScript Podcast is very good https://clojurescriptpodcast.com/ -- Alex talks about tools.deps and covers this specific issue...
oh yeah, that too. we recorded it months ago so it's hard to remember that. :)
It's a really good all-round discussion about tools.deps
and the new CLI stuff. Definitely worth pointing folks at for any Qs regarding the "philosophy" of it (including the SemVer stuff).