cljdoc

https://cljdoc.org/ & https://github.com/cljdoc/cljdoc
elarouss 2018-11-26T12:25:37.185700Z

hi @martinklepsch any not very hard, not very urgent issue for me to work on ? 😅

elarouss 2018-11-27T16:39:21.193800Z

the https://github.com/cljdoc/cljdoc/issues/206 looks hard for someone who haven't used clojars, maven or pom files, great i'll try to do it

martinklepsch 2018-11-27T16:40:20.194100Z

yeah, it might indeed be a little hard, probably the hardest of the three issues I listed

elarouss 2018-11-27T16:41:37.194400Z

good opportunity for me to learn hhhh

martinklepsch 2018-11-27T16:43:35.194600Z

coincidentally @dominicm just wrote an article about publishing deps.edn based projects as jars. https://juxt.pro/blog/posts/pack-maven.html

elarouss 2018-11-27T16:45:38.194800Z

ah that's good, problem solved i guess

martinklepsch 2018-11-27T16:50:53.195Z

well... 😄 I'm not really happy with all this pom.xml fiddling that's required for this

martinklepsch 2018-11-27T17:03:52.195300Z

But it is a start

elarouss 2018-11-27T17:03:57.195500Z

oh i guess i have questions more than answers

elarouss 2018-11-27T17:05:03.195700Z

ok so let me ask about this clj -m something.publish --project cljdoc --version 0.1.0

martinklepsch 2018-11-27T17:11:34.195900Z

sure, ask away 🙂

martinklepsch 2018-11-27T17:11:52.196300Z

sure, ask away 🙂

elarouss 2018-11-27T17:14:39.196500Z

do you want a namespace named publish that publishes any project with any version ?

elarouss 2018-11-27T17:15:34.196700Z

😅 that's what i understood of that

martinklepsch 2018-11-27T17:19:08.196900Z

that specific namespace was more of a placeholder 😄

martinklepsch 2018-11-27T17:19:33.197100Z

I'll add another comment to the issue with more detail

elarouss 2018-11-27T17:28:21.197300Z

hhhh i see :thumbsup:

martinklepsch 2018-11-27T17:30:59.197500Z

alright hope this makes some more sense: https://github.com/cljdoc/cljdoc/issues/206#issuecomment-442145088

martinklepsch 2018-11-27T17:31:17.197700Z

this work issue requires work on some more general Clojure tooling projects

martinklepsch 2018-11-27T17:31:54.197900Z

It's an interesting thing to work on and learn about but it might also not be very beginner friendly if you're not familiar with Maven

martinklepsch 2018-11-27T19:04:22.198100Z

nice: https://cljdoc.org/d/org.clojars.elarouss/cljdoc/0.1.0/doc/readme 😄

elarouss 2018-11-27T19:35:21.198400Z

hhhh yeah i followed the tutorial

elarouss 2018-11-27T19:36:16.198600Z

i'm just wondering if we can use this function from clojure/tools.deps.alpha, but it doesn't feel safe

martinklepsch 2018-11-27T19:36:36.198800Z

which function are you thinking of?

elarouss 2018-11-27T19:36:52.199Z

from namespace clojure.tools.deps.alpha.gen.pom

elarouss 2018-11-27T19:37:03.199200Z

`(sync-pom (r/read-deps [(jio/file "/usr/local/Cellar/clojure/1.9.0.302/deps.edn") (jio/file "deps.edn")]) (jio/file "."))`

elarouss 2018-11-27T19:37:18.199400Z

it works

martinklepsch 2018-11-27T19:40:28.199600Z

yeah, I think that's what clj -Spom does as well

martinklepsch 2018-11-27T19:40:47.199800Z

the issue with that is that we need to manually update the generated pom.xml

elarouss 2018-11-27T19:44:24.200Z

omg i've just realized that deps.edn files don't contain : artifact, group ...

elarouss 2018-11-27T19:44:51.200200Z

ah i'm sorry, i feel like i'm wasting your time and energy

dominicm 2018-11-27T19:51:56.200400Z

Fwiw, that namespace might be removed in the future. I think it is internal.

martinklepsch 2018-11-27T19:59:31.201Z

@ichigo no worries this stuff can be confusing

elarouss 2018-11-27T20:13:04.202Z

yeah i guess so

martinklepsch 2018-11-26T19:22:05.186700Z

Sorry for not seeing this earlier I forgot to start Slack after rebooting my computer 😄

martinklepsch 2018-11-26T19:22:40.186900Z

Is there any particular aspect you'd be interested in working on?

martinklepsch 2018-11-26T19:22:51.187100Z

This isn't urgent but would be very awesome https://github.com/cljdoc/cljdoc/issues/206

martinklepsch 2018-11-26T19:23:36.187400Z

I'm not sure how easy it is though

martinklepsch 2018-11-26T19:24:24.187600Z

This one shouldn't be hard: https://github.com/cljdoc/cljdoc/issues/204

martinklepsch 2018-11-26T19:26:13.187900Z

We could also try to make Asciidoc Tips, Notes look better: https://github.com/cljdoc/cljdoc/issues/77