Fork me on GitHub

Hello! Can I use Gist in deps.edn with url and full sha? I would like to run my examples from gist. I'm trying to load my example but clj tools deps fails with message Error building classpath. Library org.rssys/lzw.coder has prefix sha, use full sha or add tag

org.rssys/lzw.coder {:git/url ""
                     :git/sha "39f95b17f443de026951f97cf5c8f243"}

Alex Miller (Clojure team)15:09:52

if you are on older Clojure CLI, should be :sha

Alex Miller (Clojure team)15:09:18

or that's not a full sha


With :sha the same error. Is there any examples to run gist?

Alex Miller (Clojure team)15:09:33

yeah, that's only 32 chars, should be 40

Alex Miller (Clojure team)15:09:43

gists do work, nothing special there

Alex Miller (Clojure team)15:09:00

i see that gists only give you 32 in the ui

Alex Miller (Clojure team)15:09:57

oh wait, that's not the sha

Alex Miller (Clojure team)15:09:08

for that gist, sha is cbb3c6e3abe14c91c6bd19a6c3702a6df31be393


Oh, thanks! Where did you find it?


Yeah! It works! Thank you!

Alex Miller (Clojure team)15:09:46

you could also git ls-remote HEAD

Alex Miller (Clojure team)15:09:16

might be useful to have a utility or special support for this