From: Neil Horman Subject: Re: [PATCH 1/2] devtools: report the incorrect section when complaining Date: Wed, 28 Nov 2018 16:23:49 -0500 Message-ID: <20181128212349.GD32491@hmswarspite.think-freely.org> References: <1543400933-1723-1-git-send-email-david.marchand@redhat.com> <20181128123432.GC32491@hmswarspite.think-freely.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org, thomas@monjalon.net, echaudro@redhat.com To: David Marchand Return-path: Received: from smtp.tuxdriver.com (charlotte.tuxdriver.com [70.61.120.58]) by dpdk.org (Postfix) with ESMTP id D3BF21B3AF for ; Wed, 28 Nov 2018 22:24:24 +0100 (CET) Content-Disposition: inline In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Wed, Nov 28, 2018 at 02:07:25PM +0100, David Marchand wrote: > On Wed, Nov 28, 2018 at 1:35 PM Neil Horman wrote: > > > On Wed, Nov 28, 2018 at 11:28:52AM +0100, David Marchand wrote: > > > It does not hurt reporting the incriminated section. > > > > > > Before: > > > ERROR: symbol rte_meter_trtcm_rfc4115_color_aware_check is added in a > > > section other than the EXPERIMENTAL section of the version map > > > > > > After: > > > ERROR: symbol rte_meter_trtcm_rfc4115_color_aware_check is added in > > > +EXPERIMENTAL section other than the EXPERIMENTAL section of the > > > version map > > > > > nit: Its a bit odd in the changelog to have an example in which the > > incorect > > section being reported matches the expected section. I.e. its confusing > > to read > > "... is added in +EXPERIMENTAL section other than the EXPERIMENTAL > > section". > > Might be better to change the language of the report below and the example > > to be > > something like: > > > > ERROR: symbol is added in the section, but is expected > > to be > > added in the EXPERIMENTAL section > > > > ACK to the notion of reporting the offending section though. Thats a good > > idea. > > > > Ok, updated for v2. > Thanks! Neil > -- > David Marchand