One more question to @alexmiller. Are you going to keep the support for absolute paths in :paths and :extra-paths? That could be a way out for us, to generate the deps.edn files for our projects, and instead of having relative paths, e.g. "../../components/command/src" as today, we could generate the paths, e.g. "/Users/tengstrand/source/polylith/components/command/src". We have tested this and it solves the issue we have for Datomic Cloud.
@tengstrand And those generated files would be excluded from version control I assume? (we've had to do a similar thing)
It does make things a bit of a pain that you can't just check code out and run it -- the deps.edn
files have to be generated first, so just using clojure
/`clj` isn't enough.
@tengstrand we are planning to disallow paths and extra-paths outside the project root. I expect to add a warning for this soon and eventually it will be an error
I think you’re going to have different but related problems with ions - this ever having worked with ions is more accident than intent. Ions rely on using shas as a way to differentiate versions. I don’t work on that stuff and defer to the Datomic team on the details.
Yeah, if something is outside the project, it should be a :local/root
dep not a :paths
thing.
Okay, then I know.