clj-on-windows

For those interested in making clj on Windows https://dev.clojure.org/jira/browse/TDEPS-67. Also see https://github.com/littleli/scoop-clojure.
jackson 2019-05-03T18:31:01.011200Z

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?

jackson 2019-05-03T18:31:55.011900Z

Everything works fine on wsl/linux with the same deps.edn file.

seancorfield 2019-05-03T19:40:30.012300Z

@jackson.reynolds Public or private repo? https:// or some other form of URL?

jackson 2019-05-03T19:47:18.012700Z

ssh, private bitbucket

seancorfield 2019-05-03T19:48:01.013Z

Yeah, I doubt that would work on Windows.

seancorfield 2019-05-03T19:48:51.013600Z

Maybe you can do some Maven settings magic... with settings.xml in your .m2 folder on Windows?

seancorfield 2019-05-03T19:50:25.014300Z

(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)

jackson 2019-05-03T19:56:57.016300Z

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.

alexmiller 2019-05-03T22:18:40.018Z

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.