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

0 votes
in Clojure CLI by
closed by

The following shows results when online but not when offline:

$ clojure -X:deps find-versions '{:lib com.github.seancorfield/next-jdbc}'
{:git/tag "v1.2.796", :git/sha "bb4bea7"}
{:git/tag "v1.3.828", :git/sha "edae405"}
>etc

offline:

$ clojure -X:deps find-versions '{:lib com.github.seancorfield/next-jdbc}'
$ echo $?
0

For a maven-lib on the other hand connection status makes no difference in order to show earlier retrieved versions.

It would be helpful if clojure.tools.gitlibs.impl/tags would fetch in a best-effort way instead of a necessity. This way the find-versions command would yield any fetched-before tag.

closed with the note: Released in Clojure CLI 1.11.1.1347

1 Answer

+1 vote
by
selected by
...