This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-11-01
Channels
- # announcements (1)
- # aws (3)
- # beginners (150)
- # boot (12)
- # calva (7)
- # carry (3)
- # cider (1)
- # clara (51)
- # cljdoc (17)
- # cljs-dev (17)
- # cljsrn (1)
- # clojure (64)
- # clojure-austin (2)
- # clojure-india (1)
- # clojure-italy (10)
- # clojure-nl (4)
- # clojure-spec (42)
- # clojure-uk (63)
- # clojurescript (24)
- # core-async (23)
- # cursive (6)
- # datascript (7)
- # datomic (5)
- # figwheel-main (43)
- # fulcro (74)
- # hoplon (7)
- # kaocha (30)
- # leiningen (32)
- # mount (51)
- # nrepl (34)
- # off-topic (29)
- # re-frame (6)
- # reagent (10)
- # reitit (13)
- # shadow-cljs (66)
- # slack-help (3)
- # spacemacs (2)
- # specter (5)
- # sql (2)
- # tools-deps (51)
- # yada (13)
Hey, I noticed that this link: https://cljdoc.org/d/lambdaisland/kaocha/CURRENT
...winds up on the 0.0-7
version of the docs, but actually the most current version is 0.0-243
. Presumably some logic is sorting the post-dash part alphabetically rather than numerically. I'm not really sure if this is a bug or not, honestly, but I thought I'd mention it
Hey @U08QZ7Y5S & thanks for bringing this up, I don’t think it was a known issue. We use version-clj for sorting versions in most places. It might be that we don’t for this particular thing (a bug) or that version-clj simply doesn’t agree with this kind of versioning scheme 😄
Makes sense. Would it be helpful to open a ticket?
So we use this file to determine the latest release version: http://repo.clojars.org/lambdaisland/kaocha/maven-metadata.xml
(and we don't use version-clj contrary to what I said earlier)
Oh, interesting. So maybe it's some kind of bug in the way they deployed that jar file. I'll bug the kaocha folks about it, thanks for the info!
I think the 0.0-N pattern is just not something Maven deals with very well
so... this is probably because I screwed up. When I created kaocha-junit-xml
I copied the pom over from kaocha and forgot to update the project name. So when I did the first release of kaocha-junit-xml
it actually pushed it to clojars as kaocha 0.0-7
...
However in repositories.clj
line 106 and onwards we could just extract all the listed versions and sort them using version-clj
a quick REPL test seems to indicate that version-clj
would handle this correctly
Awesome,t hanks
the 0.0-N
pattern is what clojurescript used before they switched to following Clojure versions, that's where I got the idea.
Interesting... Well I'd be happy to accept a PR to support this. I think it should be a fairly easy thing that can be easily tested from the REPL as well (the repositories
namespace doesn't require any system to be started etc.)