Repository navigation
Commit c9ecefe
get_maintainer: add commit author information to --rolestats
get_maintainer currently uses "Signed-off-by" style lines to find
interested parties to send patches to when the MAINTAINERS file does not
have a specific section entry with a matching file pattern.
Add statistics for commit authors and lines added and deleted to the
information provided by --rolestats.
These statistics are also emitted whenever --rolestats and --git are
selected even when there is a specified maintainer.
This can have the effect of expanding the number of people that are shown
as possible "maintainers" of a particular file because "authors",
"added_lines", and "removed_lines" are also used as criterion for the
--max-maintainers option separate from the "commit_signers".
The first "--git-max-maintainers" values of each criterion
are emitted. Any "ties" are not shown.
For example: (forcedeth does not have a named maintainer)
Old output:
$ ./scripts/get_maintainer.pl -f drivers/net/ethernet/nvidia/forcedeth.c
"David S. Miller" <davem@davemloft.net> (commit_signer:8/10=80%)
Jiri Pirko <jiri@resnulli.us> (commit_signer:2/10=20%)
Patrick McHardy <kaber@trash.net> (commit_signer:2/10=20%)
Larry Finger <Larry.Finger@lwfinger.net> (commit_signer:1/10=10%)
Peter Zijlstra <peterz@infradead.org> (commit_signer:1/10=10%)
netdev@vger.kernel.org (open list:NETWORKING DRIVERS)
linux-kernel@vger.kernel.org (open list)
New output:
$ ./scripts/get_maintainer.pl -f drivers/net/ethernet/nvidia/forcedeth.c
"David S. Miller" <davem@davemloft.net> (commit_signer:8/10=80%)
Jiri Pirko <jiri@resnulli.us> (commit_signer:2/10=20%,authored:2/10=20%,removed_lines:3/33=9%)
Patrick McHardy <kaber@trash.net> (commit_signer:2/10=20%,authored:2/10=20%,added_lines:12/95=13%,removed_lines:10/33=30%)
Larry Finger <Larry.Finger@lwfinger.net> (commit_signer:1/10=10%,authored:1/10=10%,added_lines:35/95=37%)
Peter Zijlstra <peterz@infradead.org> (commit_signer:1/10=10%)
"Peter Hüwe" <PeterHuewe@gmx.de> (authored:1/10=10%,removed_lines:15/33=45%)
Joe Perches <joe@perches.com> (authored:1/10=10%)
Neil Horman <nhorman@tuxdriver.com> (added_lines:40/95=42%)
Bill Pemberton <wfp5p@virginia.edu> (removed_lines:3/33=9%)
netdev@vger.kernel.org (open list:NETWORKING DRIVERS)
linux-kernel@vger.kernel.org (open list)
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>1 parent 1d3fa37 commit c9ecefe
1 file changed
Lines changed: 85 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| 101 | + | |
101 | 102 | | |
102 | 103 | | |
103 | 104 | | |
| |||
106 | 107 | | |
107 | 108 | | |
108 | 109 | | |
| 110 | + | |
109 | 111 | | |
110 | 112 | | |
111 | 113 | | |
| |||
114 | 116 | | |
115 | 117 | | |
116 | 118 | | |
| 119 | + | |
117 | 120 | | |
118 | 121 | | |
119 | 122 | | |
| |||
125 | 128 | | |
126 | 129 | | |
127 | 130 | | |
| 131 | + | |
128 | 132 | | |
129 | 133 | | |
130 | 134 | | |
| |||
152 | 156 | | |
153 | 157 | | |
154 | 158 | | |
| 159 | + | |
155 | 160 | | |
156 | 161 | | |
157 | 162 | | |
| |||
1269 | 1274 | | |
1270 | 1275 | | |
1271 | 1276 | | |
1272 | | - | |
| 1277 | + | |
1273 | 1278 | | |
1274 | 1279 | | |
1275 | 1280 | | |
| 1281 | + | |
| 1282 | + | |
1276 | 1283 | | |
1277 | 1284 | | |
1278 | 1285 | | |
1279 | 1286 | | |
| 1287 | + | |
| 1288 | + | |
| 1289 | + | |
| 1290 | + | |
1280 | 1291 | | |
1281 | 1292 | | |
1282 | 1293 | | |
| 1294 | + | |
1283 | 1295 | | |
| 1296 | + | |
1284 | 1297 | | |
1285 | | - | |
| 1298 | + | |
| 1299 | + | |
| 1300 | + | |
1286 | 1301 | | |
1287 | 1302 | | |
1288 | 1303 | | |
| |||
1291 | 1306 | | |
1292 | 1307 | | |
1293 | 1308 | | |
| 1309 | + | |
1294 | 1310 | | |
1295 | 1311 | | |
1296 | | - | |
| 1312 | + | |
1297 | 1313 | | |
1298 | 1314 | | |
1299 | 1315 | | |
| |||
1849 | 1865 | | |
1850 | 1866 | | |
1851 | 1867 | | |
| 1868 | + | |
| 1869 | + | |
| 1870 | + | |
| 1871 | + | |
1852 | 1872 | | |
| 1873 | + | |
1853 | 1874 | | |
1854 | 1875 | | |
1855 | 1876 | | |
| |||
1858 | 1879 | | |
1859 | 1880 | | |
1860 | 1881 | | |
1861 | | - | |
| 1882 | + | |
| 1883 | + | |
| 1884 | + | |
| 1885 | + | |
| 1886 | + | |
| 1887 | + | |
| 1888 | + | |
1862 | 1889 | | |
1863 | 1890 | | |
1864 | 1891 | | |
1865 | 1892 | | |
1866 | 1893 | | |
1867 | 1894 | | |
| 1895 | + | |
| 1896 | + | |
| 1897 | + | |
| 1898 | + | |
| 1899 | + | |
| 1900 | + | |
| 1901 | + | |
| 1902 | + | |
| 1903 | + | |
| 1904 | + | |
| 1905 | + | |
| 1906 | + | |
| 1907 | + | |
| 1908 | + | |
| 1909 | + | |
| 1910 | + | |
| 1911 | + | |
| 1912 | + | |
| 1913 | + | |
| 1914 | + | |
| 1915 | + | |
| 1916 | + | |
| 1917 | + | |
| 1918 | + | |
| 1919 | + | |
| 1920 | + | |
| 1921 | + | |
| 1922 | + | |
| 1923 | + | |
| 1924 | + | |
| 1925 | + | |
| 1926 | + | |
| 1927 | + | |
| 1928 | + | |
| 1929 | + | |
| 1930 | + | |
| 1931 | + | |
| 1932 | + | |
| 1933 | + | |
| 1934 | + | |
1868 | 1935 | | |
1869 | 1936 | | |
1870 | 1937 | | |
| |||
1887 | 1954 | | |
1888 | 1955 | | |
1889 | 1956 | | |
| 1957 | + | |
| 1958 | + | |
| 1959 | + | |
| 1960 | + | |
1890 | 1961 | | |
1891 | 1962 | | |
1892 | 1963 | | |
1893 | 1964 | | |
1894 | 1965 | | |
1895 | 1966 | | |
1896 | 1967 | | |
1897 | | - | |
| 1968 | + | |
| 1969 | + | |
| 1970 | + | |
1898 | 1971 | | |
1899 | 1972 | | |
1900 | 1973 | | |
1901 | 1974 | | |
1902 | 1975 | | |
| 1976 | + | |
| 1977 | + | |
| 1978 | + | |
| 1979 | + | |
1903 | 1980 | | |
1904 | 1981 | | |
1905 | 1982 | | |
1906 | 1983 | | |
1907 | 1984 | | |
1908 | 1985 | | |
1909 | | - | |
| 1986 | + | |
| 1987 | + | |
| 1988 | + | |
1910 | 1989 | | |
1911 | 1990 | | |
1912 | 1991 | | |
| |||
0 commit comments