This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-01-17
Channels
- # babashka (4)
- # beginners (161)
- # calva (19)
- # cider (13)
- # circleci (16)
- # clj-kondo (7)
- # cljs-dev (3)
- # cljsrn (46)
- # clojure (105)
- # clojure-australia (2)
- # clojure-nl (15)
- # clojurescript (20)
- # conjure (14)
- # core-async (8)
- # cursive (3)
- # datomic (4)
- # figwheel (5)
- # fulcro (22)
- # graalvm (1)
- # hoplon (2)
- # kaocha (3)
- # leiningen (6)
- # malli (5)
- # off-topic (19)
- # re-frame (5)
- # reagent (1)
- # reitit (43)
- # releases (1)
- # reveal (14)
- # rewrite-clj (2)
- # rum (1)
- # shadow-cljs (31)
- # spacemacs (2)
- # sql (6)
- # xtdb (8)
Huh, just fired up an old build on circleci and scratched my head for a long while about an auth failure fetching a :git/url
dep. Thanks to the Clojurians Slack archive, I found the answer: https://clojurians-log.clojureverse.org/circleci/2020-12-28
Seems a bit bananas and mystical that we have to do that, but can’t complain too much about a free service!
I'd be interested in why that is the default now? (and clearly wasn't before)
@lee what is the error message that you with the git dependency? Can you link to the job that failed?
it has to do with a .gitconfig which rewrite https to ssh which then fails since for many gitlibs you don't have ssh access
this works for "fixing" it:
steps:
- checkout
- run:
name: Get rid of erroneous git config
command: |
rm -rf ~/.gitconfig
has come up a couple of times hereHiya @marc-omorain, https://app.circleci.com/pipelines/github/lread/diff-apis/20/workflows/ed38a680-5252-4c90-b0a4-1f2e7405c88c/jobs/22 prior to the @borkdude fix.
@marc-omorain here’s a Slack archive with a little more detail: https://clojurians-log.clojureverse.org/circleci/2020-11-29
I’m trying to remember why we do that re-write. Afair it’s to maintain compatibility with CircleCI.
Over the years we have accumulated all sorts of quirky behavior that we can’t change without breaking folks who rely on the behavior.
@marc-omorain I wonder if any Clojure build would want this behaviour? If not, then the Clojure image generator could fix the issue maybe? Or if not… maybe just document a tip for how to overcome? https://circleci.com/docs/2.0/language-clojure/
Thanks!