griffinbank / rules_clojure

Apache License 2.0
55 stars 9 forks source link

Clojure CLI download location changing #37

Open puredanger opened 1 year ago

puredanger commented 1 year ago

The Clojure CLI downloads have been served from https://download.clojure.org/ for several years but are moving to GitHub releases on the https://github.com/clojure/brew-install repo as the primary download location.

https://github.com/griffinbank/rules_clojure/blob/main/rules/tools_deps.bzl contains several links to the old site. When you next update these links, we would appreciate it if you could switch to the new location (for releases at 1.11.1.1386 and later).

Link examples:

It looks like you have shas to check there too - as of the next release after 1386, we will also be publishing a clojure-tools-VERSION-tar.gz.sha256 file as part of the release artifact if you have need of it.

Please also note that GitHub uses redirects on release downloads, so you will need to follow redirects on download (you may already be getting this but fyi) - this is analogous to curl -L.

Thanks!

davidjameshumphreys commented 1 year ago

Thanks Alex! We'll make the change soon.