From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2] devtools: add script to get maintainers from patch Date: Wed, 08 Nov 2017 00:35:46 +0100 Message-ID: <3010398.kuAIiaT0df@xps> References: <20170428163420.25785-1-ferruh.yigit@intel.com> <20170804140125.76823-1-ferruh.yigit@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, John McNamara To: Ferruh Yigit Return-path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 3F6B61B3CF for ; Wed, 8 Nov 2017 00:35:49 +0100 (CET) In-Reply-To: <20170804140125.76823-1-ferruh.yigit@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 04/08/2017 16:01, Ferruh Yigit: > 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 > > 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 Sorry for having missed this very convenient patch for months. Applied, thanks Have you tried to send a patch to Linux in order to avoid the workaround below? > +FILES="COPYING CREDITS Kbuild" > +FOLDERS="Documentation arch include fs init ipc kernel scripts" > + > +# Kernel script checks for some files and folders to run > +workaround () { > + for f in $FILES; do > + if [ ! -f $f ]; then touch $f; fi > + done > + > + for d in $FOLDERS; do > + if [ ! -d $d ]; then mkdir $d; fi > + done > +}