From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5141FA0548 for ; Fri, 3 Dec 2021 08:51:30 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1FBD940041; Fri, 3 Dec 2021 08:51:30 +0100 (CET) Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) by mails.dpdk.org (Postfix) with ESMTP id 2C39840041 for ; Fri, 3 Dec 2021 08:51:29 +0100 (CET) Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id D9A0A3F1F0 for ; Fri, 3 Dec 2021 07:51:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1638517888; bh=btuBD8y3q75nPLokDQATYRpJIXLPnVDO5JmvhyjWgns=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=VJYc2paQ8/3yrvqK8t5PHZNwmr0r3eirPmC6rD+jhp0JCTbF7EKVxegZvF5aOuOco 9zEhA5DseLHX3yVZfqfIpuXwb8G+BGFLG1nxJ3F58aZz6d24ZpxkYknwGIBap3wpVc 3xx7eOM5H0uqMDPn6BUCB4Jp6mu+a8yYe7ql95Z8kDDVI8xbS07KcuiwyBAL97F52t 0XCj8lj+sIA8v8fllUpbi/GcPX2Ohyhdjd+nJ//8+FaC9BLpnljkfb8FKqVrvZfPVr 6WzgmrJbfc4DvebALgcLygwpOWlFrUZwfoUbzfBegSws6fp19qCGDn0olS7H/AdIdY UVXpkxaHpODoA== Received: by mail-ed1-f70.google.com with SMTP id w4-20020aa7cb44000000b003e7c0f7cfffso1872514edt.2 for ; Thu, 02 Dec 2021 23:51:28 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=btuBD8y3q75nPLokDQATYRpJIXLPnVDO5JmvhyjWgns=; b=agm5HsU3W8m9/OSKozoxcn8BWTHxDHHc660ycMuRfj3v0wqzy0kpOJrmz7WElEgJw6 JuqPq47TpiIz+1hhgmD753pbjuTQGYtCkXsJwqPhZdYIVEzE16a6/wqhMiq06vvqx/GU Vj8qYc+IvNO1dgl9HpcXcIjE7mYFcmQ6ZdUJnS6C0JrjvzqT394hjEtW1Zd01UpwdhIw SWynG2FbDNoOK6RkcmbjFMGiTbAwtLQVmX+xN3YfSeK/CktxEkLnERn2bvulhR69m2XQ s4D1oPcz6rqHed3dc3K2FnfbTP45kdv8IolI7aPne6P2cGYbztyVkUEtm+GII//tyi0D x2iw== X-Gm-Message-State: AOAM532ku37yJPFp4Xt2DjdfDUzUuYbn1LW91LFnbF/1taqHR7vv5ZmO uOzZD0kCpDfF4z97x0urLo4OJhbqOL1Ab69sFbUgC5+8ZCXO3i+5waX+qFr8ae64f72YOTEfqu3 Kowx045ZEvf4+Tb73I7AQ/TcQ X-Received: by 2002:a05:6402:1ca2:: with SMTP id cz2mr23919691edb.302.1638517888367; Thu, 02 Dec 2021 23:51:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJzxCTpB/knnKscvY9DgtaeBZL8FuwU8Gir3WeEkf580+J9nSLdxGxANjhcvQ2LBwTBx4p78pQ== X-Received: by 2002:a05:6402:1ca2:: with SMTP id cz2mr23919658edb.302.1638517888124; Thu, 02 Dec 2021 23:51:28 -0800 (PST) Received: from localhost.localdomain ([2001:67c:1560:8007::aac:c4ad]) by smtp.gmail.com with ESMTPSA id hu7sm1337855ejc.62.2021.12.02.23.51.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Dec 2021 23:51:27 -0800 (PST) From: christian.ehrhardt@canonical.com To: stable@dpdk.org, Thomas Monjalon , Luca Boccassi , Xueming Li , David Marchand , Kevin Traynor , Maxime Coquelin Cc: Christian Ehrhardt Subject: [PATCH 1/2] devtools: don't include headline "fix" in backports Date: Fri, 3 Dec 2021 08:51:22 +0100 Message-Id: <20211203075123.4081128-1-christian.ehrhardt@canonical.com> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 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 From: Christian Ehrhardt It was important in the past to select anything with "fix" in the headline, but recently more often created false positives and work to sort tihngs out than identifying many helpful patches. The community and processes aroudn DPDK matured enough that developers (rightfully) expect to rely on "Fixes:" and "stable@" marking for backprots. Therefore do no more include patches that just include the word fix in the backport candidate list. Signed-off-by: Christian Ehrhardt --- devtools/git-log-fixes.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/devtools/git-log-fixes.sh b/devtools/git-log-fixes.sh index 210c8dcf25..27ec9088d4 100755 --- a/devtools/git-log-fixes.sh +++ b/devtools/git-log-fixes.sh @@ -13,7 +13,7 @@ print_help () cat <<- END_OF_HELP Find fixes to backport on previous versions. - It looks for the word "fix" in the headline or a tag "Fixes" or "Reverts". + It looks for a tag "Fixes" or "Reverts" and for recipient stable@dpdk.org. The oldest bug origin is printed as well as partially fixed versions. END_OF_HELP } @@ -109,8 +109,7 @@ while read id headline ; do origins=$(origin_filter $id) stable=$(stable_tag $id) fixes=$(fixes_tag $id) - [ "$stable" = "S" ] || [ "$fixes" = "F" ] || [ -n "$origins" ] || \ - echo "$headline" | grep -q fix || continue + [ "$stable" = "S" ] || [ "$fixes" = "F" ] || [ -n "$origins" ] || continue version=$(commit_version $id) if [ -n "$origins" ] ; then origver="$(origin_version $origins)" -- 2.34.0