Fork me on GitHub
#tools-deps
<
2021-11-09
>
souenzzo13:11:33

anyone using git deps with a private aws codecommit repository?! when I tried to do that, tools-deps was implemented via jgit, that do not support the auth method required by aws codecommit Now that it is using git CLI, I would like to know if anyone is using it.

Alex Miller (Clojure team)14:11:44

What's the auth method in question?

souenzzo15:11:44

There is many ways to configure it. most of them suppose that you will use git command line. https://docs.aws.amazon.com/codecommit/latest/userguide/setting-up-gc.html https://docs.aws.amazon.com/codecommit/latest/userguide/setting-up-without-cli.html I tried many paths I give up was when I found that my ~/.gitconfig has this section:

[credential]
	helper = !aws codecommit credential-helper $@
	UseHttpPath = true
And JGit do not supprt ! syntax.

Alex Miller (Clojure team)15:11:39

in general, if it works using git from the command line, it will probably work with the CLI

Alex Miller (Clojure team)15:11:55

as that's all the CLI is ultimately doing now

Alex Miller (Clojure team)15:11:44

there are some helper env vars at https://github.com/clojure/tools.gitlibs/#configuration that can be useful to debug as well if needed