Fork me on GitHub
#tools-deps
<
2018-03-22
>
ghadi16:03:44

git-related clj dep issues - https authentication is not supported yet by clj -- I wrote a patch that is waiting for eyes upstream - ssh authentication via Java is a usability trashfire. Works easily for some, doesn't work for others. I started rewriting tools.gitlibs (the underlying library) to shell out to git, but I'm not sure it is viable because the solution must work across Windows to be accepted upstream. - must ensure ssh-keyscan -H <host> >> ~/.ssh/known_hosts because you cannot accept unseen ssh hostkeys (clj is non-interactive) - esoteric .ssh/config options can break cloning because the underlying java ssh libraries reads the config file poorly - ed25519 keys supported via ssh-agent, but not via ~/.ssh/config entries i wrote that internally, thought it would be a useful summary of some usability issues here

👍 4
Alex Miller (Clojure team)16:03:51

If you want to make a troubleshooting page on wiki or site, go for it

ghadi16:03:03

wiki page is a great idea

dominicm16:03:45

Report from a training session we did with clj using the linux installer. The jars were created as root read-only! That makes the scripts broken for most users to our knowledge.

ghadi18:03:54

what did you expect to happen?

dominicm19:03:56

The jars would be readable by everyone.

ghadi19:03:34

oh they're only readable by root?

ghadi19:03:59

that's not what I see on my machine

dominicm19:03:24

I think the script changed recently

dominicm16:03:37

Looking at the script, I think it could be different to make these problems go away. Maybe I'll take a stab at tackling them.

👍 4
dominicm16:03:52

@alexmiller What is your process for testing the linux installer?