| Message ID | 20260404213020.372253-12-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=1775338293; bh=JywM0WU/HvD9RSfCF8et7IhVPHrMU4YqyJ5anahO9vo=; 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=JXTVZWkOJb7d+pzd78v9l/TXzD2JOsdrTZwUlKkMlZDzoXx165aXjINhuSmDdFMmU SGbhdbMvslOW+OSxEaCp58SsW4TU81E07NtL40rwlUejo9Ch+8Aeb6frWNudcfeg82 PxKzBDJ4rVJNX/yLQM3CPFaZ9Rx89vExKi5LvqUGOz5EIHxaHTvfVhQXqEUCusnTeI +05GJ+BOGHIGt716+ue9Q2JPOrkPofJtrVjFgLykEclIAh2b7wMFEGyhAT4ur4Q2yh I58tNDZ6VLw4BFS3lFnvEL1SsWi7Xya6TKP4a31W9omaHSZgBSWeoBO4+QwvyDEGOZ akXW/v26ydCkw== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id C0A416A369 for <u-boot-concept@u-boot.org>; Sat, 4 Apr 2026 15:31:33 -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 rpvl8igqZXT8 for <u-boot-concept@u-boot.org>; Sat, 4 Apr 2026 15:31:33 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1775338293; bh=JywM0WU/HvD9RSfCF8et7IhVPHrMU4YqyJ5anahO9vo=; 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=JXTVZWkOJb7d+pzd78v9l/TXzD2JOsdrTZwUlKkMlZDzoXx165aXjINhuSmDdFMmU SGbhdbMvslOW+OSxEaCp58SsW4TU81E07NtL40rwlUejo9Ch+8Aeb6frWNudcfeg82 PxKzBDJ4rVJNX/yLQM3CPFaZ9Rx89vExKi5LvqUGOz5EIHxaHTvfVhQXqEUCusnTeI +05GJ+BOGHIGt716+ue9Q2JPOrkPofJtrVjFgLykEclIAh2b7wMFEGyhAT4ur4Q2yh I58tNDZ6VLw4BFS3lFnvEL1SsWi7Xya6TKP4a31W9omaHSZgBSWeoBO4+QwvyDEGOZ akXW/v26ydCkw== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id AD0DD6A375 for <u-boot-concept@u-boot.org>; Sat, 4 Apr 2026 15:31:33 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1775338291; bh=ONYaoc/VkFj2RlMDWs9DuZYtaHJOa8dmlKcHVHsYohg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=abvTEa/T+Y7KEjdHGJrzqsFJPGca5Lts3jo2gM0DS+3y5Mtk9km6r4as4ZALCAjIQ ECMZktJ+ERfAtsoQmUturVWTR2WR2XYZ9pw3XIz4PSzTuGOrgJa0xJMQk1sbisZQYm AZ4dtC8U+fnzdkGdKDdZj9cNiOLW2aveZrrnYxrXlpBHvA/Ivr5PutLLAP05HDbv2c 3JtauY35uuuWN8ZTVlYyi2nRrZKnPE3KqmgA/GmijVReq5ib0DyZA80I5ZHwjtjN13 PIqFBnzjlYV+1oPOvokDR5Zk7f8n/lpMIaifkp/WgAHni2NjwnPtGHkrjCZB9n7GRL OGhOF/ZaAsy7A== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id AC7096A369; Sat, 4 Apr 2026 15:31:31 -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 lDPr6TU0DpVX; Sat, 4 Apr 2026 15:31:31 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1775338287; bh=+Hr5s9h1gAxWR4aCmLqNjAtjNfat9NMqfynI76V2Ols=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eV5QWO7V2HgLTynOCPMYkaeoC/oXURIuBEVrkCon2yFuKTRTSxgqWAuF6hRHo1rbk cW56ppYpL21XnoO/CG680hEs+EzlG6wn+QQEpJtcr4DkacYvAgQvT9i/Q0bIuJ46JJ RP7eigH9HNErnS4XOTISR6NZMH+wWQDtPhFNI+//B3tlnglluDiutezlktHFXD9P3s IawhvVvjnPc2IJbfObSM78RqYtrcAG+MAGDnF0IbnStEtEMWriMx2971PDB3FhUdqq HEha5Hcu9KmtVf0iB8oJLq0+GH5Yd24hK6yMQfxxaQw8ne2jDnqWtz6Bbzu/+tSN3u aOxMrhcpS2w2Q== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 2E4B56869D; Sat, 4 Apr 2026 15:31:27 -0600 (MDT) From: Simon Glass <sjg@u-boot.org> To: U-Boot Concept <concept@u-boot.org> Date: Sat, 4 Apr 2026 15:28:47 -0600 Message-ID: <20260404213020.372253-12-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260404213020.372253-1-sjg@u-boot.org> References: <20260404213020.372253-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: FGVL6FGNXWKPFGIDLMLJIZGMVH2IDJQZ X-Message-ID-Hash: FGVL6FGNXWKPFGIDLMLJIZGMVH2IDJQZ 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 11/37] patman: Add ser_ver_set_desc() to update per-version description 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/FGVL6FGNXWKPFGIDLMLJIZGMVH2IDJQZ/> 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: Autolink fixes and AI-assisted patch review
|
|
Commit Message
Simon Glass
April 4, 2026, 9:28 p.m. UTC
From: Simon Glass <sjg@chromium.org> Add a database method to update the description for a specific series version. This is needed so that autolink can use the correct search term when the patch order changes between versions. Signed-off-by: Simon Glass <sjg@chromium.org> --- tools/patman/database.py | 9 +++++++++ 1 file changed, 9 insertions(+)
diff --git a/tools/patman/database.py b/tools/patman/database.py index ec1daa1c073..437a05b3de0 100644 --- a/tools/patman/database.py +++ b/tools/patman/database.py @@ -657,6 +657,15 @@ class Database: # pylint:disable=R0904 if self.rowcount() != 1: raise ValueError(f'No ser_ver updated (svid {svid})') + def ser_ver_set_desc(self, svid, desc): + """Update the description for a series version + + Args: + svid (int): ser_ver ID num + desc (str): Description text + """ + self.execute('UPDATE ser_ver SET desc = ? WHERE id = ?', (desc, svid)) + def ser_ver_add(self, series_idnum, version, link=None, desc=None): """Add a new ser_ver record