From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id D087220B4C; Tue, 7 Nov 2017 18:35:47 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Tue, 07 Nov 2017 18:35:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=Jh6oNp3Ru9uPBVz6ARYENSZfSn kX8uTx7R2GuZu+CEg=; b=RIftv+QvSLN32uFdyMknGkHSa4tcmERhWMNo+hoUWU /Hu7FY4oW9PlSB7xKbUH8+Y9fpgTbY9V+qiJLiGAPFwku4zu0PCGwzCTbsl6hG+H UQkdvfV0dRkqKzB8FtwnJxRzm9CUoPWu4TAqCyxKLr1v+myuL6lpACcPOIYQW+Lc 0= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=Jh6oNp 3Ru9uPBVz6ARYENSZfSnkX8uTx7R2GuZu+CEg=; b=fuU4iqSnzbW9iDakQFpX7A 0TwRbRRAo0IeVNoOIoocTlgI0WNI7cKD8pz2mpJgHF7ilkTy5eoMjUWugL2N60Tp wqlPyqGe9JlTdeF3uYaAoDsmmsZkk8TLL3wnddiEC7ec+D8aEIYXZY8zbmqX+3IS FMY0dN/O4MR0MoCZWIqkA67rtaUOdFzU5/C9LvpJd0xIfUOWdLEPpAC342A/mdhr SNqDfUZSv4pE7G8/Rz6pxwdklfMOFAe54faCmz4oDvxvZMaU5lSvY1kaEO+gN66D Z64P4zTDWFPDKtdO0a6vYpdMOkuY+2B+L5ffFcEAqt5tgHg8fH1np1E5LUSrOVnQ == X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 9182A2494B; Tue, 7 Nov 2017 18:35:47 -0500 (EST) From: Thomas Monjalon To: Ferruh Yigit Cc: dev@dpdk.org, John McNamara Date: Wed, 08 Nov 2017 00:35:46 +0100 Message-ID: <3010398.kuAIiaT0df@xps> In-Reply-To: <20170804140125.76823-1-ferruh.yigit@intel.com> References: <20170428163420.25785-1-ferruh.yigit@intel.com> <20170804140125.76823-1-ferruh.yigit@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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:35:49 -0000 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 > +}