Used internally for BayLibre to meter the linux involvement.
Taken from : https://github.com/gregkh/kernel-history
And added :
- "-a" option to grep into emails to show in the summary
- "-A" option to grep authors in the "git log"
- "-G" option to grep into commit message in the "git log"
- "-T" option to output a CSV table
- "-F" option to handle only emails instead of Full or Short name to avoid duplications
The script linux_stats.sh
computes all BayLibre members Linux involvement stats since Linux 2.6.11 :
$ /path/to/linux_stats.sh
And will generate a bunch of stats-v3.10-v3.11.svg
, ... available in this baylibre-stats
directory.
Optionnally, you can specify a range of tags or branches to speed up the generation :
$ /path/to/linux_stats.sh "v4.10 v4.11"
$ /path/to/gitstat -N -a baylibre -o v4.9..v4.10
Sample output : https://gist.github.com/superna9999/57b58b80b2519b8a0ce0b82b3c4d09f3
$ /path/to/gitstat -G amlogic -G meson -o v4.9..v4.10
Sample output : https://gist.github.com/superna9999/0ea3fedaaf30f0928225f66f8189a031
$ /path/to/gitstat -N -A baylibre -o v4.9..v4.10
Sample output : https://gist.github.com/superna9999/444ffe6c96555f93b640b2a90baf7f52
$ /path/to/gitstat -A baylibre -o v4.9..v4.10 -T > out.csv
$ gnuplot /path/to/csv.plot
The gnuplot csv.plot
scripts takes the out.csv
file as input and outputs a out.svg
file.