This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-07-05
Channels
- # announcements (13)
- # aws (1)
- # bangalore-clj (4)
- # beginners (66)
- # boot (11)
- # calva (27)
- # cider (27)
- # clj-kondo (76)
- # cljdoc (6)
- # cljs-dev (38)
- # clojars (3)
- # clojure (143)
- # clojure-dev (2)
- # clojure-europe (6)
- # clojure-greece (10)
- # clojure-italy (10)
- # clojure-nl (5)
- # clojure-norway (2)
- # clojure-sweden (1)
- # clojure-uk (19)
- # clojurescript (49)
- # cursive (13)
- # datomic (14)
- # duct (6)
- # figwheel-main (3)
- # fulcro (31)
- # funcool (7)
- # jobs (3)
- # keechma (142)
- # liberator (1)
- # off-topic (15)
- # om (2)
- # reagent (1)
- # reitit (2)
- # remote-jobs (1)
- # rewrite-clj (73)
- # shadow-cljs (21)
- # spacemacs (18)
- # sql (5)
- # tools-deps (10)
- # yada (1)
clj-kondo v2019.07.05-alpha! 🍻 Features: faster parsing, misplaced docstrings https://github.com/borkdude/clj-kondo/releases/tag/v2019.07.05-alpha
All I've done is provide a PKGBUILD which pulls down your release and does the work for making it suitable for isntalling on arch.
basically, I find it a joy to use, so much easier than the dance one has to do for debian based distros
nice. I've been looking into making a package for ubuntu/debian, but this looks much simpler 😅
btw, I'm not saying that debian is bad (it was the first distro I used), just that packaging can be hard.
NixOS also seems interesting, I know someone who is a true fan and has his new laptop up and running really fast with his setup
I really like Arch. I like that I know precisely what I've setup and I like knowing it's a rolling release.
i used to use nixos -- if it weren't for the odd programming language you have to learn i might still be 🙂
you don't have to start with arch itself though -- it's easier to try manjaro and get a fair bit of the benefit.
much easier to set up and most of the packages from arch work on manjaro (at least the user-contributed ones at aur i've been using fine)
is aur also possible on other distros like ubuntu, just like you can install linuxbrew?
@borkdude have you considered using https://snapcraft.io/ to package clj-kondo for multiple Linux distributions? Looks very simple. Its the approach that Heroku CLI, VS Code and Slack take. The package is self-contained, so you are not installing into the operating system, keeping a nice clean separation (I currently install clj-kondo in $HOME/bin rather than in the OS file system)
i note with interest, the criticism section of the wikipedia article for snappy, as well as a couple of other alternatives that sound similar somewhat there.
@borkdude btw, any further thoughts on: https://github.com/borkdude/clj-kondo/issues/234 ?
@jr0cket does it matter which base image I choose? for Docker I normally try alpine for small size. does this matter with snap?
thanks - do you think finding definitions would be doable too? my impression from looking at clj-kondo's source was that it might be doable without too much work.
i am a heavy user of ag too -- it's just that if clj-kondo can do it, standalone non-repl dependent editor tooling that is light and fast may be doable for "jump-to-definition" functionality 🙂
this here thingy? https://github.com/ggreer/the_silver_searcher
@jr0cket or anyone else using snap: https://snapcraft.io/clj-kondo welcome to try it out and report success or problems
Will try using the snap on my other laptop tomorrow as a clean install (just installed latest alpha of clj-kondo on current laptop - it works great)
Manually. Initially I installed with the clj-kondo-install script, to the default /user/local/bin
. With the new version today, I just unzipped the executable to my $HOME/bin
, which is on the system PATH before /user/local/bin
. I try avoid putting things on the OS file system if its not in a debian package.
$HOME/bin
is great for multiple versions or things that have a lot of new versions I want to try. I usually use a symlink if I think I need to switch between versions often.
I have experimented with snap some more. It seems I do need the --classic
confinement to be able to read files and write into the .cache
dir, so it might take a while
Good to know there are some safety checks, you could be doing anything 🙂
yeah, in the strict
confinement, the root can connect the plug home
so the tools can read/write your home directory, but they made an exception for "hidden" directories, starting with a dot. That's why clj-kondo cannot even read its own config dir, so that's a little too strict
Ripgrep is the default search tool for Spacemacs (if you have ripgrep installed), otherwise it looks for silver surfer (ag) and then grep... Ripgrep is very fast.