devtools: add script to get maintainers from patch
authorFerruh Yigit <ferruh.yigit@intel.com>
Fri, 4 Aug 2017 14:01:25 +0000 (15:01 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 7 Nov 2017 23:38:46 +0000 (00:38 +0100)
commit7a62910653206669aadbdad2abeb187a595dfefc
tree6a2cdab70a33b3683c8dc6a5d4b86422b6e745ab
parentc4a5fe3bf83282c2e682cd35c6774e11eecf0e85
devtools: add script to get maintainers from patch

This is a wrapper to Linux kernel get_maintainer.pl file and only
supports parsing MAINTAINERS file (no git fallback etc..)

Requires DPDK_GETMAINTAINER_PATH devel config option set, please check
devtools/load-devel-config.

DPDK_GETMAINTAINER_PATH should be full path to the get_maintainer.pl
script, like:
DPDK_GETMAINTAINER_PATH=~/linux/scripts/get_maintainer.pl

Can be used individually:
./devtools/get-maintainer.sh <my.patch>

Or via git send-email, to add maintainers automatically:
git send-email --to-cmd ./devtools/get-maintainer.sh \
--cc dev@dpdk.org HEAD -4

Currently there is an ugly workaround to be able to use Linux script out
of the kernel tree, later better method can replace it.

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
MAINTAINERS
devtools/get-maintainer.sh [new file with mode: 0755]
doc/guides/contributing/patches.rst