RMI-PACTA / pacta.sit.rep

A simple situation report of the overall code health of the PACTA ecosystem.
Other
0 stars 0 forks source link

better lifecycle badge #38

Open cjyetman opened 4 months ago

cjyetman commented 4 months ago

We could implement a more machine friendly way of specifying the lifecycle of a repo, e.g. in a root level lifecycle.json file, which could then be ingested to be used as input for badge creation.

The json could look like

{
  "lifecycle": "experimental"
}

and then a badge could be made with a static URL like

![Lifecycle Badge](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fraw.githubusercontent.com%2FRMI-PACTA%2Ftest-lifecycle%2Fmain%2Flifecycle.json&query=lifecycle&label=lifecycle)

Lifecycle Badge

test repo https://github.com/RMI-PACTA/test-lifecycle/

⚠️ "raw" GitHub content is cached for 5 minutes, so a change would not be seen until 5 minutes after the commit