get_maintainer.pl: tighten up git contributors cc list
PATCH 1/1 get_maintainer.pl: tighten up git contributors cc list
get_maintainer in U-Boot is configured to include contributors and patch reviewers from the git history in the CC list, going back 1 year if they have contributed more than 5% of the patches.
This is well suited to some core U-Boot code that has a long history and doesn't get much love from any dedicated maintainer but for newer code and board code in general as well as defconfigs it can be frustrating for some contributors who do not wish to be CC'd on patches as well as a general issue when dead emails are included.
While it would be desirable to just remove the --git flag and encourage those interested to configure lei or just add themselves to MAINTAINERS it perhaps makes more sense to phase it out gradually.
As a first step, reduce the time period that will be checked in the git history from 1 year to 6 months, this still offers plenty of leeway for contributions to the last 1/2 U-Boot releases. In addition, bump up the required percentage of contributions from 5% to 15% and reduce the limit on the number of "git maintainers" (i.e. unique S-o-b/A-b/R-b tags) from 5 to 2.
These changes should reduce the size of CC lists while still including recent active contributors.
---
Cc: Marek Vasut <[email protected]>
--- .get_maintainer.conf | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
.get_maintainer.conf +6 -1
@@ -1 +1,6 @@ ---find-maintainer-files --git --maintainer-path=. +--find-maintainer-files +--git +--git-min-percent 15 +--git-since 6-months-ago +--git-max-maintainers 2 +--maintainer-path=.
Signature · 1 line
2.54.0
Quoted 36 lines · Casey Connolly
get_maintainerin U-Boot is configured to include contributors and patch reviewers from the git history in the CC list, going back 1 year if they have contributed more than 5% of the patches.This is well suited to some core U-Boot code that has a long history and doesn't get much love from any dedicated maintainer but for newer code and board code in general as well as defconfigs it can be frustrating for some contributors who do not wish to be CC'd on patches as well as a general issue when dead emails are included.
While it would be desirable to just remove the --git flag and encourage those interested to configure lei or just add themselves to
MAINTAINERSit perhaps makes more sense to phase it out gradually.As a first step, reduce the time period that will be checked in the git history from 1 year to 6 months, this still offers plenty of leeway for contributions to the last 1/2 U-Boot releases. In addition, bump up the required percentage of contributions from 5% to 15% and reduce the limit on the number of "git maintainers" (i.e. unique S-o-b/A-b/R-b tags) from 5 to 2.
These changes should reduce the size of CC lists while still including recent active contributors.
Signed-off-by Casey Connolly <[email protected]>---
Cc: Marek Vasut <[email protected]>--- .get_maintainer.conf | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-).get_maintainer.conf +0
-0
.get_maintainer.conf line 6
Quoted 7 lines
.get_maintainer.conf +6
-1@@ -1 +1,6 @@ ---find-maintainer-files --git --maintainer-path=. +--find-maintainer-files +--git +--git-min-percent 15 +--git-since 6-months-ago +--git-max-maintainers 2 +--maintainer-path=.
Signature · 1 line
Tom
Quoted 11 lines · Casey Connolly
get_maintainerin U-Boot is configured to include contributors and patch reviewers from the git history in the CC list, going back 1 year if they have contributed more than 5% of the patches.This is well suited to some core U-Boot code that has a long history and doesn't get much love from any dedicated maintainer but for newer code and board code in general as well as defconfigs it can be frustrating for some contributors who do not wish to be CC'd on patches as well as a general issue when dead emails are included.
[...]
Applied to u-boot/master, thanks!
[1/1] get_maintainer.pl: tighten up git contributors cc list
commit: 83f6cbb87177350e32eabcbe6dd92b951dabae25
Signature · 1 line
Tom