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.
Pass configuration as query params, supported params are;
token- A Github API tokenrepos- A comma-seperated list of repository names on @alphagovrefresh- How often to update, in seconds [optional, defaults to60]from- A treeish (tag, branch, etc) to start comparing fromto- A treeish (tag, branch, etc) to compare until [optional, defaults tomaster]
- Support non-@alphagov repos
- Sort by most-out-of-date (eg, oldest, or most commits)
- Auto refresh on timer
- Try and deal with merges, rather than commits (an old commit may only just have been merged)