Fork me on GitHub
#clojars
<
2020-01-26
>
borkdude15:01:58

Dependency question. When using a -SNAPSHOT version, I noticed you can replace the -SNAPSHOT with a date: clojure -Sdeps '{:deps {clj-kondo {:mvn/version "2020.01.14-20200126.145730-7"}}}' -m clj-kondo.main --lint - --config '{:output {:format :edn}}' <<< '(inc)' Are the dated snapshot versions persisted forever on clojars?

tcrawley15:01:10

Yep! A timestamped snapshot is no different from a regularly versioned release. -SNAPSHOT is just a pointer to the latest timestamped release. That means you also cannot overwrite a timestamped release - they are immutable as well.

❤️ 1
borkdude15:01:09

Cool! How can I get timestamped releases from the clojars web page?

tcrawley15:01:08

They aren't exposed in the UI - you have to look in the repo (http://repo.clojars.org/clj-kondo/clj-kondo/2020.01.14-SNAPSHOT/) or at the maven-metadata file for the snapshot (http://repo.clojars.org/clj-kondo/clj-kondo/2020.01.14-SNAPSHOT/maven-metadata.xmll)

tcrawley15:01:35

My pleasure!