Fork me on GitHub
#tools-deps
<
2020-11-14
>
rickmoynihan16:11:17

@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 ?

Alex Miller (Clojure team)16:11:55

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)

rickmoynihan16:11:26

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

vlaaad16:11:40

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

seancorfield16:11:51

@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 🙂

rickmoynihan15:11:50

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