https://github.com/dsingleton/deploy-lag-radiator
An information radiator to show how many commits on a repo since the last deploy
https://github.com/dsingleton/deploy-lag-radiator
Last synced: 8 months ago
JSON representation
An information radiator to show how many commits on a repo since the last deploy
- Host: GitHub
- URL: https://github.com/dsingleton/deploy-lag-radiator
- Owner: dsingleton
- Created: 2014-06-02T21:58:19.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2017-03-09T17:43:45.000Z (over 9 years ago)
- Last Synced: 2025-02-01T17:35:11.478Z (over 1 year ago)
- Language: JavaScript
- Size: 268 KB
- Stars: 32
- Watchers: 5
- Forks: 16
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Deploy Lag Radiator
A _information radiator_ / _glancable_ / _stats screen_ to show how far a repo is behind it's latest deployed version.

It relies on a consistent tag/branch which tracks the latest deployed version and compares that to HEAD on master (though you can choose a different point).
It's intended to highlight changes that may sit undeployed for a long time, causing a build up of deployment risk.
## Config
Pass configuration as query params, supported params are;
| Key | Usage | Required? |
| --- | ----- | --------- |
| `token` | A Github API token, otherwise you may be rated limited by the API. You can get one by [creating a personal access token](https://github.com/settings/tokens/new) with the `public_repo` scope. | No |
| `repos` | A comma-seperated list of repository names, either `owner/repo-name` or `repo-name` (the later requires an `owner` value to be set) | Yes |
| `owner` | A Github user, or orgnanisation, used for `repos` that don't specify one. | No |
| `refresh` | How often to update, in seconds | No, default `60` |
| `from` | A treeish (tag, branch, etc) to start comparing from | |
| `to` | A treeish (tag, branch, etc) to compare until | No, defaults to `master` |
| `resolve_tags` | Set this to anything truthy (ie not an empty string) to look up tags for the `from` and `to` commits to use in the title compare link | |