clj-kondo

https://github.com/clj-kondo/clj-kondo
borkdude 2020-05-02T10:41:38.085400Z

clj-kondo 2020.05.02: https://github.com/borkdude/clj-kondo/releases/tag/v2020.05.02

🎉 6
Chase 2020-05-02T14:58:08.087600Z

I'm curious on how folks update to these latest, greatest versions. Right now I delete the one in my /usr/local/bin, unzip the new one and place it in there. easy peasy but wondering if I've missed out on a simple one liner update thingy or something

borkdude 2020-05-02T15:00:13.087800Z

@chase-lambert what OS?

Chase 2020-05-02T15:00:42.088100Z

Linux

Chase 2020-05-02T15:00:43.088300Z

Debian

borkdude 2020-05-02T15:01:13.089100Z

All the options are documented here: https://github.com/borkdude/clj-kondo/blob/master/doc/install.md There is an install script as well.

Chase 2020-05-02T15:01:18.089500Z

My method works just fine but it's like on ocd thing where I have to update to the latest one when I see you post something about clj-kondo or babashka

Chase 2020-05-02T15:02:16.089900Z

Ahh, I missed that last line saying it will update if reran.

borkdude 2020-05-02T15:02:37.090500Z

Yeah, it won't check for newer versions though, it will always just fetch the latest and replace

dominicm 2020-05-02T15:24:31.090600Z

Feels like there's a babashka script in here somewhere...

dominicm 2020-05-02T15:24:36.090700Z

cronbashka

dominicm 2020-05-02T15:24:53.090800Z

I would suggest "Cronie" (which has nice granny connotations) but there's already a cron named that

dominicm 2020-05-02T15:25:28.090900Z

Oh, apparently "crony" is the correct spelling anyway, which isn't taken :)

borkdude 2020-05-02T15:31:17.091100Z

cron?

borkdude 2020-05-02T15:32:11.091900Z

You could query the Github API for the newest version, compare that to the current version and update if necessary.

dominicm 2020-05-02T15:38:37.092Z

Cron would make it an automatic once a day update or something.

2020-05-02T18:07:56.093800Z

Might not be the right place to ask, but I'm having issues installing clj-kondo through Nix. For some reason it's trying to building graalvm 19.2.1 from scratch and failing. https://discourse.nixos.org/t/issue-building-graalvm-19-2-1-dependency-for-the-clj-kondo-package/6932

borkdude 2020-05-02T18:10:39.094100Z

Yeah, sorry, I don't now anything about nixOS, but you could try to read through the issues and contact the person who made support for that

👍 1
2020-05-02T20:03:41.094400Z

yeah ok, the graalvm package is borked. Thanks anyways

borkdude 2020-05-02T20:06:34.094600Z

you could try to upgrade to 19.3.1 which is what clj-kondo is using nowadays