| Message ID | 20260226200106.1727176-32-sjg@u-boot.org |
|---|---|
| State | New |
| Headers |
Return-Path: <concept-bounces+u-boot-concept=u-boot.org@u-boot.org> X-Original-To: u-boot-concept@u-boot.org Delivered-To: u-boot-concept@u-boot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1772136214; bh=AJTEwrnNS5enwn0Z5IQj4A5T7RidEwK+smdERoOtqyk=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=Gi3hfewvmg1zBWnHLD/2tsdD6DqdKNop4ioKJEG8VJ+OEy6Ll4pa0lQ1FzUpl2LZj aexJ9dlBDK01JpDVpsuwuvAsHMBZgHXbr5E70Zts58HMsU6/CccqFpbqal+pYavQvb Id4NVEfC0yW5+1Quk37xiPzUEojBk/Bu1RU4UcyQm0jcHUwC+1V7OYOHH5wfehNo04 anvcBMSZPNYmPBECVukNfEmJFBbFncxd2r2FpY0eb69NE0Cc1IToY3SV9S9LpUsGpR e6+r/+nD5frjYZY6a7Z81RVlp2xpkfAHATPNSJCmLSRNJ8W1tYGDnrwU+k6dkn1i6m gfu7GjVCOPrZA== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 2E39669E42 for <u-boot-concept@u-boot.org>; Thu, 26 Feb 2026 13:03:34 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id P3aWZxZz3QTx for <u-boot-concept@u-boot.org>; Thu, 26 Feb 2026 13:03:34 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1772136214; bh=AJTEwrnNS5enwn0Z5IQj4A5T7RidEwK+smdERoOtqyk=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=Gi3hfewvmg1zBWnHLD/2tsdD6DqdKNop4ioKJEG8VJ+OEy6Ll4pa0lQ1FzUpl2LZj aexJ9dlBDK01JpDVpsuwuvAsHMBZgHXbr5E70Zts58HMsU6/CccqFpbqal+pYavQvb Id4NVEfC0yW5+1Quk37xiPzUEojBk/Bu1RU4UcyQm0jcHUwC+1V7OYOHH5wfehNo04 anvcBMSZPNYmPBECVukNfEmJFBbFncxd2r2FpY0eb69NE0Cc1IToY3SV9S9LpUsGpR e6+r/+nD5frjYZY6a7Z81RVlp2xpkfAHATPNSJCmLSRNJ8W1tYGDnrwU+k6dkn1i6m gfu7GjVCOPrZA== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 13BD069D8A for <u-boot-concept@u-boot.org>; Thu, 26 Feb 2026 13:03:34 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1772136212; bh=Iizt8CaXCRFvXVGyAibo5NDriPc5ONmMGC2FYn28hxw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=muKwtmN9QtsAFmUKhiDmS/yC/xfdJbePcMM+KISiRoEgXXlPy+QgAsj/1Erp1AYvk XRpN5sNB8IURgr7RGbnUqvcixibjTh744n7vwhUXcTJi8A3iV6encE43FAQjvSgzAG IxTdkW/nkezEKu3xdItjWhcYCep3llONecudj4VRgSTv+8nCGTE/S4PiI/VjLKWqC2 hS1DQMx1PH7JOgMOr7FIScbqIchzp8Gu1dSdHY89jCwuMMirpyuh3SZSGLXKjxcieJ vX/+7s5NNsrOQpLnCmV4tV0imaAEoYLubcooFprbjzdqvF3FLAveMiqLMIxb1pj8T/ XXWQ45Ipf+0sg== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 4FE1369D8A; Thu, 26 Feb 2026 13:03:32 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10026) with ESMTP id vkH5YJJSJw87; Thu, 26 Feb 2026 13:03:32 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1772136212; bh=Wj22r2zs1qMIzuVk93e4IUrvqwBZ5aLfi2g9auSUsKs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RI00PlwAngybvKsU/H0stKgJ2fwR+Xs4d+mFLAO4mSNmqOrKhDAFgqulgiMrLG78w AlsvmMPLej/dEBvkspdHDwAC080/L2Tu8keZxnX1uDtu1qJzF7+iaimYTfIgRtfDw4 H+oNDlf2OlhjhE6ntlyTLy6vP2nc2gMAOVFDWP0vJhTRB6YQzuEXFnkdvbLIaXvseN rD9nWYficWzPwp6VMD6d6blK+dd6y6IQeNljp81dNGKZ3S2ISYcQMvJXSMcnfvtkAi xvQfXFe9+jJp6u6vGkjSgoG4v3knO6AEGCSkKtI1FRLSUgqW49L6ai4Ey+SqC4lNV7 XUybPjuiQGQuQ== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id CB83F69D4A; Thu, 26 Feb 2026 13:03:31 -0700 (MST) From: Simon Glass <sjg@u-boot.org> To: U-Boot Concept <concept@u-boot.org> Date: Thu, 26 Feb 2026 13:00:37 -0700 Message-ID: <20260226200106.1727176-32-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260226200106.1727176-1-sjg@u-boot.org> References: <20260226200106.1727176-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: UPMTJ67HIOLI2U66NACKGO2EIHVCEWNJ X-Message-ID-Hash: UPMTJ67HIOLI2U66NACKGO2EIHVCEWNJ X-MailFrom: sjg@u-boot.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Simon Glass <sjg@chromium.org>, Simon Glass <simon.glass@canonical.com> X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 31/32] patman: Update series description on scan List-Id: Discussion and patches related to U-Boot Concept <concept.u-boot.org> Archived-At: <https://lists.u-boot.org/archives/list/concept@u-boot.org/message/UPMTJ67HIOLI2U66NACKGO2EIHVCEWNJ/> List-Archive: <https://lists.u-boot.org/archives/list/concept@u-boot.org/> List-Help: <mailto:concept-request@u-boot.org?subject=help> List-Owner: <mailto:concept-owner@u-boot.org> List-Post: <mailto:concept@u-boot.org> List-Subscribe: <mailto:concept-join@u-boot.org> List-Unsubscribe: <mailto:concept-leave@u-boot.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
| Series |
patman: Add multi-upstream support
|
|
Commit Message
Simon Glass
Feb. 26, 2026, 8 p.m. UTC
From: Simon Glass <sjg@chromium.org> When scanning a branch, check if the cover letter title has changed and update the series description in the database. This keeps the description in sync when the cover letter is edited between scans. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <simon.glass@canonical.com> --- tools/patman/cseries.py | 7 +++++++ 1 file changed, 7 insertions(+)
diff --git a/tools/patman/cseries.py b/tools/patman/cseries.py index 0b4ce91b024..716d3c7aa88 100644 --- a/tools/patman/cseries.py +++ b/tools/patman/cseries.py @@ -932,6 +932,13 @@ class Cseries(cser_helper.CseriesHelper): self.db.pcommit_delete(svid) self._add_series_commits(ser, svid) + + # Update series description if the cover letter has changed + branch_desc = ser.cover[0] if ser.cover else None # pylint: disable=E1136 + if branch_desc and branch_desc != ser.desc: + self.db.series_set_desc(ser.idnum, branch_desc) + tout.notice(f"Updated description to '{branch_desc}'") + if not dry_run: self.commit() seq = len(ser.commits)