clojars

lread 2022-06-10T14:36:26.943129Z

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

2022-06-10T14:44:47.778789Z

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

lread 2022-06-10T15:33:25.991599Z

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

lread 2022-06-10T15:36:04.922469Z

lread 2022-06-10T15:37:30.469779Z

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

lread 2022-06-10T15:37:57.740039Z

lilactown 2022-06-10T15:39:12.924609Z

Maybe it's the version number?

lread 2022-06-10T15:39:43.591379Z

Maybe? 0. vs 1.?

lread 2022-06-10T15:42:58.058979Z

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?

lread 2022-06-10T15:51:49.518299Z

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

lread 2022-06-10T15:54:51.155009Z

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

lread 2022-06-10T15:56:02.658419Z

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

2022-06-10T18:32:25.812699Z

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.

lread 2022-06-10T20:05:17.124979Z

Cool, thanks, curiosity satisfied!