Fork me on GitHub
#tools-deps
<
2021-10-26
>
rickmoynihan12:10:00

Is the tools folder mechanism documented anywhere? I’ve not seen it mentioned before

mpenet13:10:59

what is the tools folder mechanism?

borkdude13:10:52

note that you can still add a tool to .clojure/deps.edn as well, and invoke it with clojure -X

nice 1
mpenet13:10:58

I used to just do it at project level

mpenet13:10:47

it's a bit better for "repeatability" for serious stuff (not personal setup)

markaddleman14:10:22

fyi - just started receiving this message when I invoke brew upgrade:

Warning: Calling bottle :unneeded is deprecated! There is no replacement.
Please report this issue to the clojure/tools tap (not Homebrew/brew or Homebrew/core):
  /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/clojure/homebrew-tools/Formula/clojure.rb:8

borkdude14:10:26

fyi @alexmiller you can just remove this line from the brew recipe, I've done this for several of my own already.

Alex Miller (Clojure team)20:10:33

does installing @ versions still work in brew?

Alex Miller (Clojure team)20:10:45

not sure if I'm crazy or they have just broken everything I do again

Alex Miller (Clojure team)20:10:08

brew install clojure/tools/[email protected] - no longer finds my formula and installs it

borkdude20:10:24

hmm, should work I think

Alex Miller (Clojure team)20:10:08

you'll need to brew uninstall clojure first

borkdude20:10:29

why is that?

Alex Miller (Clojure team)20:10:54

I just have always needed to

Alex Miller (Clojure team)20:10:04

well that's better than me

borkdude20:10:16

before this I ran brew update

Alex Miller (Clojure team)20:10:20

maybe it's just my system that's weird

borkdude20:10:31

since I don't auto-update brew since it tends to upgrade stuff that I don't want

Alex Miller (Clojure team)20:10:47

yes, I've done that and brew doctor

borkdude20:10:38

what if you completely erase your tap and start over?

borkdude20:10:08

rm -rf /usr/local/Homebrew/Library/Taps/clojure

Alex Miller (Clojure team)20:10:21

trying (I used brew untap though)

Alex Miller (Clojure team)20:10:54

I guess something was weird in there, dunno

Alex Miller (Clojure team)20:10:28

I did have about 100 versions of Clojure in my caches :)

Alex Miller (Clojure team)21:10:16

so gross that it warns on those old formulae

didibus18:10:03

Now we're just missing an install tool.

aaelony20:10:51

Not certain the best slack channel to ask this question... In the R language community, there is a cool site to find R packages that might be appropos (https://r-pkg.org/), has someone built this or similar for Clojure?

seancorfield20:10:01

https://www.clojure-toolbox.com/ perhaps (I don't know how up to date it is)

seancorfield20:10:28

There's a #find-my-lib channel here that folks use to ask about libraries.

aaelony20:10:34

oh, that's related but a bit different than search

seancorfield20:10:50

Otherwise, I think folks just tends to search http://clojars.org which is where most libraries are published.

seancorfield20:10:18

Although that won't find any libraries or tools that are only published in source form -- so you'd have to search http://github.com for those I guess.

seancorfield20:10:32

http://clojars.org is the closest to that R package site I think.

aaelony20:10:48

the http://clojars.org UI has evolved quite a bit since I last looked. Looks like the search there is quite good too. Aside from fancy sections on featured/most downloaded/trending this week/most depended upon/recently updated categorizations it is pretty much there

seancorfield20:10:56

(although bear in mind that Clojure itself and all the Contrib libraries are published to Maven Central, not Clojars)

seancorfield20:10:26

The search on http://clojars.org isn't great but it can be useful sometimes.

aaelony20:10:40

sure. Same in the R world. The http://r-pkg.org site is independent of cran mirrors or github repos

aaelony20:10:54

thanks - looks pretty good to me

aaelony20:10:18

although the "trending" style categorization labels might be cool

seancorfield20:10:22

I think, generally, you get better answers asking for recommended libraries for problem spaces here in Slack 🙂 In either #find-my-lib or #clojure / #beginners depending on the level of response you want...

aaelony20:10:59

oh - asking in a more general sense for now. Myself, I like monitoring the categorization labels to see emergent libraries that may be useful in my current suite of projects

aaelony20:10:32

but maybe the answer you are suggesting is just ask here when needed 😉

seancorfield20:10:06

And maybe follow the project #announcements and #releases channels?

👍 1
Jeff Evans21:10:12

oh, I suppose I only specified those for the :build alias, not the top level. please disregard

Alex Miller (Clojure team)21:10:01

The https://clojure.org/releases/tools#v1.10.3.998 is now available • Remove `bottle :unneeded` from brew formulas (no longer needed) • https://clojure.atlassian.net/browse/TDEPS-209 Include only jar files in classpath from Maven artifacts • Update to tools.tools v0.2.1 (minor improvements in `clj -Ttools list`) • Use https://github.com/clojure/tools.deps.alpha/blob/master/CHANGELOG.md 0.12.1058