tools-deps

Discuss tools.deps.alpha, tools.build, and the clj/clojure command-line scripts! See also #depstar #clj-new
kenny 2020-06-04T00:09:39.281700Z

Git deps won't work at all unless they generate an older key. I think anyone with a new Mac will hit this issue 😞

ghadi 2020-06-04T00:39:22.282400Z

ed25519 keys work fine if you use an ssh-agent

ghadi 2020-06-04T00:39:37.282900Z

If you rely on .ssh/config you will have a bad time

2020-06-04T14:09:18.284Z

can you point to something that explains why using a config will lead to a bad time?

2020-06-04T14:09:36.284200Z

This seems relevent to some of the waters i'm having to navigate.

2020-06-04T14:09:51.284400Z

As i removed the config and things "just worked"

2020-06-04T00:52:32.283Z

The downside is that you have to have a GitHub deploy key per repo.

2020-06-04T14:49:04.286Z

How can i get more information about why the connector is available?

Cloning: git@github.com:Some-Repo
Error building classpath. connector is not available: 
com.jcraft.jsch.agentproxy.AgentProxyException: connector is not available: 
at com.jcraft.jsch.agentproxy.ConnectorFactory.createConnector(ConnectorFactory.java:120)
In the same context i can run git clone on a repo and it succeeds.

2020-06-04T14:53:51.286900Z

maybe the docker image i'm running in doesn't have something git deps expects to be installed at a system level?

alexmiller 2020-06-04T14:54:26.287100Z

are you running ssh-agent?

2020-06-04T14:55:40.287900Z

checking...

ghadi 2020-06-04T14:59:10.288200Z

echo $SSH_AUTH_SOCK will tell you definitively

ghadi 2020-06-04T14:59:37.288800Z

if you're running in a docker container, probably not, unless you started it explicitly

2020-06-04T15:01:45.289300Z

thanks ghadi.

2020-06-04T15:15:45.290300Z

it doesn't appear to output anything. argh, ill have to somehow start it and save it between google cloud steps.

2020-06-04T15:41:52.290700Z

yea. i just jump started the ssh agent first and then called clojure