tools-deps

Discuss tools.deps.alpha, tools.build, and the clj/clojure command-line scripts! See also #depstar #clj-new
borkdude 2021-07-05T16:09:49.024300Z

can we expect tools.deps CLI to flip the switch on -A to always launch a REPL rather than executing :main-opts anytime soon? I sometimes just want a REPL with the tests on the classpath, clj -A:test, and not execute the test runner

👀 1
borkdude 2021-07-05T16:10:29.024900Z

I know you can work around this by making moar aliases, but I'm just too lazy/tired to do that :-D

borkdude 2021-07-05T16:11:07.025200Z

I think the deprecation warning has been there long enough now, personally

borkdude 2021-07-05T16:37:38.025900Z

Where was that table again where you could see which version of the CLI packaged which tools jar?

seancorfield 2021-07-05T16:38:45.026200Z

http://clojure.org/releases/tools

borkdude 2021-07-05T16:41:10.026600Z

ah, just found it in the zulip slack archive of the #clj-on-windows channel too :) thanks

seancorfield 2021-07-05T16:46:42.026700Z

I don't know. I'm still running across users who don't even know about -X so they still expect -A to work as it always has (and they're sometimes very confused that -M has changed behavior). Like you, I feel -A has had that "legacy" behavior long enough at this point but I think we're more "leading edge" users than most Clojurians as far as the CLI goes?

seancorfield 2021-07-05T16:47:31.026900Z

As for the test runner, I've switched to -X for Cognitect's test-runner these days so -A:test just starts a REPL for me 🙂

👍 1
alexmiller 2021-07-05T17:16:07.027200Z

I'm starting to think about thinking about removing the deprecation :)

borkdude 2021-07-05T17:23:08.027400Z

preserve the old behavior? why?

seancorfield 2021-07-05T17:29:13.027600Z

And then have -A and -M be identical? Oh, hey, I guess -R could be used/extended/brought back to start a Repl! 🙂 🙂

borkdude 2021-07-05T17:37:46.027800Z

In that case I'll wait a bit longer with upgrading my OSS CI configs ;)

alexmiller 2021-07-05T17:48:05.028Z

sorry that was unclear, by "remove the deprecation" and I mean make it stop working

alexmiller 2021-07-05T17:48:27.028200Z

that is, no change in plans

seancorfield 2021-07-05T17:56:04.028400Z

Hahaha... OK, good. The sooner the better, IMO, but I understand that not all CLI users are there yet 🙂

borkdude 2021-07-05T18:58:48.028800Z

deps.clj: A faithful port of the clojure bash script to Clojure Used as native CLI, deps resolver in babashka and getting started REPL in Calva. New release: v0.0.16 https://github.com/borkdude/deps.clj/releases/tag/v0.0.16

practicalli-john 2021-07-05T19:06:45.029Z

I did create some aliases for you if you want to use them 🙂 practicalli/clojure-deps-edn

❤️ 1