Howdy all, trying to download a dependency from git and I'm getting an auth fail. git from the cmd line works just fine. Is there something about setup that I need to do?
Everything works fine on wsl/linux with the same deps.edn file.
@jackson.reynolds Public or private repo? https:// or some other form of URL?
ssh, private bitbucket
Yeah, I doubt that would work on Windows.
Maybe you can do some Maven settings magic... with settings.xml
in your .m2
folder on Windows?
(I know you can provide repo-level username/password that way for some operations that tools.deps
does but I don't remember the details)
I've got that working for a nexus server. Works well on linux. The exception on Windows is coming from Jsch. I can see it running a couple git commands and reading my .ssh files in procmon.
there are a lot of issues with jsch. newer versions of jgit have different impls that may or may not be better. and we have a re-impl from Ghadi that just shells out to git, that should work as well as whatever you're doing for git. all that needs some assessment time and I haven't had a chance to do so.