This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-04-14
Channels
- # babashka (53)
- # beginners (158)
- # calva (25)
- # cider (21)
- # clara (1)
- # clj-kondo (12)
- # cljsrn (6)
- # clojure (94)
- # clojure-australia (2)
- # clojure-bay-area (6)
- # clojure-europe (40)
- # clojure-nl (10)
- # clojure-spec (16)
- # clojure-uk (18)
- # clojurescript (95)
- # cursive (14)
- # data-science (1)
- # datascript (6)
- # datomic (18)
- # depstar (2)
- # duct (36)
- # emacs (15)
- # events (4)
- # fulcro (16)
- # graalvm (10)
- # helix (25)
- # honeysql (6)
- # jackdaw (4)
- # jobs (2)
- # leiningen (24)
- # lsp (4)
- # malli (10)
- # off-topic (3)
- # pathom (3)
- # polylith (19)
- # practicalli (4)
- # prelude (1)
- # re-frame (6)
- # reagent (13)
- # reitit (3)
- # remote-jobs (10)
- # ring (12)
- # ring-swagger (2)
- # shadow-cljs (54)
- # testing (17)
- # tools-deps (10)
- # xtdb (14)
👋
Is there a way to point at the head of master/main/other branch on http://github.com in deps.edn? Sort of like pointing at a snapshot in a maven repo, or :mvn/version "LATEST"
?
you can add :tag to coordinates map and then use -X:deps git-resolve-tags
to update :sha
{:git/url "git://..."
:sha "some-sha"
:tag "master"}
The :sha
value can be anywhere on any branch — it doesn’t have to be the head of a branch or even a specific tag.
@U04V70XH6 and that is great for repeatability. Just a bit frustrating when tracking fast moving changes in a library being developed between multiple team members. It isn't too much trouble and we can always point at it locally.
You can also use tools.gitlibs
programmatically to find the current SHA for a given tag/branch. I have an example in my dot-clojure deps.edn
file.
no. In fact I think support of LATEST
in mvn is unintentional. deps.edn wants values (SHAs/versions), not references (branches / LATEST)
The :sha
value can be anywhere on any branch — it doesn’t have to be the head of a branch or even a specific tag.