Skip to content

Instantly share code, notes, and snippets.

@eparis
Last active September 2, 2015 16:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eparis/e5a445964ce8a54996e9 to your computer and use it in GitHub Desktop.
Save eparis/e5a445964ce8a54996e9 to your computer and use it in GitHub Desktop.
Kubernetes - who wrote

gitdm (git data mine) is a tool written by Jonathan Corbet at LWN which he uses to do his 'who wrote the kernel' articles. I spent a couple of minutes (ended up being a couple of hours hacking on gitcm) to run it against kube.

I explicitly ignore merge commits and generated filed (Sorry Patrick Reilly, you had the some huge generated files).

My list of files/dirs I'm ignoring:

  • Godeps
  • third_party
  • api/swagger-spec
  • pkg/ui/datafile.go
  • www/.*/shared/assets/sampleData1.json

Developers with the most changesets

Brendan Burns              627 (10.4%)
Daniel Smith               469 (7.8%)
Clayton Coleman            445 (7.4%)
Tim Hockin                 304 (5.0%)
derekwaynecarr             208 (3.4%)
Joe Beda                   174 (2.9%)
Zach Loafman               159 (2.6%)
Satnam Singh               157 (2.6%)
Dawn Chen                  153 (2.5%)
Eric Tune                  148 (2.5%)
Justin SB                  141 (2.3%)
Victor Marmol              114 (1.9%)
Eric Paris                 108 (1.8%)
Deyuan Deng                100 (1.7%)
Yifan Gu                    86 (1.4%)
Johan Euphrosine            83 (1.4%)
Jeff Lowdermilk             80 (1.3%)
Paul Morie                  70 (1.2%)
Yu-Ju Hong                  67 (1.1%)
Wojciech Tyczynski          65 (1.1%)
Robert Bailey               65 (1.1%)
Alex Robinson               63 (1.0%)
deads2k                     58 (1.0%)
Vishnu Kannan               56 (0.9%)
Filipe Brandenburger        56 (0.9%)

Developers with the most changed lines

Clayton Coleman           57898 (9.9%)
Daniel Smith              48221 (8.3%)
Brendan Burns             44300 (7.6%)
Satnam Singh              43938 (7.5%)
Tim Hockin                29251 (5.0%)
nikhiljindal              25444 (4.4%)
derekwaynecarr            22280 (3.8%)
Wojciech Tyczynski        17251 (3.0%)
Eric Paris                13244 (2.3%)
deads2k                   11935 (2.0%)
Eric Tune                 11602 (2.0%)
Zach Loafman              11302 (1.9%)
Joe Beda                  11185 (1.9%)
Patrick Reilly            10121 (1.7%)
Jeff Lowdermilk           9245 (1.6%)
markturansky              8206 (1.4%)
Deyuan Deng               7985 (1.4%)
Victor Marmol             7658 (1.3%)
Johan Euphrosine          7234 (1.2%)
Yu-Ju Hong                7205 (1.2%)
jayunit100                6908 (1.2%)
Paul Morie                6777 (1.2%)
Yifan Gu                  6512 (1.1%)
Brian Grant               6465 (1.1%)
Sam Ghods                 5326 (0.9%)

Top changeset contributors by employer

"Google"                  3563 (59.0%)
"Red Hat"                 1319 (21.8%)
(Unknown)                  675 (11.2%)
"CoreOS"                   158 (2.6%)
"FathomDB"                 141 (2.3%)
"porch.com"                 50 (0.8%)
"Amadeus"                   33 (0.5%)
"Box"                       31 (0.5%)
"weave.works"               24 (0.4%)
"VMWare"                    19 (0.3%)
"Canonical"                 18 (0.3%)
"Kismatic"                   8 (0.1%)

Top lines changed by employer

"Google"                  342255 (58.6%)
"Red Hat"                 160517 (27.5%)
(Unknown)                 32307 (5.5%)
"CoreOS"                  13342 (2.3%)
"Kismatic"                10486 (1.8%)
"Box"                     5326 (0.9%)
"FathomDB"                4567 (0.8%)
"porch.com"               4458 (0.8%)
"Amadeus"                 4435 (0.8%)
"Canonical"               3446 (0.6%)
"weave.works"             1421 (0.2%)
"VMWare"                  1392 (0.2%)

Employers with the most hackers (total 363)

(Unknown)                  237 (65.3%)
"Google"                    61 (16.8%)
"Red Hat"                   46 (12.7%)
"CoreOS"                     6 (1.7%)
"Kismatic"                   3 (0.8%)
"Amadeus"                    3 (0.8%)
"Canonical"                  2 (0.6%)
"Box"                        1 (0.3%)
"FathomDB"                   1 (0.3%)
"porch.com"                  1 (0.3%)
"weave.works"                1 (0.3%)
"VMWare"                     1 (0.3%)
@karlkfi
Copy link

karlkfi commented Sep 2, 2015

What git magic did you use to exclude paths?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment