kaocha

imre 2022-04-13T12:21:21.888049Z

Is there any reason why kaocha doesn't seem to have an option to https://github.com/lambdaisland/kaocha/blob/a505b88ede250135990934e3d1d3b3cf32fede88/src/kaocha/config.clj#L104-L116 from a resource?

imre 2022-04-13T12:32:07.046579Z

I'm working on integrating https://github.com/imrekoszo/polylith-kaocha and the boundary where kaocha itself needs to be invoked has better access to resources than filesystem paths

plexus 2022-04-13T13:03:52.514069Z

are your resources inside jars or on the filesystem? If the latter is it possible to do the resolution before calling Kaocha?

plexus 2022-04-13T13:04:36.521209Z

> Is there any reason It would appear no one has needed this before, that's the reason.

imre 2022-04-13T14:36:22.501569Z

Well, they could be in jars. Polylith assembles a classloader and so that's what I should primarily be working with when calling Kaocha, so in this case relying on resources feels safer to me.

imre 2022-04-13T14:37:19.718649Z

I can assemble a config via an alternative way before calling kaocha but I'd like avail of the aero and default config support.

imre 2022-04-13T14:37:41.582919Z

I of course can copy parts of kaocha.config out and do it myself

imre 2022-04-13T14:38:45.683059Z

> no one has needed this before Would you potentially accept a PR that provides this?

imre 2022-04-13T17:28:23.608559Z

Here's a PR in any case: https://github.com/lambdaisland/kaocha/pull/286

plexus 2022-04-13T17:34:34.239669Z

Thanks! I've commented on the PR.

imre 2022-04-13T18:39:44.413579Z

Thank you, will continue there