tools-deps

Discuss tools.deps.alpha, tools.build, and the clj/clojure command-line scripts! See also #depstar #clj-new
vlaaad 2020-09-03T06:29:54.129200Z

deps-deploy is so simple, I'm almost ready to just use aether

vlaaad 2020-09-03T06:31:02.130300Z

what's missing is an easy way to build pom.xml, currently a lot of build tooling complexity is either about updating or reading the pom

☝️ 1
vlaaad 2020-09-03T06:31:15.130600Z

I hope tools-build has something in this area

vlaaad 2020-09-03T06:33:43.131500Z

I tailored deps-deploy to my needs (e.g. use args instead of env for clojars username/token) and it's almsot gone: https://github.com/vlaaad/reveal/blob/master/build/deploy.clj

2020-09-03T07:36:32.133800Z

Yeah our one (not yet opensourced) is actually almost identical to deps deploy (it just wraps pomegrante/aether too), except it also supports private s3 wagons. I’m almost tempted to just patch deps-deploy with the code to do that, rather than extract and open ours.

dominicm 2020-09-03T07:51:18.135Z

I'd like to see thought go into credential management fwiw. I had a stab and discovered it's very tricky.

2020-09-03T08:35:37.135700Z

The other option is I guess to use cognitects s3 api to drive it; I think that hooks into all the possible AWS credential mechanisms

2020-09-03T08:36:11.136200Z

Though I think that would require you facading things for aether/pomegranate

dominicm 2020-09-03T08:40:16.136800Z

That's fine for s3, less so for clojars creds