This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-12-14
Channels
- # adventofcode (29)
- # aws (3)
- # babashka (25)
- # beginners (13)
- # calva (4)
- # cherry (7)
- # cider (26)
- # clj-kondo (9)
- # clojure (88)
- # clojure-europe (21)
- # clojure-losangeles (3)
- # clojure-nl (1)
- # clojure-norway (6)
- # clojure-uk (11)
- # clojuredesign-podcast (2)
- # clojurescript (4)
- # cursive (10)
- # datalevin (1)
- # emacs (50)
- # gratitude (1)
- # honeysql (12)
- # hyperfiddle (19)
- # jobs-discuss (28)
- # kaocha (3)
- # lsp (53)
- # malli (4)
- # meander (3)
- # off-topic (48)
- # re-frame (11)
- # releases (2)
- # ring-swagger (2)
- # shadow-cljs (50)
- # squint (26)
- # tools-build (3)
- # tools-deps (8)
- # xtdb (4)
- # yamlscript (1)
is there a way to specify an :extra-deps
alias to a local library and use a :sha
? The reason is that I want to test different branches of the same local project each in its own REPL, so I'd have a different alias for each REPL each having an :extra-deps
for the same library but a different sha for each. Or is there another way to do this ?
... I tried using :local/root
with a :sha
but I get "Coord type is ambiguous:"
You can use a git dep to the local dir
I don’t off hand remember the git file url syntax but that should work and then you can use :git/sha with it
I think it’s just basically a :git/url “<file:///srv/git/project.git|file:///srv/git/project.git>”
Or you might be fine with just a path, not the url, try both
Clojure's dependency system continues to surprise and delight. It worked beautifully and the file://
prefix for :git/url
is optional as is the git
namespace for :sha
(edit: I see that's for backwards compatibility) . I am now able to test two branches of the same lib from another in separate REPLs and compare results. Thank you so much @U064X3EF3 !
Yeah, :git/sha is the preferred key, :sha is deprecated