早上邮件接到DPDK 20.11发布
[dpdk-dev] [dpdk-announce] DPDK 20.11 released
A new major release is available:https://fast.dpdk.org/rel/dpdk-20.11.tar.xz
Our Thanksgiving gift is the biggest DPDK release ever:
2195 commits from 214 authors
2665 files changed, 269546 insertions(+), 107426 deletions(-)
......
Below is the number of commits per employer (with authors count):
687 Intel (72)
439 Nvidia (34)
150 Huawei (11)
123 Broadcom (15)
116 Solarflare (1)
104 Red Hat (6)
96 OKTET Labs (3)
79 Marvell (16)
71 Arm (7)
59 Trustnet (1)
52 Microsoft (3)
51 NXP (12)
27 Semihalf (1)
27 Samsung (2)
19 6WIND (5)
17 Cisco (4)
13 BIFIT (1)
11 Emumba (2)
7 Xilinx (1)
7 Chelsio (2)
5 Inspur (1)
4 MayaData (1)
基于此背景在想有什么方便工具可以统计代码提交情况
代码统计工具--gitstats
http://gitstats.sourceforge.net/gitstats.sourceforge.net安装gitstats
yum install gitstats
apt-get install gitstats
DPDK代码https://github.com/DPDK/dpdk.git (tag v20.11)
执行如下统计命令
gitstats -c max_authors=200 -c start_date=2020-8-8 . ~/output/dpdk/20.11
更多命令参见
gitstats --help
Usage: gitstats [options] <gitpath..> <outputpath>
Options:
-c key=value Override configuration value
Default config values:
{'project_name': '', 'processes': 8, 'max_domains': 10, 'commit_begin': '', 'max_ext_length': 10, 'commit_end': 'HEAD', 'linear_linestats': 1, 'style': 'gitstats.css', 'max_authors': 20, 'authors_top': 5, 'start_date': ''}
Please see the manual page for more details.
~/output/dpdk/20.11此目录生成了统计的网页,用浏览器打开index.html