👋
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"
?
no. In fact I think support of LATEST
in mvn is unintentional. deps.edn wants values (SHAs/versions), not references (branches / LATEST)
🆒 thx
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"}
that sounds funky. thx!
@seancorfield 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.
slash me goes to look at your deps.edn again