FYI, Kash will soon be installable from Homebrew.
# kash_shell
c
FYI, Kash will soon be installable from Homebrew.
y
Is there a personal github tap at the moment?
c
Not sure I understand this question
y
Are you planning to submit to main home brew recipes. Or just from your own github tap? E.g. https://github.com/yschimke/homebrew-tap/blob/master/rsocket-cli.rb
c
Oh. I opened a pull request on
homebrew-core
, so Kash will soon be part of Brew
I didn’t realize there was such a thing as a “github tab”
y
I think your doing the best thing for users. Just self publishing is trivial also.
d
is it available on sdkman? I don’t use homebrew, (sorry to pester you)
c
Not yet, I will put it on sdkman too eventually
d
Thank you!!
c
@dh44t My last brush with sdkman was a few years ago, and it didn't work out back then. Reading up on it right now, it still seems awkward to publish to. I can deal with the curl/gradle access, but I can't find any information on the shape of the zip file that needs to be published there. I remember sdkman being very strict on what that zip file needs to contain
d
also, AFAIK, they’re writing a new version, replacing bash with Go
dunno, it worth to work on it now, or just wait until they finish their rewrite
c
Yeah maybe
This made me wonder about writing a package manager like Homebrew but in Kotlin, and that would work for Windows/Linux/MacOS
because that fragmented package manager landscape is crazy 🙂
homebrew on MacOS, sdkman on Linux and kind of Windows, Chocolatey on Windows, etc...
d
I use MacPorts and ASDF on Osx
and sdkman too
c
Ah right, Macports too
Imagine one package manager, with your config possibly saved in the cloud so that any new computer you get receives the same installations automatically
d
NewStandardComicXKCD.jpg
it can be something that just wrap the others
like recipies and abstract the imple
c
Not seeing the pic but I know the xkcd you are referring to obviously
d
like, install erlang, gcc, kotlin
c
When I was writing the Kash recipe for Homebrew in Ruby, I cringed
I like Ruby (well used to), it's clean enough and I got to my goal pretty quickly
d
and then the tool picks erlang from ASDF, gcc from Ports, kotlin from SDK and so on
c
but I really wanted to write that formula in Kotlin obviously
d
Downgraded to spike
c
What does that mean?
Downgraded to spike?
d
The next version based on Go
so, no new rewrite coming in the pipeline
c
Right but what is a spike? I only know this term from the scrum vocabulary
d
It should be the same, like an informal research?
c
A spike is an obstacle in my understanding, something that hasn't been resolved yet and is blocking
-shrug-
Bottom line is, sdkman not a priority right now 🙂
d
I can have look, but not now, maybe in 2 weeks or so
c
Unsurprisingly, most of the code is
Copy code
if err != nil {
		return "", err
	}
😄
d
I have tons of live templates on Goland to write all that boilerplate
c
Who needs parametric polymorphism when you have file generation polymorphism?
d
The fun never stops!! 🤡