This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-03-18
Channels
- # announcements (31)
- # asami (11)
- # aws (33)
- # babashka (30)
- # beginners (69)
- # calva (1)
- # chlorine-clover (10)
- # cider (3)
- # clj-kondo (24)
- # cljdoc (19)
- # cljs-dev (1)
- # cljsrn (2)
- # clojure (104)
- # clojure-australia (4)
- # clojure-dev (29)
- # clojure-europe (202)
- # clojure-germany (36)
- # clojure-nl (6)
- # clojure-poland (3)
- # clojure-serbia (6)
- # clojure-spec (18)
- # clojure-uk (32)
- # clojurescript (36)
- # conjure (1)
- # core-async (6)
- # datomic (15)
- # duct (1)
- # emacs (11)
- # fulcro (24)
- # graalvm (12)
- # jobs (3)
- # juxt (1)
- # kaocha (2)
- # keechma (4)
- # lsp (1)
- # malli (102)
- # meander (17)
- # off-topic (16)
- # pathom (8)
- # re-frame (12)
- # remote-jobs (7)
- # rewrite-clj (72)
- # shadow-cljs (27)
- # sql (26)
- # tools-deps (8)
- # vim (3)
- # xtdb (28)
- # yada (5)
@adam678 yeah, I was afraid you’d say that you’re using deps
😄 unfortunately in this case you’ll need to manually tweak your pom.xml
to add the scope fields
Hehe, fair enough. I'll try later and come back crying if needed. Have a nice day!
sounds good! You too 🙂
What is the current idiomatic way of updating docs? Does it still involve a new release or did something happened after: https://github.com/cljdoc/cljdoc/issues/31
new release still required
I guess you could always move the release tag on the repo to include the doc changes, and then ask http://cljdoc.org to re-analyze the release?
(assuming your pom.xml
in the library has a tag, not a SHA)
oh true, that could work
Yeah, I had to do it recently with HoneySQL: I screwed up the release tag (put it on the wrong branch) and only noticed after http://cljdoc.org generated the docs — so I moved the tag to the correct place and clicked the “invisible” button on http://cljdoc.org to re-analyze and it seemed to work. The JAR I had deployed to Clojars was correct, and the pom.xml
had the right <tag>
entry: v2.0.0-alpha3
— it was just in the wrong place in Git.
That’s good too know @U04V70XH6, thanks for sharing!
Everyone is different, but personally I’m cool with just cutting another release even if only docs need updating.
Technically correct (the best kind of correct) I guess slightly moving a tag is less controversial than rebasing the main branch 😛
Documentation is a feature, imo, so I generally agree with @UE21H2HHD. Although, if there's an embarassing typo, it's kind of nice to be able to silently fix it.
I think it’s “OK” to make a branch from your original release tag and make doc fixes on that branch and just move the tag (as long as you’re only changing documentation).
But to each their own. At least http://cljdoc.org allows some way to redo the docs for a given tag…
@UE21H2HHD Wasn't meant to be a dig -- sorry if it sounded that way. There's a good case for making a new release even if it's just doc updates -- especially with the idea of major.minor.commits since there's no "semantic" implication of any specific sorts of changes when just the .commits part changes 🙂
Oh absolutely not @U04V70XH6, you are always so courteous, kind, generous and respectful! You set a great example for the Clojure community. FWIW, it is hard to read tone in text, but my intended tone is always free of any huff.
Yeah, I was chatting with someone about using .commits
count. I too feel it makes releases feel less precious. He did not see it that way, but for me it works.