Fork me on GitHub
#cljdoc
<
2018-12-13
>
Avichal16:12:18

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)

martinklepsch16:12:29

This could be due to a recent merge

martinklepsch16:12:29

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

Avichal16:12:15

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

martinklepsch16:12:16

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

martinklepsch16:12:22

sorry for the trouble 🙂

Avichal16:12:18

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

martinklepsch16:12:29

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

martinklepsch16:12:35

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 😄

martinklepsch17:12:41

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

martinklepsch17:12:51

I'll get this fixed later today

Avichal17:12:27

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

martinklepsch17:12:14

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

martinklepsch17:12:21

but thanks for offering it 🙂

Avichal17:12:15

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&amp;utm_medium=referral&amp;utm_source=github-build-link

martinklepsch17:12:51

should be fixed in master now

martinklepsch17:12:05

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

timgilbert16:12:25

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

martinklepsch16:12:09

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.

martinklepsch16:12:11

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

martinklepsch16:12:35

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

timgilbert16:12:50

Oh, I'll update the README, thanks

martinklepsch17:12:37

np, thanks for the toolz 🙂

timgilbert17:12:17

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