cljdoc

https://cljdoc.org/ & https://github.com/cljdoc/cljdoc
borkdude 2019-06-29T14:52:38.083100Z

while trying to preview docs locally, I'm seeing a lot of:

INFO [2019-06-29 14:51:11,744] Tea-Time 0 - cljdoc.server.clojars-stats Read <https://clojars.org/stats/downloads-20180717.edn>... 4844 releases

INFO [2019-06-29 14:51:13,706] Tea-Time 0 - cljdoc.server.clojars-stats Read <https://clojars.org/stats/downloads-20180718.edn>... 4906 releases

INFO [2019-06-29 14:51:15,604] Tea-Time 0 - cljdoc.server.clojars-stats Read <https://clojars.org/stats/downloads-20180719.edn>... 4802 releases
@martinklepsch can this be turned off? it takes a long time before I can preview my docs (I have waited for 20 minutes now and still can't)

borkdude 2019-06-29T14:52:48.083300Z

cljdoc stickers? I want!

borkdude 2019-06-29T14:54:35.083800Z

I'm not interested in any internet traffic while previewing docs locally 🙂

borkdude 2019-06-29T15:10:12.084400Z

I'm now trying this:

docker run --rm -p 8000:8000 -v /tmp/cljdoc:/app/data -v $PWD/script:/app/config \
       -e CLJDOC_CONFIG_EDN=/app/config/cljdoc-config.edn cljdoc/cljdoc
{:cljdoc/server {:disable-release-monitor? true}}
but that leaves me with config errors... it seems it needs a complete config file. that's closed world thinking! 😉

martinklepsch 2019-06-29T15:14:48.085600Z

@borkdude I think the release fetching shouldn’t cause any blocking

borkdude 2019-06-29T15:14:59.086200Z

well, it does, it locks lucene

martinklepsch 2019-06-29T15:15:46.087400Z

Suggestions/PRs welcome as usual but in weekend mode right now 😄

martinklepsch 2019-06-29T15:16:04.088Z

I’ll get you a sticker when we see each other at heart of Clojure

borkdude 2019-06-29T15:16:40.088200Z

😄

borkdude 2019-06-29T15:17:05.088600Z

My suggestion would be to disable this thing by default as this is only for production

borkdude 2019-06-29T15:17:18.088800Z

(is my impression)

borkdude 2019-06-29T15:33:27.089800Z

I am now able to preview the docs when I go directly to the URL