I have defined a private var in CLJS:
https://github.com/borkdude/speculative/blob/master/src/speculative/specs.cljc#L9
It shows up in the docs nonetheless: https://cljdoc.org/d/speculative/speculative/0.0.3-SNAPSHOT/api/speculative.specs
Iโll try adding ^:no-doc
to it, but could be a bug?
Also, cljdoc says thereโs a newer version available (0.0.1) but thatโs not newer (this also shows at version 0.0.2)
Thanks for CLJDOC btw, itโs amazing ๐
Iโd love to preview this locally, but Iโm getting:
$ ./script/cljdoc ingest -p speculative/speculative -v 0.0.3-SNAPSHOT --git /Users/Borkdude/Dropbox/dev/clojure/speculative
INFO [2019-02-07 11:10:08,932] main - cljdoc.server.system Starting :cljdoc/build-tracker
INFO [2019-02-07 11:10:08,935] main - cljdoc.server.system Starting :cljdoc/storage
INFO [2019-02-07 11:10:08,936] main - cljdoc.server.system Starting :cljdoc/analysis-service nil
ERROR [2019-02-07 11:10:09,046] clojure-agent-send-off-pool-0 - cljdoc.server.api Exception while processing speculative/speculative 0.0.3-SNAPSHOT (build 2)
java.lang.NullPointerException: null
at clojure.core$name.invokeStatic(core.clj:1587)
does 0.0.3-SNAPSHOT exist in your .m2?
yup:
$ ls ~/.m2/repository/speculative/speculative
0.0.3-SNAPSHOT maven-metadata-local.xml
Make sure youโre on master
I was. Just did git clone / git pull
~/git/cljdoc (master) $ git st
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
I guess this is fairly easy to reproduce locally: git clone https://github.com/borkdude/speculative and do a lein install.
Not on the computer right now but Iโll give it a try in a bit
Just wanted to make sure youโre on master
@borkdude and you're sure your dependencies are a-ok etc? I've had this exception a few times myself ๐
was thinking maybe to contribute some code to make the reason clearer. the analysis runs in a separate process, if you run that directly, you'll be able to see the original stack trace at least
@christian767 FWIW cljdoc has no problem building this online.
hah
how are you building the jar?
lein install
ok
I had an issue with jars made by specific version of pack.alpha
not using tools.deps to create artifacts atm
ok. it works with latest pack.alpha FTR
well, then I'm out of ideas for now ๐คท
my best tip is to run the analysis process directly
cd cljdoc/modules/analysis-runner
clojure -m cljdoc.analysis.runner-ng "{:project \"my/project\",:version \"0.1.2\",:jarpath \"/Users/me/projects/myproject/myproject.jar\",:pompath \"/Users/me/projects/myproject/pom.xml\",:repos {\"clojars\" {:url \"<https://repo.clojars.org/\>"}, \"central\" {:url \"<http://central.maven.org/maven2/\>"}}}"
ok, Iโll try this later, thanks ๐
@borkdude I can't reproduce with master
@borkdude ok, master
after I pushed the commit I just pushed
make sure you're at 8751ea7
that worked, thanks!
sorry for the hassle, and thanks for coming by to report this ๐
BTW, cljdoc crossed 10.000 builds today ๐ https://cljdoc.org/builds
๐
Awesome. A minor thing while building locally: https://www.dropbox.com/s/z59ydzi1xxjkq7t/Screenshot%202019-02-07%2013.02.27.png?dl=0 I.e. it tries to load a local asset, but still prefixes it with a github url
uh, yeah, want to open an issue on that?
sure ๐
Thanks ๐
https://twitter.com/martinklepsch/status/1093609657388679168