This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-10-14
Channels
- # asami (1)
- # babashka (50)
- # beginners (70)
- # bristol-clojurians (6)
- # calva (36)
- # chlorine-clover (1)
- # cider (4)
- # clj-kondo (3)
- # cljdoc (49)
- # cljsrn (5)
- # clojure (96)
- # clojure-australia (3)
- # clojure-dev (1)
- # clojure-europe (84)
- # clojure-nl (4)
- # clojure-spec (9)
- # clojure-uk (65)
- # clojurescript (31)
- # community-development (6)
- # conjure (17)
- # cursive (8)
- # datascript (5)
- # datomic (12)
- # duct (3)
- # emacs (18)
- # figwheel-main (2)
- # fulcro (7)
- # helix (1)
- # jobs (3)
- # luminus (7)
- # off-topic (77)
- # pathom (3)
- # portal (1)
- # rdf (4)
- # re-frame (1)
- # reitit (4)
- # remote-jobs (4)
- # reveal (15)
- # rum (1)
- # sci (38)
- # shadow-cljs (22)
- # spacemacs (1)
- # specter (6)
- # sql (1)
- # test-check (1)
- # tools-deps (60)
- # vim (12)
@miikka good morning, nice to see the sourcehut thing in production 🙂 what do you think about stripping the leading ~
from the username in the SCM link text? Since it’s not something users choose I feel it’s non-essential and almost like a detail related to sourcehut that isn’t very relevant
:man-shrugging: I thought about it and decided to keep it since sourcehut keeps it everywhere, but if you feel like removing it is better, that's fine by me
I think both arguments are valid. (How helpful of me! ). We are linking to sourcehut and that’s the syntax they use for a repo. We are linking from cljdoc and its not the syntax it has used for all other repos.
On coin toss things like this, I usually just go with what @U050TNB9F prefers.
~ for users and something else like + for groups. So it's useful in a sense for distinguishing.
That differentiation doesnt exist in the same consistent way across the different scm providers, which makes me feel it shouldn’t “leak” into cljdoc?
But idk, at the same time sourcehut repos aren’t going to be many for the foreseeable future so if sourcehut users consider the extra character useful I’m not gonna get in the way :)
Ah, I didn't know about this group syntax plan, but in that case I'd say let's keep the extra character in
For the unaware, like me before googling, Drew is Drew DeVault, the person who created sourcehut.
Is it possible to configure cljdoc? I need to avoid cljs analysis on cljc files in my project
I am not certain, but the error might be on my side and it errors still if I put ^:no-doc on top
We can hardcode an exception if it’s not something that can be fixed on the side of the lib
Does the file work with the Clojure script Compiler otherwise?
we are working on cljs-compat right now so it might be broken for cljs currently, but that's beyond me
no-doc just controls what parts of your api get exposed. Cljdoc will still load your entire project.
Yeah, and if a namespace required by the api ns can’t be loaded then that will also cause the api ns to fail to load
I wonder… have you thought about maybe keeping cljs work in a branch until it is ready for release?
Personally, I think I’d just push through and get cljs side working before release. But that’s me. And maybe not what works for you?
We can totally hardcode it if it makes your life easier, there’s a file that explicitly supports this kind of hard coding so it wouldn’t have any extra maintenance overhead
ok perfect. that would be cool for now. it will take a few weeks until clojurescript is restored I guess.
the hardcoding works based on group/artifact ID — which ones should cljs get disabled for?
Is there an issue to track cljs compatibility?