tools-deps

Discuss tools.deps.alpha, tools.build, and the clj/clojure command-line scripts! See also #depstar #clj-new
tengstrand 2021-02-08T01:33:05.214Z

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.

seancorfield 2021-02-08T02:18:30.214300Z

@tengstrand And those generated files would be excluded from version control I assume? (we've had to do a similar thing)

seancorfield 2021-02-08T02:19:15.214500Z

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.

alexmiller 2021-02-08T02:21:40.216300Z

@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

alexmiller 2021-02-08T02:28:49.220900Z

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.

seancorfield 2021-02-08T02:31:54.221100Z

Yeah, if something is outside the project, it should be a :local/root dep not a :paths thing.

tengstrand 2021-02-08T03:09:35.221700Z

Okay, then I know.