This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-06-03
Channels
- # announcements (6)
- # babashka (14)
- # beginners (17)
- # biff (3)
- # calva (19)
- # circleci (3)
- # clj-on-windows (1)
- # cljdoc (21)
- # cljs-dev (6)
- # clojure (119)
- # clojure-australia (2)
- # clojure-europe (28)
- # clojure-france (3)
- # clojure-norway (12)
- # clojure-survey (2)
- # clojure-uk (7)
- # clojurescript (25)
- # core-typed (1)
- # cursive (11)
- # datomic (53)
- # emacs (14)
- # events (1)
- # gratitude (1)
- # holy-lambda (21)
- # integrant (2)
- # jobs (1)
- # jobs-discuss (3)
- # juxt (3)
- # kaocha (1)
- # lsp (17)
- # nbb (14)
- # off-topic (25)
- # pathom (11)
- # re-frame (24)
- # releases (1)
- # remote-jobs (2)
- # rewrite-clj (10)
- # shadow-cljs (11)
- # sql (3)
- # tools-build (6)
- # tools-deps (83)
- # vim (26)
- # xtdb (10)
Hi, I am trying to find why cljdoc gives me an "analysis-job-failed"
error but I am clueless. The project is https://github.com/green-coder/girouette, and I can reproduce the problem on my project's master
branch from a local instance of cljdoc.
To build girouette.jar
and pom.xml
:
• clone the repo
• cd lib/girouette
• clojure -X:depstar
Seems like circleci changed their URL scheme maybe? https://app.circleci.com/jobs/github/cljdoc/builder/44546 is now reachable via?: https://app.circleci.com/pipelines/github/cljdoc/builder/jobs/44546
Nothing back from team CircleCI yet. We are using their v1 REST API and they told us a while back there was no need to switch to v2. But maybe they no longer test thoroughly using v1 anymore. I could switch us over to v2, I suppose.
@U8MJBRSR5 I just reran girouette and the link back to circleci seems to be working now. Lemme know if you need a hand diagnosing analysis failure. (I’m assuming the 404 was your first issue?)
For analysis: Clojure analysis is passing, ClojureScript is failing. Is girouette also ClojureScript compatible today? If it is Clojure only you can https://github.com/cljdoc/cljdoc/blob/master/doc/userguide/for-library-authors.adoc#languages.
Normally, it should work for both cljs and clj. My problem is only with the analyzer, it seems that it doesn't like how I refer to record types defined in other namespaces, like garden.selectors.CSSSelector
and garden.types.CSSAtRule
.
Do you know the right way to do it?
http://github.com/green-coder/girouette/blob/34f8cabdd605e93bd2ced4e5be29f611557d4b76/lib/girouette/src/girouette/tw/common.cljc#L142-L142
http://github.com/green-coder/girouette/blob/34f8cabdd605e93bd2ced4e5be29f611557d4b76/lib/girouette/src/girouette/garden/util.cljc#L63-L63
Wait, I am trying a few things right now.
https://github.com/green-coder/girouette/commit/4870d58e65d1eea169333c3b92c0fb0dfdd64d36 fixed it 🎉
Congrats @U8MJBRSR5!
Now @U0BBFDED7, were you reporting a separate problem with the 404 error? If so, can you tell me more about it?