Re: [PATCH] get_maintainer: Add a couple more --self-test options

2017-11-06 Thread Joe Perches
On Mon, 2017-11-06 at 13:12 -0600, Tom Saeger wrote: > Hi Joe, > This is good! I had something similar cooking - specifically for SCM > validation. > > My SCM attempt caught a few more issues: > - check git branch if specified > - check validitiy of "T:" entry, otherwise warn of malf

Re: [PATCH] get_maintainer: Add a couple more --self-test options

2017-11-06 Thread Tom Saeger
Hi Joe, This is good! I had something similar cooking - specifically for SCM validation. My SCM attempt caught a few more issues: - check git branch if specified - check validitiy of "T:" entry, otherwise warn of malformed entry. Example malformed (current next has two instances):

[PATCH] get_maintainer: Add a couple more --self-test options

2017-11-06 Thread Joe Perches
Check for duplicate section headers and link reachability. Miscellanea: o Add --self-test= options (sections, patterns and scm for now) where the default without options is all tests o Rename check_maintainers_patterns to self_test o Rename self_test_pattern_info to self_test_info Signed-off-b