Brennan pointed out I forgot to include --follow in the git log
command to catch older revisions of files if they have been renamed. I
updated the authors.sh script. Here are new stats for c files under
sched/:
* 285 total files
* 114 files have only commits from committers
* 171 files have commits from a mix of committers and non-committers
Just as a clarification, some of these words are overloaded. There are
ASF committers, pre-ASF git committers, and GIT authors. I assume that
you are referring to authors. NuttX was a sole committer repository
prior to December 2019 so I am the committer of almost everything.
You should also be aware that NuttX was maintained under CVS for several
years, then used SVN for a couple of of years before switching to GIT
around 2013-2014. that was GIT on SourceForge. That repository later
moved to Bitbucket and now to Github. When this was all converted to
GIT, author names were made up. So you will see me as: Gregory Nutt
<gn...@nuttx.org> on more recent GIT commits but as: patacongo
<patacongo@42af7a65-404d-4744-a932-0658087f49c3> on older commits.
Other weird things:
Once apps/ was a part of nuttx/, but was split out some time back.
Also, at one time arch/ and boards/ (then configs) where also moved out
into separate repositories that contained most of the same, duplicate
history and tags. Those were later moved back into the nuttx repository
somewhere around, maybe, 2015 and all the history was duplicated. So
all commits for a long period of time will appear twice.
An interesting way to see this is to look at the Github committer
statistics:
https://github.com/apache/incubator-nuttx/graphs/contributors
From that you would assume that NuttX started sometime after 2013 but
before 2014 and I that have only 19,282 commits in the nuttx/
repository. Pretty misleading. Compare this to Bitbucket which does a
much better job at this (this is very slow since it has to re-index the
entire repository and I am told might require a bitbucket plugin):
https://bitbucket.org/nuttx/nuttx/addon/bitbucket-graphs/graphs-repo-page#!graph=contributors&uuid=4430abf9-a782-49ff-bd16-bc1df696048e&type=c&group=weeks
Now you can correctly see that I have 19,450 commits as Gregory Nutt
after around 2013 but another 11,173 commits as patacongo prior to
that. The correct total is over 30,000 commits plus those in the other
repositories.