This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-11-29
Channels
- # announcements (1)
- # babashka (1)
- # beginners (46)
- # calva (2)
- # cider (6)
- # circleci (10)
- # clj-kondo (2)
- # cljsrn (2)
- # clojure (30)
- # clojure-dev (6)
- # clojuredesign-podcast (8)
- # clojurescript (28)
- # conjure (1)
- # core-logic (2)
- # core-matrix (2)
- # cryogen (16)
- # figwheel-main (2)
- # graalvm (4)
- # jobs (1)
- # malli (15)
- # minimallist (1)
- # off-topic (70)
- # pathom (4)
- # reagent (3)
- # releases (2)
- # remote-jobs (8)
- # rewrite-clj (3)
- # shadow-cljs (4)
- # tools-deps (29)
- # uncomplicate (3)
I'm having problems with git deps with tools-deps on CircleCI: https://clojurians.slack.com/archives/C6QH853H8/p1606646296088500
I have this deps.edn:
{:aliases {:json {:extra-deps {cheshire/cheshire {:mvn/version "5.10.0"}}}
:test {:extra-paths ["test"]
:extra-deps {cheshire./cheshire {:mvn/version "5.10.0"}
cognitect-labs/test-runner
{:git/url ""
:sha "cb96e80f6f3d3b307c59cbeb49bb0dcb3a2a780b"}}
:main-opts ["-m" "cognitect.test-runner"]}}}
and I'm getting:
script/test
Cloning:
Error building classpath. : Auth fail
org.eclipse.jgit.api.errors.TransportException: : Auth fail
$ cat /home/circleci/.gitconfig
[url ""]
insteadOf =
[gc]
auto = 0
This seems to cause it. But why is this there!- run:
name: Get rid of erroneous git config
command: |
rm -rf /home/circleci/.gitconfig
fixes my problem...Ah yes, I believe other ecosystems (like Go) need the reverse for private deps to work
➕ 3