cljdoc

https://cljdoc.org/ & https://github.com/cljdoc/cljdoc
martinklepsch 2018-11-14T16:47:38.077900Z

made some significant progress getting cljdoc responsive today πŸŽ‰

🦜 5
martinklepsch 2018-11-14T16:55:25.078300Z

Hey @ichigo πŸ‘‹

elarouss 2018-11-14T21:29:39.082800Z

hi everyone, hi @martinklepsch, i've watched your talk on ClojureTRE, good project well done :thumbsup: , i want this project to get my first open source contribution πŸ˜„, i'm kind of beginner so i won't be of that help, but i'll start navigating the code and hopefully i can help someday

πŸ‘ 3
elarouss 2018-11-16T21:42:01.103100Z

yeah thanks, i've seen that issue, so if i understand it right, the "more recent version" notification should not appear in case of the newer releases are just Snapshots, right ?

elarouss 2018-11-16T21:44:46.103300Z

i think i need to know the shape of the cache bundle map passed to the cljdoc.bundle.more-recent-version function

martinklepsch 2018-11-16T22:08:04.104Z

@ichigo here's how :latest gets into the cache bundle: https://github.com/cljdoc/cljdoc/pull/168/files#diff-a9925a94dd89b08dad3afbe0a721dc30R118

martinklepsch 2018-11-16T22:08:17.104200Z

In general that diff will be useful for a bit more context

elarouss 2018-11-16T22:19:55.104800Z

@martinklepsch i'm sorry for being so beginner here 😳 , so we need to not put the snapshots in the db at first place i guess

elarouss 2018-11-16T22:21:14.105100Z

but that looks out of the scope of that issue

martinklepsch 2018-11-16T22:22:07.106700Z

No worries 😊 I think it might be easiest to just filter the list of versions to remove any versions ending with -SNAPSHOT before taking the last version in the line I linked to.

martinklepsch 2018-11-16T22:23:04.107400Z

Hope that makes sense.

martinklepsch 2018-11-16T22:23:43.108700Z

It might be helpful to just get the project running and experiment with the get-documented-versions function at the REPL

martinklepsch 2018-11-16T22:24:34.110300Z

If you’re having trouble setting up a REPL with your editor (which is very handy) I can help you tomorrow or you can ask for help in #editors or #beginners

martinklepsch 2018-11-16T22:24:49.110900Z

Good luck! πŸ˜„ (and good Night for now :)

elarouss 2018-11-16T22:25:34.111100Z

hhhh thank you, i'm running the repl now, but yeah i need to use it from inside emacs

elarouss 2018-11-16T22:26:39.111300Z

yeah that the first thing i thought about the -SNAPSHOT part, but because i'm like a stranger in a new town hhhh i'm too doubtful

elarouss 2018-11-16T22:27:35.111500Z

thank you, good night for you too :simple_smile:

martinklepsch 2018-11-14T21:44:14.083200Z

Sounds great @ichigo β€” welcome to the crew! πŸ˜„

martinklepsch 2018-11-14T21:44:54.083400Z

If you want I can point you to some easy first issues that you could try to work on to get familiar with the project setup etc.

elarouss 2018-11-14T21:50:38.083600Z

thank you, yes please i would like to try

martinklepsch 2018-11-14T22:14:38.083800Z

So this would be a pretty easy and actually pretty valueable thing to fix: https://github.com/cljdoc/cljdoc/issues/203

martinklepsch 2018-11-14T22:15:15.084200Z

To get up and running this document should be helpful: https://github.com/cljdoc/cljdoc/blob/master/doc/running-cljdoc-locally.md

martinklepsch 2018-11-14T23:26:32.085800Z

OMG I just git reset --hard a few hours of work 🀦 Was able to recover most of it via open Emacs buffers but wow. Don't code at night kids! πŸ˜„

😱 1
😴 1
martinklepsch 2018-11-14T23:32:46.086500Z

On the other hand the responsiveness stuff I got done today is amazing ✨ if I may humbly say so