From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 1D0CC1B3D1 for ; Wed, 8 Nov 2017 00:41:44 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Nov 2017 15:41:44 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,361,1505804400"; d="scan'208";a="918757096" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.241.225.127]) ([10.241.225.127]) by FMSMGA003.fm.intel.com with ESMTP; 07 Nov 2017 15:41:43 -0800 To: Thomas Monjalon Cc: dev@dpdk.org, John McNamara References: <20170428163420.25785-1-ferruh.yigit@intel.com> <20170804140125.76823-1-ferruh.yigit@intel.com> <3010398.kuAIiaT0df@xps> From: Ferruh Yigit Message-ID: <90f53ade-59d0-378d-bdd5-1d82bb6db733@intel.com> Date: Tue, 7 Nov 2017 15:41:43 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <3010398.kuAIiaT0df@xps> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v2] devtools: add script to get maintainers from patch X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Nov 2017 23:41:45 -0000 On 11/7/2017 3:35 PM, Thomas Monjalon wrote: > 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? No, not tried, but that list looks like put intentionally so not sure if a patch helps. > >> +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 >> +}