Fork me on GitHub
#tools-deps
<
2020-08-17
>
borkdude08:08:34

Creating uberjars with depstar native in bb now also works on Windows:

🎉 2
parrot 1
jimberlage13:08:25

Anyone ever seen a message like the following after updating the :sha of a git dependency:

Error building classpath. Destination path "my-lib" already exists and is not an empty directory
org.eclipse.jgit.api.errors.JGitInternalException: Destination path "my-lib" already exists and is not an empty directory

delaguardo13:08:14

you can delete local artifacts in $HOME/.gitlibs/{libs,_repos} and restart the repl

delaguardo13:08:09

I don’t know exactly what cause that problem. In my case it happens after changing :git/url

alexmiller13:08:53

I believe this is the result of parallel downloading to gitlibs messing up one of the cached git dirs

alexmiller13:08:52

if you clear your ~/.gitlibs (either fully or selectively) and then do clj -Sforce -Sthreads 1 that should force a re-download singlethreaded

alexmiller13:08:16

we have a ticket for this, I haven't had a chance to really look at in depth yet

jimberlage13:08:58

Thanks! Trying that revealed another error - technically auth-related, but testing ssh pushes/pulls to github on this repo still works for me, so I'm wondering if this is somethimg on my end or a symptom of a different bug:

Error building classpath. [email protected]:me/my-lib.git: USERAUTH fail

alexmiller13:08:12

you'll need to debug why it's not finding the key: 1. is ssh-agent running? if not, start it 2. does ssh-add -l list your public key? if not, add it 3. if you're on a Mac, check whether your ~/.ssh/config has Host * / IdentityFile in it, if so comment that out or remove it

💯 1
alexmiller13:08:48

after that, things get trickier to debug, could be key type

jimberlage14:08:43

Looks like the bit about the IdentityFile line fixed it. Thank you