From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <nelio.laranjeiro@6wind.com>
Received: from mail-wr0-f169.google.com (mail-wr0-f169.google.com
 [209.85.128.169]) by dpdk.org (Postfix) with ESMTP id A5D3325E5
 for <dev@dpdk.org>; Fri, 15 Sep 2017 11:25:07 +0200 (CEST)
Received: by mail-wr0-f169.google.com with SMTP id r74so1297695wrb.13
 for <dev@dpdk.org>; Fri, 15 Sep 2017 02:25:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=6wind-com.20150623.gappssmtp.com; s=20150623;
 h=date:from:to:cc:subject:message-id:references:mime-version
 :content-disposition:content-transfer-encoding:in-reply-to
 :user-agent; bh=+/qayGyNevgKAbzm3CHCpesEyCMn7ZlsjK3zNfTkUUU=;
 b=wgNKeqQXdlev4sMsRS2v8a9Hr10PEuluiSJ8PbdvDrzr6wH9PhIw31PhHe0PszoVKh
 jCpf5d27cOOnKoeStrkQySz/PdUE7LKaOCmtMbov/WYU0dRVGPTqePeVrHjBVepANgPD
 O2i1Gy+yaiZXSqotN2b77BysxAKvOq7MCKtrSS2gru1lFj3kAV1kqI80I2BBx5lUzrHj
 ZeV4j95okTJ7s6hC29TL3WtmsL7BtfyO8Y1ATI7H+cA49r5aUk1FkuCB400O+M8JlowR
 2sUvpGkGjuGuXgJuGhhHh6+F3SEISQOCwxoa/hNXCdyIvy+EtAZ8UFAdYHTtaGyijBto
 pS8g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:date:from:to:cc:subject:message-id:references
 :mime-version:content-disposition:content-transfer-encoding
 :in-reply-to:user-agent;
 bh=+/qayGyNevgKAbzm3CHCpesEyCMn7ZlsjK3zNfTkUUU=;
 b=CiqwCt/LewG1TFICJAGCnH9jgI3oz4BAb9rTFagKMJpiJrEJsqm+M74d5PBTkG/up2
 52L0oTJd8grAV7UQrWc0XxMWuht54laUWTzo6Ymmib8WPo0g0tPj/J6zDmtfYg649P86
 7jKLNg8fs7n7c2o3ebv5VZGSRAhADpaDIECjT3xLrxCR5jp4jsLpYLV+7tNJqpWfRCQ3
 B3AbZjg/UZDyE1On/W6dsoPRqO6Q2Olprqw5y366DzFcFBvcnwV1H4NXt1rvU+5w1kKK
 cMmHk8VBtm0s6qld+QDzIWwRPwjBRjOvVlfiTG+C59ktTyAXQ3rQNn9ylFrUq3ujVBis
 Cm4Q==
X-Gm-Message-State: AHPjjUiQpshSNbbOv1dFleAztFBuMRs3tVlK57eqs8VW3vnZFIzqyKwy
 7mWghjclwXuhbZEi
X-Google-Smtp-Source: ADKCNb7Nb0z1Yke35dydiLHEF3yR1TqrVSusjPmu0rn+FsN6ACm1SJvGBYy5FrLpIlTDmrwHYlJ+VQ==
X-Received: by 10.223.195.87 with SMTP id e23mr23363710wrg.77.1505467507135;
 Fri, 15 Sep 2017 02:25:07 -0700 (PDT)
Received: from autoinstall.dev.6wind.com
 (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78])
 by smtp.gmail.com with ESMTPSA id f89sm600076wmh.18.2017.09.15.02.25.05
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Fri, 15 Sep 2017 02:25:06 -0700 (PDT)
Date: Fri, 15 Sep 2017 11:24:56 +0200
From: =?iso-8859-1?Q?N=E9lio?= Laranjeiro <nelio.laranjeiro@6wind.com>
To: Thomas Monjalon <thomas@monjalon.net>
Cc: dev@dpdk.org, stable@dpdk.org
Message-ID: <20170915092456.GF2160@autoinstall.dev.6wind.com>
References: <20170904220532.10175-1-thomas@monjalon.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <20170904220532.10175-1-thomas@monjalon.net>
User-Agent: Mutt/1.5.23 (2014-03-12)
Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH] devtools: fix version search
 with git < 2.7.0
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Sep 2017 09:25:07 -0000

On Tue, Sep 05, 2017 at 12:05:32AM +0200, Thomas Monjalon wrote:
> The script git-log-fixes.sh (used in check-git-log.sh) looks
> for git tags to find the version where a bug is introduced.
> 
> In DPDK 17.08, the script has been fixed to ignore tags from
> non current branch.
> It was using the option --merged which was introduced in git 2.7.0.
> 
> As git 2.7.0 is not so old, a fallback is provided for some years.
> 
> The fallback is replacing the tag --merged option by a branch filter.
> If the tag is found in the branch, the branch name is replaced
> by the tag.
> 
> This script could be improved to allow using another reference branch,
> instead of hard coding HEAD branch (the current one).
> 
> Fixes: 26857dabb3c9 ("devtools: ignore non merged tags for backport")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Tested-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>

Solves the issue.

-- 
NĂ©lio Laranjeiro
6WIND