babashka-sci-dev

cap10morgan 2022-10-06T21:15:58.302739Z

I changed it so it looks in the ns -> munged path for pod-manifest.edn first, then the ns-minus-last-element -> munged path, repeat until it's down to a two-element ns -> munged path. it stops there so it isn't looking for e.g. com/pod-manifest.edn or pod/pod-manifest.edn. seems like a perfect example of why single-element namespaces are frowned upon.

cap10morgan 2022-10-06T21:16:50.380489Z

I have one code path working of pulling in a library via :mvn/version. now need to make :local/root libs work too, and then figure out how this will work with uberscripts

borkdude 2022-10-06T21:21:09.825129Z

interesting :)

borkdude 2022-10-06T21:21:35.698619Z

I hope we can do the pod path searching as a last fallback thing so it won't affect non-pod namespace loading performance

cap10morgan 2022-10-06T22:42:15.186719Z

Yes, itโ€™s at the end of the chain of load-fn attempts. And it sets all the states & caches the files to do it much faster in the future.

๐ŸŽ‰ 1
borkdude 2022-10-07T07:07:48.562459Z

Awesome