Fork me on GitHub
#tools-deps
<
2018-03-27
>
ghadi01:03:57

what a great article.

dominicm16:03:44

I'm getting a weird issue. In Heroku, the clone step is failing for a https url with "authentication is required but no credentialsprovider has been registered". I can't think what the cause would be?

dominicm16:03:55

Maybe it's something in ~/.ssh/config 😮 I don't know though.

Alex Miller (Clojure team)16:03:32

with https url shouldn’t be using ssh at all

Alex Miller (Clojure team)16:03:23

are you hitting a private repo via https? that’s not yet supported

dominicm16:03:51

No, it's a public one.

dominicm16:03:29

Oh yes, duh, of course ssh isn't engaged here at all.

dominicm16:03:50

:extra-deps {
                                io.dominic/krei.alpha {:git/url ""
                                                       :sha "778ad4eb6130b7023204bf526b6f49d1429e4132"}}
Works locally, but not in heroku, it's definitely something contextual.

dominicm16:03:34

Haha. I see the problem now. There's a typo in my username. I'm so terrible. Sorry for the noise.

jeff.terrell18:03:39

For what it's worth, I learned recently that you can add custom ssh keys to Heroku, so that it can fetch deps from private git repos via SSH. (I had to do that because we were using a private npm package with github coordinates instead of npm registry coordinates.) https://github.com/simon0191/custom-ssh-key-buildpack (I realize you already solved your problem, @dominicm, it's just a useful capability to be aware of, so seemed worth sharing.)

dominicm18:03:21

That's very useful, thank you

👍 4
richiardiandrea21:03:16

So spamming a bit more - in #clojurescript Alex gave me this brilliant/weird/maybe odd idea of converting https://github.com/boot-clj/boot/blob/30ba3ce69dcd8b2b3e00677a14db05c8ce49d59c/boot/base/src/main/java/boot/App.java

richiardiandrea21:03:35

so that it can be called directly from clj

richiardiandrea21:03:45

as in boot -m boot.main -param1 -param2

richiardiandrea21:03:57

ClojureScript does something similar at the moment and it is definitely a nice pattern

richiardiandrea21:03:20

oh ok cool didn't read that thanks

dominicm21:03:05

oh, that may be what I meant.

dominicm21:03:18

clojureverse is down for me, so I was stabbing in the dark 😛