canonical-web-and-design / practices

Guides and principles from the web team at Canonical and Ubuntu
https://canonical-web-and-design.github.io/practices/
Other
45 stars 30 forks source link

Which badges to use? #132

Open nottrobin opened 5 years ago

nottrobin commented 5 years ago

I like putting badges on our repos. The obvious ones to have for every repo are CircleCI and Codecov.

Other ones we could consider:

General

Websites

Packages

What do people think? Are these valuable? Should we use any others?

barrymcgee commented 5 years ago

These look like a good start to me. 👍🏻

nottrobin commented 5 years ago

We can display versions from package.json as follows - e.g. "node-sass" from www.ubuntu.com repo:

https://img.shields.io/badge/dynamic/json.svg?url=https%3A%2F%2Fraw.githubusercontent.com%2Fcanonical-websites%2Fwww.ubuntu.com%2Fmaster%2Fpackage.json&label=node-sass&query=$.dependencies[%22node-sass%22]&colorB=blue

node-sass

nottrobin commented 5 years ago

One more suggestion - codeclimate? https://codeclimate.com/github/canonical-webteam/yaml-responses

nottrobin commented 5 years ago

Useful examples: