| Message ID | 20260329150140.4095446-4-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=1774796522; bh=rnxTSHIpcNJV9cX05QyAaz5vtsgcx9I+cSLlSvNCjFw=; 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=LM0rCIeLzKZIea7M00pryrZelwTRLWJPnnT7rGjdHmDxuKjHyqNUb31nPfemlV1pV q1SNm+xj28vzXkwcHyJV81E+/+KyifRLLZDJhNkSKb3Vo9o+n7vq8HuPYQYBQ9gszS GjWAAFW77fqRaDTH3+8HQxTKYY3V1scsw1E6PXCGC50A02kfQjYajqnmqzaySqE+q2 Dqi0TkBs+Ql7bNNNhw2SHsbSFkoljovhLUsh6Zx2Ay81pKeEfmypguPJQ6mFirkKUK wfCqkFpSZre8rn98opyKQNqfNQuBHGoSuCsQJMK0YE/E5Zy/PhGMey5Gt3e72gEFvf Gi9QQqOM9F7ZQ== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 6C1416A2DB for <u-boot-concept@u-boot.org>; Sun, 29 Mar 2026 09:02:02 -0600 (MDT) 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 YrX3mXwQsRhx for <u-boot-concept@u-boot.org>; Sun, 29 Mar 2026 09:02:02 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1774796522; bh=rnxTSHIpcNJV9cX05QyAaz5vtsgcx9I+cSLlSvNCjFw=; 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=LM0rCIeLzKZIea7M00pryrZelwTRLWJPnnT7rGjdHmDxuKjHyqNUb31nPfemlV1pV q1SNm+xj28vzXkwcHyJV81E+/+KyifRLLZDJhNkSKb3Vo9o+n7vq8HuPYQYBQ9gszS GjWAAFW77fqRaDTH3+8HQxTKYY3V1scsw1E6PXCGC50A02kfQjYajqnmqzaySqE+q2 Dqi0TkBs+Ql7bNNNhw2SHsbSFkoljovhLUsh6Zx2Ay81pKeEfmypguPJQ6mFirkKUK wfCqkFpSZre8rn98opyKQNqfNQuBHGoSuCsQJMK0YE/E5Zy/PhGMey5Gt3e72gEFvf Gi9QQqOM9F7ZQ== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 2412E6A2DE for <u-boot-concept@u-boot.org>; Sun, 29 Mar 2026 09:02:02 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1774796518; bh=SLfLIQdyD93AT39rOsl+tdhde9e3mbSbIdGiuutsJjc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=P7ITREUYr3mbvUtOWq85j9c2VZpL6A/Y+DUo6O2zc7DshMDwehMuQNxepiqW6p8IV +8Ejjd70odm711syk32iZ2FHp3TbqMnGXBXpSWbKUS1nHXFfga8pieXzPN8OeokB0Q 7IUx12KjZEkugdHh9bY/5RfflKcDmVapoYKp5kn/i0MYVXhQSuETZGgcrcvhUBvFuZ f1Hze1hZLvgLin/X1bcYAylt2SSsSzpX2znjWz0UCag4faLvFm2ocnOxtcWIpXVdTU 5H13CdpzVyF1EQwEeiyGAd7lEC/Niy1ePesrnjmPyHjRpm4pb9d7NSVIK2j+VT8njv 3g2kBt/1leV+Q== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id C34C96A02E; Sun, 29 Mar 2026 09:01:58 -0600 (MDT) 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 oRPQdVxH9msJ; Sun, 29 Mar 2026 09:01:58 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1774796518; bh=edY5INgVaEfncscn+sJtPuoCLZgx29klkW9r++Hhz78=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DOQZIwRPvr/UAH2byqwvQZ8PsZwihElr0tRsRPZhdO/ipERnniwKyGusJtV52zqql X1gpdsirsRzd8Y7H9eSZwU/2pyNeT0/5LEsY46q2aE6jm+9t8pZ4xuF5XHs7XBsYlI VZRdQyd2MSw3anrMgrZ6OPvkLluqEUWkTVCSQ+rU0saO+GqZgYuwUdiOcKobBQafSj kjC1R6wKZ94pTdLaBVmRzd0px18bNFCBsdUOmGn1LwDoxzKcXPv2IjOqtih7XV2S7F DSyJ/K0j05mGgPj0QDD6DS8mExFxfBmLyWX3q7LOiEJW2cavZhMp8lzmqYNM5mRExG 2RtCYIJH92HgA== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id C94996A2AB; Sun, 29 Mar 2026 09:01:57 -0600 (MDT) From: Simon Glass <sjg@u-boot.org> To: U-Boot Concept <concept@u-boot.org> Date: Sun, 29 Mar 2026 09:01:28 -0600 Message-ID: <20260329150140.4095446-4-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260329150140.4095446-1-sjg@u-boot.org> References: <20260329150140.4095446-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: NHYBWYCTAR45C4K3P5F6CJNTSAR7U5KN X-Message-ID-Hash: NHYBWYCTAR45C4K3P5F6CJNTSAR7U5KN 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> X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 03/11] patman: Strip version suffix in get_series_upstream() 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/NHYBWYCTAR45C4K3P5F6CJNTSAR7U5KN/> 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 workflow tracking for patch series
|
|
Commit Message
Simon Glass
March 29, 2026, 3:01 p.m. UTC
From: Simon Glass <sjg@chromium.org> When get_series_upstream() auto-detects the series from the current branch, it uses the raw branch name (e.g. 'bootma-us2') without stripping the version suffix. This causes the database lookup to fail, so the per-upstream patchwork URL is not found and patman falls back to the wrong server. Call split_name_version() to strip the version number, matching what _parse_series() already does. Also pass self.gitdir to get_branch() Signed-off-by: Simon Glass <sjg@chromium.org> --- tools/patman/cser_helper.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tools/patman/cser_helper.py b/tools/patman/cser_helper.py index ec3956db4d5..0b9f670ca25 100644 --- a/tools/patman/cser_helper.py +++ b/tools/patman/cser_helper.py @@ -435,7 +435,8 @@ class CseriesHelper: str or None: Upstream name, or None if not found """ if not name: - name = gitutil.get_branch() + name = gitutil.get_branch(self.gitdir) + name, _ = patchstream.split_name_version(name) ser = self.get_series_by_name(name) if ser: return ser.upstream