Fork me on GitHub
#clojars
<
2022-06-10
>
lread14:06:26

I'm feeling a bit silly for not knowing this, but why are some clojars badges in library READMEs blue and others orange?

tcrawley14:06:47

Do they look the same otherwise? Are they this style? https://img.shields.io/clojars/v/com.flipkart.flux/runtime.svg Clojars used to produce it's own SVGs, but we switched to http://shields.io at some point. Those old SVGs still work, but we no longer provide the URLs for them on project pages

lread15:06:25

Yeah, they do look the same to me, apart from the colour. Here’s one that shows up as orange for me: https://img.shields.io/clojars/v/com.github.ivarref/gen-fn.svg

lread15:06:30

But I am seeing more blue these days (was it always orange to start with?) https://img.shields.io/clojars/v/rewrite-clj.svg

lilactown15:06:12

Maybe it's the version number?

lread15:06:43

Maybe? 0. vs 1.?

lread15:06:58

I think, but can’t remember for sure, that rewrite-clj was orange. But it was v1.0.767-alpha, so maybe the alpha part made it orange?

lread15:06:49

Yeah, you might be onto something there @U4YGF4NGM. If we take a peek at https://github.com/lambdaisland/kaocha/blob/main/README.md, we see:

lread15:06:51

Oh right… I have a 1. project that is still in alpha, and it shows as orange too:

lread15:06:02

So blue means probably a stable release, and orange means maybe not.

tcrawley18:06:25

That makes sense. The logic for how to color these lives in https://github.com/badges/shields somewhere. I'm not sure who implemented the Clojars support.

lread20:06:17

Cool, thanks, curiosity satisfied!