cljdoc

https://cljdoc.org/ & https://github.com/cljdoc/cljdoc
Avichal 2018-12-13T16:29:18.049100Z

Anyone else seeing this while running cljdoc locally?

Exception in thread "main" java.lang.Exception: Exception reading CLJDOC_VERSION from classpath, compiling:(telegram.clj:9:11)

martinklepsch 2018-12-13T16:35:29.049200Z

This could be due to a recent merge

martinklepsch 2018-12-13T16:36:29.049400Z

that file is expected to be on the classpath when you run cljdoc with the production profile

Avichal 2018-12-13T16:46:15.049600Z

yep, could be was working fine before I pulled the latest.

timgilbert 2018-12-13T16:52:25.051200Z

I put a note in that ticket @martinklepsch, but I've released my pom-updating tool, and I have it generating <scm> tags in the pom.xml. Let me know if it looks useful. https://github.com/workframers/garamond

martinklepsch 2018-12-13T16:53:16.051500Z

can you check what (cljdoc.config/profile) returns?

martinklepsch 2018-12-13T16:53:22.051700Z

sorry for the trouble 🙂

martinklepsch 2018-12-13T16:55:09.052Z

YES! I already saw & it looks very good. Not sure I have use for the versioning stuff at this point but the pom.xml stuff definitely looks solid.

martinklepsch 2018-12-13T16:56:11.052200Z

@ichigo if you're still interested in working on the issue we discussed this should be very helpful: ☝️

martinklepsch 2018-12-13T16:56:35.052400Z

@timgilbert btw, the cljdoc link (about scm tags and stuff) links to a non-canonical version of the documentation

martinklepsch 2018-12-13T16:57:02.052600Z

For now this is the canonical link: https://github.com/cljdoc/cljdoc/blob/master/doc/userguide/faq.md#how-do-i-set-scm-info-for-my-project

Avichal 2018-12-13T16:57:18.052900Z

no worries. It returns nil. Should I set this env CLJDOC_PROFILE and try?

martinklepsch 2018-12-13T16:58:29.053100Z

you can try that but it's a bug that this doesn't work anymore

martinklepsch 2018-12-13T16:59:35.053300Z

I assumed that the custom aero/slurp reader would only be called if the profile is prod but now that I think about it that was probably a stupid assumption 😄

timgilbert 2018-12-13T16:59:50.053500Z

Oh, I'll update the README, thanks

martinklepsch 2018-12-13T17:00:37.053700Z

np, thanks for the toolz 🙂

timgilbert 2018-12-13T17:03:17.054Z

Sure, let me know if there's anything I can improve. I guess one thing is I'm not sure if it's possible to skip the version-rewriting if you want to just rewrite the other tags, that won't be too hard to add

martinklepsch 2018-12-13T17:04:41.054200Z

try just touch resources/CLJDOC_VERSION if you want to get unblocked

martinklepsch 2018-12-13T17:04:51.054400Z

I'll get this fixed later today

Avichal 2018-12-13T17:07:27.054600Z

Yes, this works for now. Thanks :simple_smile: Do you want me to add an issue?

martinklepsch 2018-12-13T17:24:14.054800Z

I think I'll just fix it now and we can save the time writing an issue 🙂

martinklepsch 2018-12-13T17:24:21.055Z

but thanks for offering it 🙂

Avichal 2018-12-13T17:27:15.055200Z

I think something is up with CI as well. Errs at this step:

#!/bin/bash -eo pipefail
docker login -u $DOCKER_USER -p $DOCKER_PASS
Password: EOF
Exited with code 1
https://circleci.com/gh/cljdoc/cljdoc/1433?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link

martinklepsch 2018-12-13T17:29:51.055500Z

should be fixed in master now

martinklepsch 2018-12-13T17:30:05.055700Z

you might need to rebase to get the change into your branch

Avichal 2018-12-13T17:37:07.055900Z

👍