Fork me on GitHub
#tools-deps
<
2020-02-09
>
deleted01:02:20

it's alpha, thankfully, so changes like this would be ok?

andy.fingerhut01:02:00

I suspect Alex is in a mind set where even though it is alpha, adding things that he doesn't see value in supporting long term is like intentionally planning to pull the rug out later.

Alex Miller (Clojure team)03:02:25

it's not alpha in my mind

Alex Miller (Clojure team)03:02:04

Rich and I just haven't had the time to think through what changing it to be non-alpha means yet

andy.fingerhut07:02:02

If I interpret what Alex said correctly, it is currently alpha, but he and Rich want it to become non-alpha soon-ish.

Alex Miller (Clojure team)07:02:17

it has alpha in the name, but I have been maintaining it like it's not alpha for a long time, and believe the api is stable

borkdude08:02:38

deps.clj non-standard features are certainly alpha though, I think it can be a place of experimentation as far as the bash part goes

Rachel Westmacott10:02:19

Morning! I've just got an error from my IDE saying: "The following errors were found during project resolve: /home/peter/personal/mandel-zero/deps.edn: Destination path "see" already exists and is not an empty directory" - it doesn't tell me where this non-empty directory is though! Is there a place where tools-deps caches dependencies from github that I can go and delete things from?

dharrigan10:02:25

Have you tried to delete .cpcache?

Rachel Westmacott10:02:38

I think its ~/.gitlibs

Rachel Westmacott10:02:23

oh, dear, I seem to have broken it. it now just says 'Auth fail' instead

Alex Miller (Clojure team)14:02:08

what happens if you are just at the command line?

Alex Miller (Clojure team)15:02:25

these sound like ide specific issues, not tools.deps

Rachel Westmacott15:02:55

strangely not. The ide appears to be reporting an underlying error

Rachel Westmacott15:02:16

on the plus side I do get a stack trace though

Rachel Westmacott15:02:25

Cloning: [email protected]:peterwestmacott/draw.git
Error building classpath. [email protected]:peterwestmacott/draw.git: Auth fail
org.eclipse.jgit.api.errors.TransportException: [email protected]:peterwestmacott/draw.git: Auth fail
	at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:248)
	at org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:306)
	at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:200)
	at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:89)
	at clojure.tools.gitlibs.impl$call_with_auth.invokeStatic(impl.clj:49)
	at clojure.tools.gitlibs.impl$call_with_auth.invoke(impl.clj:41)
	at clojure.tools.gitlibs.impl$git_clone_bare.invokeStatic(impl.clj:71)
	at clojure.tools.gitlibs.impl$git_clone_bare.invoke(impl.clj:68)
	at clojure.tools.gitlibs.impl$ensure_git_dir.invokeStatic(impl.clj:110)
	at clojure.tools.gitlibs.impl$ensure_git_dir.invoke(impl.clj:100)
	at clojure.tools.gitlibs$resolve.invokeStatic(gitlibs.clj:33)
	at clojure.tools.gitlibs$resolve.invoke(gitlibs.clj:29)
	at clojure.tools.gitlibs$procure.invokeStatic(gitlibs.clj:47)
	at clojure.tools.gitlibs$procure.invoke(gitlibs.clj:41)
	at clojure.tools.deps.alpha.extensions.git$eval925$fn__927.invoke(git.clj:41)
	at clojure.lang.MultiFn.invoke(MultiFn.java:239)
	at clojure.tools.deps.alpha$expand_deps.invokeStatic(alpha.clj:189)
	at clojure.tools.deps.alpha$expand_deps.invoke(alpha.clj:172)
	at clojure.tools.deps.alpha$resolve_deps.invokeStatic(alpha.clj:239)
	at clojure.tools.deps.alpha$resolve_deps.invoke(alpha.clj:221)
	at clojure.tools.deps.alpha.script.make_classpath$create_classpath.invokeStatic(make_classpath.clj:59)
	at clojure.tools.deps.alpha.script.make_classpath$create_classpath.invoke(make_classpath.clj:52)
	at clojure.tools.deps.alpha.script.make_classpath$run.invokeStatic(make_classpath.clj:70)
	at clojure.tools.deps.alpha.script.make_classpath$run.invoke(make_classpath.clj:64)
	at clojure.tools.deps.alpha.script.make_classpath$_main.invokeStatic(make_classpath.clj:109)
	at clojure.tools.deps.alpha.script.make_classpath$_main.doInvoke(make_classpath.clj:84)
	at clojure.lang.RestFn.applyTo(RestFn.java:137)
	at clojure.lang.Var.applyTo(Var.java:705)
	at clojure.core$apply.invokeStatic(core.clj:665)
	at clojure.main$main_opt.invokeStatic(main.clj:491)
	at clojure.main$main_opt.invoke(main.clj:487)
	at clojure.main$main.invokeStatic(main.clj:598)
	at clojure.main$main.doInvoke(main.clj:561)
	at clojure.lang.RestFn.applyTo(RestFn.java:137)
	at clojure.lang.Var.applyTo(Var.java:705)
	at clojure.main.main(main.java:37)
Caused by: org.eclipse.jgit.errors.TransportException: [email protected]:peterwestmacott/draw.git: Auth fail
	at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:172)
	at clojure.tools.gitlibs.impl.proxy$org.eclipse.jgit.transport.JschConfigSessionFactory$ff19274a.getSession(Unknown Source)
	at org.eclipse.jgit.transport.SshTransport.getSession(SshTransport.java:140)
	at org.eclipse.jgit.transport.TransportGitSsh$SshFetchConnection.<init>(TransportGitSsh.java:280)
	at org.eclipse.jgit.transport.TransportGitSsh.openFetch(TransportGitSsh.java:170)
	at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:137)
	at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:123)
	at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1269)
	at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:237)
	... 35 more
Caused by: com.jcraft.jsch.JSchException: Auth fail
	at com.jcraft.jsch.Session.connect(Session.java:519)
	at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:126)
	... 43 more

Rachel Westmacott15:02:23

tbf I did go deleting directories in ~/.gitlibs to try and fix an earlier problem, which was probably a little reckless - I was sort of expecting them to get recreated as needed

Alex Miller (Clojure team)15:02:32

what git url are you using?

Alex Miller (Clojure team)15:02:05

I guess something like [email protected]:peterwestmacott/draw.git

Alex Miller (Clojure team)15:02:15

is your ssh-agent running? does it have your ssh identity?

🌟 4
Alex Miller (Clojure team)15:02:26

ssh-add -l should list your key

Rachel Westmacott16:02:23

The agent has no identities.

Rachel Westmacott16:02:30

I'm guessing that's bad

Rachel Westmacott16:02:38

I'm running xubuntu

Rachel Westmacott16:02:57

oh, that seemed to sort it out. THANKS ALEX!!!!