This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-04-08
Channels
- # announcements (8)
- # aws (2)
- # babashka (11)
- # babashka-sci-dev (39)
- # beginners (62)
- # calva (5)
- # cider (1)
- # clj-kondo (50)
- # cljdoc (2)
- # cljs-dev (6)
- # clojure (52)
- # clojure-austin (22)
- # clojure-czech (13)
- # clojure-europe (88)
- # clojure-nl (1)
- # clojure-norway (5)
- # clojure-uk (6)
- # clojuredesign-podcast (13)
- # clojurescript (45)
- # community-development (3)
- # core-typed (31)
- # cursive (12)
- # datahike (2)
- # datalevin (7)
- # datomic (5)
- # events (1)
- # exercism (11)
- # fulcro (27)
- # gratitude (1)
- # holy-lambda (3)
- # hoplon (2)
- # introduce-yourself (2)
- # jobs (1)
- # lambdaisland (3)
- # lsp (110)
- # malli (2)
- # meander (4)
- # music (2)
- # off-topic (50)
- # overtone (1)
- # pathom (13)
- # polylith (26)
- # re-frame (4)
- # releases (2)
- # rewrite-clj (3)
- # ring (12)
- # shadow-cljs (20)
- # specter (4)
- # tools-deps (8)
- # xtdb (40)
I guess the answer will be no, but does deps.edn support global exclusions?
E.g. an app has dependencies that depend on org.foo/lib
but wants to override it globally with another dep which brings in the same namespaces, but is published under a different organization org.bar/lib
.
No, but I'm pretty sure there is an ask question if you want to upvote
I guess an ugly workaround could be to make a local/root dep indirection and then make an exclusion on that
@borkdude I’m curious were you forking a transitive dep? I had a similar case recently
@rickmoynihan I'm asking for something we're considering called tools.misc
:
https://github.com/clj-easy/tools.misc
The idea is that you can choose one tool (JSON or http client, etc) but can swap the implementation on the application level to reduce the number of dependencies. A few implementations will be centrally maintained, but it should be possible to override those with your own or other third party implementations.
ok so essentially like putting all your java interfaces in a dep separate from the implementations; but for clojure obviously. Interesting :thinking_face: