From patchwork Fri Dec 3 07:54:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Ehrhardt X-Patchwork-Id: 104848 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 08CACA0548; Fri, 3 Dec 2021 08:54:26 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B21CC42701; Fri, 3 Dec 2021 08:54:22 +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 1FEAE406FF for ; Fri, 3 Dec 2021 08:54:21 +0100 (CET) Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) (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 F04EB3F1F8 for ; Fri, 3 Dec 2021 07:54:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1638518060; bh=bHGHQCQ7vyUumUAa0N8dTIcMvGwLtsTurdnmisV49KA=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=TFE9mCinBhyVKA3azBtD5BJvePQcz75awSKWNA+UsehXOKmPeNC0awwKWGrr3BeCC fnI2LwqaKFQSq0BiUN8fI77Ow2WXtCu09usV+kyqFUzUucaPiUMe+0Tz6EwS3MbFXA raz3EKKgREt4iih15QkgNF0IMttYx1Uj4oQYs0SjqDW43dGcKPhjr3Rv9bkC0McwhL 3KWWRTDL5sdJyGBUGSSW4zb1KavrA0pc3sgybEBxIId6C1zCXTkAkCsLa8yDtWVo2w XuF5tqxTk5aAVSnK0gmqVtr6mWdyHUyTGTZnL4FF2akI6rOq1yCVJX0aAapFzZHMmJ ejF4FPNaDmeOg== Received: by mail-ed1-f69.google.com with SMTP id c1-20020aa7c741000000b003e7bf1da4bcso1787978eds.21 for ; Thu, 02 Dec 2021 23:54:20 -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:in-reply-to :references:mime-version:content-transfer-encoding; bh=bHGHQCQ7vyUumUAa0N8dTIcMvGwLtsTurdnmisV49KA=; b=x4QZwnGgMMTl4Oqm3mZ2r+GjKOspXOdVhkccECZfneYYKZKlneWg9zzqjerb6mygg9 IfPYnvmOFfA6Q+dNdgAJWKqUdMJj3WH6V1uk+erTU0CAphXwAB4ZdEzf8PMiYN338E/3 PPU1lCc5HB9sHCX3Z6kLOjlVUJhD9Wt2GQ6wzotNrBj7JiX++ZjiroQkuSVVkzstotiN AqihMcBuwphognD7kDIsIbfWimRHtcRpIy39qgQQbkjOgURLu4LhmjTSxFeV5SEECYkJ xT2M+zV3JvY26X8Kgfia2g/vMWg2n6Pjx1WByzwAaaIYRYIuU2XMXhzAGCIHfG6joa+3 t1Vw== X-Gm-Message-State: AOAM531GLoXLpXAiMpch1MBmZpI83ftCw8KLzBW3Ja9UewyCyODAUrgz A59/zeiJnnHdCkB+76SppdkO66QdOQTqCZvR2PYA73QJAPHjHFUXCoj/gOzSUNOWzUpM20UJWM8 XpkDMYNzqCPmEFKtb379m X-Received: by 2002:a17:906:5653:: with SMTP id v19mr21420614ejr.360.1638518059939; Thu, 02 Dec 2021 23:54:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJz7SOv0qvR61WDIrCKEdb95CqVtjFwzPQs8XqcgUYa+JeeX/Y+X8RR0BpVG04eUUaZO4X+izg== X-Received: by 2002:a17:906:5653:: with SMTP id v19mr21420591ejr.360.1638518059798; Thu, 02 Dec 2021 23:54:19 -0800 (PST) Received: from localhost.localdomain ([2001:67c:1560:8007::aac:c4ad]) by smtp.gmail.com with ESMTPSA id gt18sm1430632ejc.46.2021.12.02.23.54.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Dec 2021 23:54:19 -0800 (PST) From: christian.ehrhardt@canonical.com To: dev , Thomas Monjalon , Luca Boccassi , Xueming Li , David Marchand , Kevin Traynor , Maxime Coquelin Cc: Christian Ehrhardt Subject: [PATCH v2 2/2] devtools: report commit id on partial fixes Date: Fri, 3 Dec 2021 08:54:15 +0100 Message-Id: <20211203075415.4083502-2-christian.ehrhardt@canonical.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20211203075415.4083502-1-christian.ehrhardt@canonical.com> References: <20211203075415.4083502-1-christian.ehrhardt@canonical.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org From: Christian Ehrhardt The candidate list for backports lists partial fixes like: "(21.02 (partially fixed in 21.08))" That is useful to identify fixes menat for later releases, but indirectly applying to older ones as well. While the devscript has no access to the stable tree to fully check if the respective interim commit is present there, reporting the commit id will still help to check it later - because only if the interim commit id is in the stable tree, then also the new fix is a real candidate for backporting. The above would become "(21.02 (partially fixed in c30751afc360 @ 21.08))" Signed-off-by: Christian Ehrhardt Acked-by: Luca Boccassi Acked-by: Kevin Traynor Acked-by: Xueming Li --- devtools/git-log-fixes.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devtools/git-log-fixes.sh b/devtools/git-log-fixes.sh index 27ec9088d4..a1b548948a 100755 --- a/devtools/git-log-fixes.sh +++ b/devtools/git-log-fixes.sh @@ -76,7 +76,7 @@ origin_version () # ... # look chained fix of fix recursively local rootver="$(origin_version $roothashes)" [ -n "$rootver" ] || continue - echo "$rootver (partially fixed in $origver)" + echo "$rootver (partially fixed in $origin @ $origver)" else echo "$origver" fi