leiningen

N.B. The maintainers are on #leiningen on Libera chat IRC. Go there for direct support/bug reports.
domparry 2019-05-13T13:57:39.054300Z

👋

domparry 2019-05-13T13:57:59.054800Z

Does anyone have a neat way of debugging what’s happening when running lein repl?

domparry 2019-05-13T13:59:13.056200Z

We have a developer that has set up his clojure environment from scratch on two different machines. One on Linux, and one on MacOS. In both of these, one particular project times out on lein repl

domparry 2019-05-13T13:59:36.056700Z

if he starts the repl with cider, then it takes 15 minutes, but starts up in the end.

domparry 2019-05-13T14:00:19.057600Z

We’ve tried a clean re-install of all the things, re-pulled the repo, removed the .m2 folder, and even changed JRE…. But it’s still happening.

domparry 2019-05-13T14:00:45.058200Z

No-one else has this issue. He also doesn’t have a .lein folder in his home folder… So no funnies in there.

alexmiller 2019-05-13T14:38:05.058400Z

is there a user.clj file?

alexmiller 2019-05-13T14:38:39.059100Z

we have a known perf degradation on newer versions of Java related to user.clj loading (Java 8u201+, 11.0.2, 12)

domparry 2019-05-13T14:41:38.060200Z

in the project? yes. There is a user.clj. Thanks, I’ll look into that.

alexmiller 2019-05-13T14:52:14.061Z

you can try using Clojure 1.10.1-beta2 too if that's easy to check. If that fixes it, then then that's likely the issue (we have a workaround to avoid this in there)

alexmiller 2019-05-13T14:52:41.061500Z

hopefully we'll get 1.10.1 out in the next couple of weeks

domparry 2019-05-13T15:01:49.062Z

Thanks @alexmiller. I’ll give that a shot.

dangercoder 2019-05-13T20:30:56.062400Z

Hi! I'm trying to deploy to clojars using leiningen lein deploy clojars . How do I disable GPG? Got something like this right now in my project.clj:

:deploy-repositories [["releases"  {:sign-releases false :url "<https://clojars.org/clj-testcontainers>"}]
                        ["snapshots" {:sign-releases false :url "<https://clojars.org/clj-testcontainers>"}]]