Report some useful metrics from git repositories and plot them. Useful for reporting on projects.
- Commits per repository
- Average commits per day per repository
- Commits per calendar week
- Average days between tags per repository. Assumes tags are versions and monotonically increasing (e.g v1.0, v1.1).
- Create a configuration file named
repos.yml
based on the temmplate provided inrepos-template.yml
. - Add repository information in the
repositories
section. If a repository URL is specified, the repository will be cloned, otherwise the value ofpath
will be used to locate a local repository. Only one ofpath
orurl
is required. - Configure reporting options in the
config
section.reporting_period
is a relative time in days, specified aslast{N}days
. Specify an absolute reporting period in the format2021-08-01+1100:2021-09-01+1100
.plot
controls whether to generate plots from the metrics.