tools-deps

Discuss tools.deps.alpha, tools.build, and the clj/clojure command-line scripts! See also #depstar #clj-new
2020-11-14T16:07:17.392Z

@alexmiller: The other week I built a dumb tool to override pom version numbers, but realised that clojure -X:deps mvn-pom almost has this functionality baked in it’s just not exposed. Is there any reason why tools.deps can’t let you pass [:params :version] here: https://github.com/clojure/tools.deps.alpha/blob/65b1f039929acdd852aae60c87b2e57606e099a3/src/main/clojure/clojure/tools/cli/api.clj#L73 ?

alexmiller 2020-11-14T16:16:55.393300Z

no real reason - the internals have been refactored to make this feasible but really I expect this to probably go away in favor of doing this via tools.build (which uses most of this same code)

2020-11-14T16:18:26.394100Z

ok in that case my tool wasn’t a complete waste of time 😂

vlaaad 2020-11-14T16:33:40.394200Z

Ah, I hoped tools-build would have a solution for xml madness, that's great to hear!

seancorfield 2020-11-14T16:39:51.396100Z

@rickmoynihan...and this is why I've been pushing back on the depstar discussion until I see what tools.build actually brings to the table: I don't want to do work that would be made redundant by tools.build because I'd much rather use an "official" tool chain, maintained by Nubank, than have to keep maintaining and working with ad hoc third party stuff 🙂

2020-11-16T15:33:50.399500Z

yup I’ve never questioned that… I’m just trying to improve this area for myself and maybe others in the interim