On Saturday, November 3, 2018 at 10:46:45 PM UTC-5, Didier wrote: > > I read the rationale, and I understand that we needed a way to bundle > depencies for clj and clojure cli. But in practice, I'm seeing a lot of > people move to it, away from boot or lein, and I fail to see what the end > goal really is? >
The end goal is to have a library and tool for building classpaths. These are foundational building blocks for other things. As far as I'm concerned, that goal has been achieved. I think there is another round of focus work required before we lock down the api and move tools.deps out of alpha (but that's going to wait until after we release 1.10 and do a round of spec work). > > Any serious work will need a build tool of some sort. > Many people are finding that this is not true. clj by itself is enough to work on a library and make it available. For project work, clj + some task-specific tools (test runners + packaging/deployment) is sufficient for another chunk of uses. Larger / more complex projects already typically have bespoke build architecture, often built around lein or boot but with additional things thrown in. You can build your own tools on top of clj or custom tools using the logic in tools.deps - examples of both exist already. Generally, I think tools.deps is a much simpler dependency to build on top of than lein or even boot once you get to this stage. Inevitably, I think we will see some interesting compositional tools emerge. > If you use lein, it comes with its own dependency management and config. > Same for boot (as far as I know). So in practice, if I use tools.deps, I've > now doubled the number of tools I depend on. I need lein and tools.deps. > If you want to use both, then yes. But if you are happy using lein or boot, use lein or boot. They are equally as viable choices now as they were before clj existed. > > For me, it seems the benefit would be around unified dependency config > format and maybe reuse of the resolver logic. Like say Lein and Boot and > all tools needing to specify dependencies adopted the format of tools.deps. > This would be nice, especially for source based dependencies, and dealing > with transitive dependencies in such case. > There are plugins for both lein and boot to do this now. > So, is there any hope/work to adopt the format in Lein and Boot? Or what > is the end goal otherwise? > Hard for me to say, better answered by lein/boot maintainers. > > Regards > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.