babashka

https://github.com/babashka/babashka. Also see #sci, #nbb and #babashka-circleci-builds .
borkdude 2020-09-23T12:32:47.000300Z

Preliminary release notes for 0.2.1: https://github.com/borkdude/babashka/blob/master/CHANGELOG.md

đź‘Ť 1
unbalanced 2020-09-23T17:00:10.001400Z

@borkdude when I'm running the Babashka installer, will it automatically pickup v0.2.1 on new builds?

borkdude 2020-09-23T17:00:38.001800Z

Yes

borkdude 2020-09-23T17:01:26.002100Z

It isn’t release yet

unbalanced 2020-09-23T17:02:35.002700Z

kk. I'm just trying to decide if I should be thinking about locking down versions or not in case something becomes backwards incompatible six years from now

alekcz 2020-09-23T17:27:11.003300Z

@borkdude is there a template repo for a babashka pod?

borkdude 2020-09-23T17:44:00.004300Z

@goomba I think we could support that in the installer script via a --version flag: https://github.com/borkdude/babashka/blob/master/install Note that clj-kondo already has this: https://github.com/borkdude/clj-kondo/blob/master/script/install-clj-kondo Feel free to contribute that change. I think we should move to flags for everything (while keeping the dir argument backwards compatible)

Pradeep B 2020-09-25T15:44:05.027900Z

here @borkdude https://github.com/borkdude/babashka/pull/598

borkdude 2020-09-25T15:46:32.028200Z

Thanks. Two questions: - Why the change for /tmp/bb instead of /usr/local/bin? - Does it still support the old way, i.e. only passing a directory name without flags?

Pradeep B 2020-09-25T15:49:31.028400Z

dman, /tmp/bb was i tried that and came by mistake

Pradeep B 2020-09-25T15:50:02.028600Z

it should.

borkdude 2020-09-25T15:51:48.028800Z

$ ~/Downloads/install.txt /tmp
Installs latest (or specific) version of babashka. Installation directory defaults to /usr/local/bin.

borkdude 2020-09-25T15:52:57.029Z

I think what should happen is that if there's only one argument, it is interpreted as the dir. Else use flags

borkdude 2020-09-25T15:53:13.029200Z

Else this will break existing users

Pradeep B 2020-09-25T15:53:13.029400Z

:thinking_face:

borkdude 2020-09-25T15:54:21.029600Z

You don't understand?

Pradeep B 2020-09-25T15:55:22.029800Z

i got that - let me add the fix around this. I confused with ~/Downloads/install.txt /tmp

borkdude 2020-09-25T15:55:46.030Z

yeah sorry, Chrome downloads things as .txt. I don't know how to turn that off

Pradeep B 2020-09-25T15:56:55.030200Z

oh ok.

Pradeep B 2020-09-25T16:33:20.030400Z

only this specific combination need to be covered right for backward compatibility, right? How does this look now

borkdude 2020-09-25T16:40:50.030900Z

I tested it and it works

borkdude 2020-09-25T16:40:55.031100Z

thanks

1
1
borkdude 2020-09-23T17:44:05.004700Z

I'll make an issue for that

borkdude 2020-09-23T17:44:59.005100Z

@goomba: https://github.com/borkdude/babashka/issues/593

borkdude 2020-09-23T17:45:44.005900Z

@alekcz360 I don't know of a template, but you could take any existing project as an example: https://github.com/borkdude/babashka/blob/master/doc/libraries.md#pods General docs are here: https://github.com/babashka/babashka.pods

unbalanced 2020-09-23T17:57:11.006600Z

w00t! I'll jump on it