This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-03-31
Channels
- # announcements (3)
- # babashka (75)
- # beginners (16)
- # calva (124)
- # cider (10)
- # clara (2)
- # clj-kondo (1)
- # cljdoc (4)
- # cljs-dev (14)
- # clojure (104)
- # clojure-australia (4)
- # clojure-czech (5)
- # clojure-europe (14)
- # clojure-germany (48)
- # clojure-nl (4)
- # clojure-serbia (4)
- # clojure-uk (34)
- # clojurescript (60)
- # community-development (16)
- # conjure (12)
- # core-async (34)
- # cursive (42)
- # data-science (7)
- # deps-new (9)
- # depstar (1)
- # emacs (11)
- # events (2)
- # fulcro (15)
- # graalvm (1)
- # inf-clojure (1)
- # jobs (3)
- # jobs-discuss (1)
- # joker (7)
- # juxt (8)
- # lsp (20)
- # malli (42)
- # meander (4)
- # off-topic (5)
- # pathom (2)
- # polylith (13)
- # re-frame (39)
- # reagent (9)
- # reitit (31)
- # releases (2)
- # rewrite-clj (23)
- # shadow-cljs (39)
- # spacemacs (11)
- # specter (6)
- # tools-deps (8)
- # xtdb (12)
I just tried using :replace-deps
without specifying org.clojure/clojure
and it seems like clj -A:some-alias
tries to bring in the top-level deps as well (including the private git repo).
Is this behaviour intended/known?
:deps {org.clojure/clojure {:mvn/version "1.10.1"}
some-private-github-repo {:git/url <git url>
:sha <some-sha>}
:aliases {:some-alias {:replace-deps {org.clojure/tools.gitlibs {:mvn/version "0.2.64"}}
I don't have an clean repro case but I can try to make one if necessary.
This is from a CI job that uses the circleci/clojure:openjdk-11-tools-deps
image. Not sure which version of tools-deps that is but it shouldn't be too far behind...The thing about the private git repo is not irrelevant; I might have a follow up question about that...
would be helpful to know the clj version (either with clj -Sdescribe
or clj --version
if it's new enough
if you happen to be on a version before :replace-deps existed, then what you describe would make sense
I think it's >1.10.2 but I'll confirm in a bit and get back to you, thanks 🙂
assuming it's new enough to have :replace-deps, don't know, would need a repro