Welcome! Please see the About page for a little more info on how this works.

0 votes
in tools.deps by
edited by

With tools.deps v0.12.985+, the :git/url key is optional for git coords and the :sha and :tag keys are renamed to :git/sha and :git/tag, respectively. But clj -X:deps git-resolve-tags doesn't seem to support this new format of git coords yet.
This can be confirmed as follows:

$ cat deps.edn
{:deps {org.clojure/clojure {:mvn/version "1.10.3"}}
 :aliases
 {:build
  {:override-deps
   {io.github.clojure/tools.build {:git/tag "v0.1.3"}}}}}
$ clj -X:deps git-resolve-tags
Resolving git tags in deps.edn ...
No unresolved tags found.
$

Whereas:

$ cat deps.edn
{:deps {org.clojure/clojure {:mvn/version "1.10.3"}}
 :aliases
 {:build
  {:override-deps
   {io.github.clojure/tools.build
    {:git/url "https://github.com/clojure/tools.build.git"
     :tag "v0.1.3"}}}}}
$

can be resolved successfully:

$ clj -X:deps git-resolve-tags
Resolving git tags in deps.edn ...
Resolved v0.1.3 => 688245ea6cc8b3b173b79b861938444fcd9e3e1e in https://github.com/clojure/tools.build.git
$

Probably, the following lines should be updated accordingly:

1 Answer

+1 vote
by
selected by
 
Best answer

Yep, thx for the report.

...