TI
timplunkett/team-git-log-stats
Team repo statistics
Parses Git logs for commits by specific people over a set time and formats the
results into a table and summary. Assumes the standard Drupal.Org commit message
format in order to parse the logs. That is:
(Issue #nnn By name1, name2, ...: DESCRIPTION)
Usage
I'm not currently using the Console commands. See scripts/send-to-sheets.php for
how it's currently being used. Everything after this is outdated.
--
$ ./bin/report [options]
$ ./bin/stats --year=2020 --week=41 --no-interaction --log-only
- Run
composer install - Modify
committers.ymlandrepos.ymlas needed to match the people you
want to track, and in which repos. - Optionally modify
date.range.yml. If you don't, you'll need to pass
--yearand--quarteror--weekoptions to the command. - Run
./bin/reportto output the table and summary. - Alternatively, you can instantiate
Balsama\DoStats\GitLogStatsand poke
around the issue data with::getAllIssueData.
Options
Run the following for a complete list of options:
$ ./bin/report.php --help