Hey, has there been a recent change that could cause reitit main module analyze to fail? Seems to be due to language auto-detection and the fact that the main module doesn't contain any source files. I'm quite sure this used to work previously. https://cljdoc.org/builds/71954
I'm trying if specifying languages explicitly helps
Could be due to this change: https://github.com/cljdoc/cljdoc-analyzer/pull/83/files
I'm getting
2023-09-11 12:51:52,529 INFO cljdoc-analyzer.runner - launching metagetta for: /home/runner/work/reitit/reitit/modules/reitit languages: :auto-detect
...
Execution error (ExceptionInfo) at cljdoc-analyzer.metagetta.utils/infer-platforms-from-src-dir (utils.clj:118).
no Clojure/Clojurescript sources found
even though I tried setting :cljdoc/languages in doc/cljdoc.edn and modules/reitit/doc/cljdoc.edn (see PR linked above)Thanks for reporting! I'll take a peek sometime soon.
Oh. So the main reitit jar has no Clojure source.
unzip -l ~/Downloads/reitit-0.7.0-alpha5.jar
Archive: /Users/lee/Downloads/reitit-0.7.0-alpha5.jar
Length Date Time Name
--------- ---------- ----- ----
234 06-14-2023 16:10 META-INF/MANIFEST.MF
9521 06-14-2023 16:10 META-INF/maven/metosin/reitit/pom.xml
1313 06-14-2023 16:10 META-INF/leiningen/metosin/reitit/project.clj
0 06-14-2023 16:10 META-INF/
0 06-14-2023 16:10 META-INF/maven/
0 06-14-2023 16:10 META-INF/maven/metosin/
0 06-14-2023 16:10 META-INF/maven/metosin/reitit/
105 06-14-2023 16:10 META-INF/maven/metosin/reitit/pom.properties
--------- -------
11173 8 files
This used to be ok and still should be, but cljdoc now barfs on it.I'll take a peek sometime today.
All fixed! Thanks for reporting!
confirmed: https://cljdoc.org/d/fi.metosin/reitit/0.7.0-alpha6/doc/introduction
thanks a ton!