babashka-sci-dev

Eugen 2021-10-28T06:23:53.064600Z

btw, my bug request got accepted https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8275838

Eugen 2021-10-28T06:25:36.065200Z

will try babashka-curl approach

Eugen 2021-10-28T06:29:53.065400Z

raised https://github.com/lispyclouds/contajners/issues/3

🙏 1
🙏🏼 1
borkdude 2021-10-28T07:15:17.066900Z

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

Eugen 2021-10-28T12:44:35.068300Z

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
lispyclouds 2021-10-28T12:49:28.070Z

@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?

lispyclouds 2021-10-28T12:50:22.070500Z

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

borkdude 2021-10-28T12:57:45.071Z

@rahul080327 currently bb only loads deps from bb.edn

lispyclouds 2021-10-28T13:33:41.072500Z

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

borkdude 2021-10-28T13:35:52.073300Z

you can see this with:

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

lispyclouds 2021-10-28T13:36:29.073900Z

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

Eugen 2021-10-28T15:39:48.074400Z

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

borkdude 2021-10-28T15:40:50.074700Z

it's built into bb