cljdoc

https://cljdoc.org/ & https://github.com/cljdoc/cljdoc
schmee 2019-09-01T18:27:46.004800Z

@martinklepsch can I just say that this is the best thing ever? :dancer: no more Codox for me!

schmee 2019-09-01T18:27:53.005200Z

thanks for making it! 😄

martinklepsch 2019-09-01T18:33:12.005700Z

Welcome John and thanks for the nice words! :)

martinklepsch 2019-09-01T18:34:16.007200Z

By now it’s a bunch more people than just me but it’s always super nice to hear people’s excitement and positive feedback so thanks for coming by and taking the time :)

schmee 2019-09-01T18:41:35.007500Z

you’re welcome, and keep up the good work 🙂

schmee 2019-09-01T19:22:45.008400Z

hmm, speaking of, I just noticed that a library of mine (java-http-clj) fails to build: https://circleci.com/gh/martinklepsch/cljdoc-builder/7411#tests/containers/0

schmee 2019-09-01T19:22:52.008800Z

Caused by: java.lang.ClassNotFoundException: java.net.http.HttpClient, compiling:(java_http_clj/core.clj:1:1)

schmee 2019-09-01T19:23:07.009400Z

what version of the JVM is the analysis run with?

schmee 2019-09-01T19:23:29.010Z

that library is built on Java 11 features so that’s probably why it doesn’t work

schmee 2019-09-01T19:38:55.010300Z

ahh, just saw that this was discussed above 😄

noprompt 2019-09-01T19:43:25.011600Z

Is there a “one-liner” for generating docs for some code in a directory? I tried following the directions and I just kept getting stack traces.

noprompt 2019-09-01T19:44:46.013100Z

Since John and I are having different experiences, I figure I might ask if that is an intended use case?

noprompt 2019-09-01T19:46:08.014700Z

The stack traces were really hard for me to comprehend and I just gave up after spend some time with it.

noprompt 2019-09-01T19:48:31.017100Z

If its welcome, I’d like to offer a patch for the command line interface that verifies some of the options passed. I’m under the impression that I’ve done something wrong and triggered a code path that cljdoc is not considering.

martinklepsch 2019-09-01T19:51:53.018300Z

@noprompt would it be possible to open an issue and create a repro?

martinklepsch 2019-09-01T19:52:23.019200Z

Also hi! 👋 ☺️

noprompt 2019-09-01T19:53:11.019700Z

@martinklepsch Sure. Essentially what I wanted to ask about and help with was the command line arguments.

noprompt 2019-09-01T19:53:23.020Z

And, haha, howdy? 👋 🙂

noprompt 2019-09-01T19:55:27.022200Z

I’m about to head out soon but I’ll see if I can put together a script or something that step-by-step triggers the problem.

martinklepsch 2019-09-01T19:59:03.022900Z

Definitely open to (& happy about) improvements if you see some to be made :)

martinklepsch 2019-09-01T19:59:39.023500Z

Sounds good! Let us know if you get stuck. And would rather just talk things through here. All valid :)

martinklepsch 2019-09-01T20:01:30.024500Z

@schmee re jdk11: what you found is the state of affairs, please leave a note in the issue that this affects you. You have an explicit invitation to +1 🙃

martinklepsch 2019-09-01T20:01:53.024600Z

Also mention the project that is affected if possible

martinklepsch 2019-09-01T20:02:30.026100Z

@mpenet which was the project that you needed jdk11 for?

schmee 2019-09-01T20:02:57.026300Z

will do!

borkdude 2019-09-01T21:30:34.027100Z

Maybe this could be handy for cljdoc: https://gist.github.com/borkdude/a600082397bb4f81de5173fe8a19e890 Background: some project.clj use read-eval, but evaluating it isn't always safe. This offers a controlled way

borkdude 2019-09-01T21:31:08.027600Z

Maybe not relevant, since cljdoc only reads the pom.xml probably anyway