Fork me on GitHub
#tools-deps
<
2021-07-05
>
borkdude16:07:49

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

👀 3
borkdude16:07:29

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

practicalli-johnny19:07:45

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

❤️ 2
borkdude16:07:07

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

seancorfield16:07:42

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?

seancorfield16:07:31

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 🙂

👍 2
Alex Miller (Clojure team)17:07:07

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

borkdude17:07:08

preserve the old behavior? why?

seancorfield17:07:13

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

borkdude17:07:46

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

Alex Miller (Clojure team)17:07:05

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

Alex Miller (Clojure team)17:07:27

that is, no change in plans

seancorfield17:07:04

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

borkdude16:07:38

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

borkdude16:07:10

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

borkdude18:07:48

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