This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-09-18
Channels
- # announcements (1)
- # asami (2)
- # babashka (21)
- # beginners (23)
- # cider (5)
- # clj-kondo (10)
- # clojure (31)
- # clojure-europe (3)
- # clojure-nl (1)
- # clojurescript (47)
- # deps-new (1)
- # figwheel-main (7)
- # fulcro (7)
- # gratitude (1)
- # jobs-discuss (2)
- # lein-figwheel (1)
- # lsp (5)
- # off-topic (11)
- # pathom (5)
- # re-frame (1)
- # react (5)
- # reagent (4)
- # releases (1)
- # shadow-cljs (63)
- # tools-deps (16)
- # xtdb (26)
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"}
if you are on older Clojure CLI, should be :sha
or that's not a full sha
With :sha
the same error. Is there any examples to run gist?
yeah, that's only 32 chars, should be 40
gists do work, nothing special there
i see that gists only give you 32 in the ui
oh wait, that's not the sha
for that gist, sha is cbb3c6e3abe14c91c6bd19a6c3702a6df31be393
Oh, thanks! Where did you find it?
I cloned it
Yeah! It works! Thank you!
from https://gist.github.com/mikeananev/39f95b17f443de026951f97cf5c8f243/revisions, if you click on the ... for View File, you'll get to this link which has the sha https://gist.github.com/mikeananev/39f95b17f443de026951f97cf5c8f243/cbb3c6e3abe14c91c6bd19a6c3702a6df31be393
you could also git ls-remote
might be useful to have a utility or special support for this