Fork me on GitHub
#cljdoc
<
2018-11-26
>
elarouss12:11:37

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

martinklepsch19:11:05

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

martinklepsch19:11:40

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

martinklepsch19:11:51

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

martinklepsch19:11:36

I'm not sure how easy it is though

martinklepsch19:11:13

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

elarouss16:11:21

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

martinklepsch16:11:20

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

elarouss16:11:37

good opportunity for me to learn hhhh

martinklepsch16:11:35

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

elarouss16:11:38

ah that's good, problem solved i guess

martinklepsch16:11:53

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

martinklepsch17:11:52

But it is a start

elarouss17:11:57

oh i guess i have questions more than answers

elarouss17:11:03

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

martinklepsch17:11:52

sure, ask away 🙂

elarouss17:11:39

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

elarouss17:11:34

😅 that's what i understood of that

martinklepsch17:11:08

that specific namespace was more of a placeholder 😄

martinklepsch17:11:33

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

elarouss17:11:21

hhhh i see :thumbsup:

martinklepsch17:11:17

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

martinklepsch17:11:54

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

elarouss19:11:21

hhhh yeah i followed the tutorial

elarouss19:11:16

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

martinklepsch19:11:36

which function are you thinking of?

elarouss19:11:52

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

elarouss19:11:03

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

martinklepsch19:11:28

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

martinklepsch19:11:47

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

elarouss19:11:24

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

elarouss19:11:51

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

dominicm19:11:56

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

martinklepsch19:11:31

@U6AE62UCT no worries this stuff can be confusing

elarouss20:11:04

yeah i guess so