Fork me on GitHub
#babashka-sci-dev
<
2021-10-28
>
Eugen06:10:36

will try babashka-curl approach

borkdude07:10:17

Another alternative I forgot to mention: shell out to Docker CLI, parse JSON response

Eugen12:10:35

If I can avoid docker cli that would be nice - the client is not that great (needs a LOT of TLC IMO ). Also I would like to create secrets from vault without writing them to disk and docker-cli would complicate this.

👍 1
lispyclouds12:10:28

@borkdude theres no harm in having bb incompatible/java deps in my deps.edn and my classpath to load the lib into bb right? its an issue only if i require/import them right?

lispyclouds12:10:22

im thinking should we be making the things in deps.edn conditional too or not

borkdude12:10:45

@rahul080327 currently bb only loads deps from bb.edn

lispyclouds13:10:41

right, but if i use (babashka.deps/add-deps ...) with a lib with deps edn, would bb construct the classpath from its deps.edn?

borkdude13:10:52

you can see this with:

$ bb -cp "" -e "(babashka.deps/add-deps {}) (babashka.classpath/get-classpath)"
""

lispyclouds13:10:29

ah right, so its fine to have non compatible things in the deps.edn then, thanks 😄

Eugen15:10:48

where is babashka.deps/add-deps taken from ? I can't find the lib

borkdude15:10:50

it's built into bb