Fork me on GitHub
#babashka-sci-dev
<
2022-10-06
>
cap10morgan21:10:58

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.

cap10morgan21:10:50

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

borkdude21:10:09

interesting :)

borkdude21:10:35

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

cap10morgan22:10:15

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