Fork me on GitHub
#cljdoc
<
2021-11-11
>
Jakub Holý (HolyJak)11:11:32

Hi! According to https://github.com/cljdoc/cljdoc/blob/master/doc/userguide/for-users.md#offline-docs , support for https://zealdocs.org/ is underway. What is the status? Is there an issue somewhere that I could track?

martinklepsch18:11:10

@U0522TWDA I’m actually not sure. The author of dash wrote some code (objc/swift I assume) to parse cljdoc offline bundles. My understanding is that code doing the same would be required to open a docset in Zeal.

Jakub Holý (HolyJak)20:11:27

Ah, ok, so cljdoc does not expose docsets in the dash format but rather dash has custom code to parse them? Perhaps we should open a request to zeal?

martinklepsch15:11:38

That’s probably a good idea

steffan11:11:31

I could be doing something daft, but today I'm getting errors when trying to run `cljdoc` locally (using the Docker image), indicating clojars is unreachable?? I've been happily running cljdoc locally recently, its just today its acting strangely.

INFO [2021-11-11 11:02:24,144] Tea-Time 1 - cljdoc.server.search.artifact-indexer Failed to download artifacts from Clojars
java.net.UnknownHostException: 

steffan11:11:15

I'm able to fetch deps from Clojars in my projects as usual, so the issue seems to be isolated to running cljdoc locally

steffan13:11:17

dig appears to be working, so it's very odd

❯ dig 

; <<>> DiG 9.16.1-Ubuntu <<>> 
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 63141
;; flags: qr rd ad; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;clojars.org.                   IN      A

;; ANSWER SECTION:
.            0       IN      A       3.20.175.150
.            0       IN      A       3.143.41.59
.            0       IN      A       18.189.33.7

;; Query time: 40 msec
;; SERVER: 172.28.144.1#53(172.28.144.1)
;; WHEN: Thu Nov 11 12:42:32 GMT 2021
;; MSG SIZE  rcvd: 88

steffan13:11:29

...and now everything is working, seems there was some temporary issue. On running `cljdoc/cljdoc` I'm getting a benign error, but the server starts up and I'm able to proceed.

INFO [2021-11-11 13:16:35,042] Tea-Time 1 - cljdoc.server.search.artifact-indexer Failed to download artifacts from Clojars
clojure.lang.ExceptionInfo: Unexpected HTTP status from Clojars