From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id DC33FA0547 for ; Fri, 14 Feb 2020 13:47:22 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CD3323B5; Fri, 14 Feb 2020 13:47:22 +0100 (CET) Received: from mail-wm1-f65.google.com (mail-wm1-f65.google.com [209.85.128.65]) by dpdk.org (Postfix) with ESMTP id C10833B5 for ; Fri, 14 Feb 2020 13:47:21 +0100 (CET) Received: by mail-wm1-f65.google.com with SMTP id p9so9838378wmc.2 for ; Fri, 14 Feb 2020 04:47:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=9wiGT25hBfbcgZwEMYr5XtMutpawqyb1vzqX+RSkzb8=; b=MZ63T7BzyGez+thZaOX5LyxfWYP7IJtB3yY5dv8BEls6ofB+vR2hhN4zTi+spbYh58 zQRu6SicwxUDNuxaH7/KvoS/AZ5N1AZcCmZzKtOe3mbjzwaWAssDYJrj3t5RAaC1jUdG DAlW8Q4t+XrMuA114Wy3wERr6LIMyr6XR9txkgdTjpyyW06IfWPn5HQrMCYYlU5rANFS ukF2IOqeGdxvvwrVUoG1jR7hAzJVb2R+b09QT6pkZFgT9yU3NLyBo2/SwUPhCLcpJ4Ee YSnVF69Ggja+RcT5ezeCCRZuBYnmlJfXvYvaHQ/Fr3IAqfmWUOUFRZAxdHcGmzje2CqP fGUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=9wiGT25hBfbcgZwEMYr5XtMutpawqyb1vzqX+RSkzb8=; b=quSwMNNddCPjlBHobbN4gYIIUMNecG9LZpaahCBwI+/VlnHE78QSdaH50MBGZx268G Ord+1DgDV/aKD8xukoSFiVjEXVQaNLTSGi+Mjnys+J9iS10JRpBDB8wrui8jnfhHDRlu N2q2KrscWA6xdiG3ncPvWiuKTX4z5T/QjknA1W9St/5aJWg+0SMGtSP33+fgMd1gAAQI 0ZHURrLzmC4EOp48Spy36dRyzB1yAjKK3XOlyYnut3FSFDQMgC2vmbqpEz0imtrLOoWm NgEyxDIPQCAIcDDb0MgV7GwJO6FV/kGaxATlOASOdWG1g4fklqHzRd+Z4rc57D3mjKB/ S+Sg== X-Gm-Message-State: APjAAAUIUV7tK+glW93hqQwnLHnKQ0Ea0FRdAU4Qt1Rs5vTTTR+vaqKo 4qu0BKslrzXjGs+uGMs5Z9wBcKmE X-Google-Smtp-Source: APXvYqxsAYvekdfASZowgjBE1uTLzPj6Ye5toircCcUeLldm/ZGaD42ShcKjSxHnqyntNJpm1tqapA== X-Received: by 2002:a05:600c:292:: with SMTP id 18mr4801169wmk.128.1581684440843; Fri, 14 Feb 2020 04:47:20 -0800 (PST) Received: from bluca-lenovo ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id l15sm7081786wrv.39.2020.02.14.04.47.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Feb 2020 04:47:20 -0800 (PST) Message-ID: From: Luca Boccassi To: stable@dpdk.org Cc: ktraynor@redhat.com Date: Fri, 14 Feb 2020 12:47:19 +0000 In-Reply-To: <20200214114840.11810-1-luca.boccassi@gmail.com> References: <20200214114840.11810-1-luca.boccassi@gmail.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.5-1.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-stable] [PATCH stable-scripts] Fix regex to select commit via Fixed line X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" David pointed out that sed -E is not present on certain ancient distros, so I'll use --regexp-extended instead which is equivalent On Fri, 2020-02-14 at 11:48 +0000, luca.boccassi@gmail.com wrote: > From: Luca Boccassi < > luca.boccassi@microsoft.com > > > > The regex was not matching very old DPDK versions with letters in > it, like 1.3.0r0. > > Signed-off-by: Luca Boccassi < > luca.boccassi@microsoft.com > > > --- > I had one problem, so I used a regex to fix it. > Now I have two problems. > > 1-import | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/1-import b/1-import > index 51e4413..b49e228 100755 > --- a/1-import > +++ b/1-import > @@ -46,7 +46,7 @@ then > echo $line >> $tmp_list > # Is the patch fixing a commit that was part of this > stable release? > # If so select it > - elif verlte `echo $line | sed "s/.*(\([0-9][0-9].[0- > 9][0-9]\).*)/\1/"` $stable_release > + elif verlte `echo $line | sed -E "s/.*\(([0-9]+.[0- > 9]+(.\w+)*)(\s\(.*\))*\)/\1/"` $stable_release > then > echo $line >> $tmp_list > # Was the commit (which might be only in a subsequent > release) > -- Kind regards, Luca Boccassi