leiningen

Kirill Chernyshov 2026-06-23T12:20:01.010739Z

Hi @technomancy! Looks like there is a problem with "keep GH exclusively for downloads" approach - https://github.com/DeLaGuardo/setup-clojure/issues/138. In short bin/lein used to be fetched from the repository under the tag resolved from requested leiningen version. But after moving to codeberg (post 2.12.0 versions) cli scripts stoped getting updates for LEIN_VERSION and LEIN_CHECKSUM. One option (mentioned in the issue) is to use codeberg to download bin/lein but from our latest discussion I get that you would like to avoid hitting codeberg on every cache miss from setup-clojure action. IMHO a better option is to upload all release related artifacts to the tagged release. What do you think?

technomancy 2026-06-23T17:39:13.109469Z

hm; I guess I wasn't clear; the concern with codeberg is that we don't want to put the strain of large files on their servers. the bin/lein script is only 14kb. it would be best if downstream packagers would include that in their own packaging instead of loading it from codeberg, but loading it from codeberg is not a concern the same way that loading the 16MB uberjar from codeberg is.

👍 1
Kirill Chernyshov 2026-06-23T17:45:38.810719Z

noted, thanks