From patchwork Sat Feb 14 03:26:25 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1879 Return-Path: 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=1771039633; bh=XQEjwi/Dj+/5V2CIZiBcuyUSktsphAMQtmQu32ieP4U=; 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=n871dFt7uOu0RO5uqw4JuKCrkVHG4OmMV5ECpzW/zGKfCrkLDp90CrxguR9OMT3EM +BL4dkmylsaYWsziaMyu5t0WyWgm5f0PSqL8SkIQ/zYp+kjlWURekgyTRH/9y8cA8y nctALbm+C3O3hPZyv9o9ie5EjS1Lv9nuRe7J+DJAz6l4telMFYFuEUDcU8k1plk65A t2JdGSCSTMWSflhBv7nBIvQYM2+JUqpGvapCBDE2hdBhIaWLVt5REFEn84qndPkLnT Sb+jm22e5bFCHzFNgHXTK2irFog54sm+xoeSF3WNzF/buWUNuepBDRpHqKXhb+yYih uQ3zguAlSUELw== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 0660969B31 for ; Fri, 13 Feb 2026 20:27:13 -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 H54Ybd7RDZCr for ; Fri, 13 Feb 2026 20:27:12 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1771039632; bh=XQEjwi/Dj+/5V2CIZiBcuyUSktsphAMQtmQu32ieP4U=; 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=oy0R/nGD+OM53FDwsvTvNZ6mCzLfMlB3psGlqb9Idz/4qbmFAL4rlw7U56GkPQMYv 64YMtGaZQY/8+7vCSpumQJEaOs7NvPOdtxhjy73EGixlow6W5EuOnDshLIs7Tz21Qz L/rkjnt6osmV3R97fedJcwJ4DXIhku70cpocFdAHK9coMLrxzHFbdpFNCBtTqxlue4 wF1BRBPPpI8Lhdd1n4l1ksMw8NtVakl8Dr8EnCtT1Chb4FNHiZoPoIoKO+5fHs8uTF iTlAQo8XsyCodUvFaGmnZMqxWAVIzAPsFIougOpyEho2XbgAn4cvts7sMEwOr7znYS v6oNBeA+oxdbA== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id E8F9E69B5C for ; Fri, 13 Feb 2026 20:27:12 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1771039630; bh=cX//ZQbUIqVPnpAeaoRWf/VRmXEIS20Y5TPPrq4SbSo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=c8rdlF1J6dBqcH0lmvcUNs/pouj4OuwL+C1taJpacRSVXxA8EobBIl7QvHnF9J8Pv 6fZfJfEI0EfMiu3T0dHDWwLkQ8c0QWE3dPu4j8XftPhAIUaLHwKt4/af7JCbT+H0Z4 sXW/vzfI6JaltnFMY1LoXk1UDl0r2Kzeh73iHljCybqAuHHJgO1GfrDdw/FDUre0Yo PY14wQrIo93X1K1RUDCRmvFrw9kLU0ZrBLpgeGnrTuH1q5sV3hkn8IIcQB1DnG4EtQ 2EDK3d6zR/EEmgIw7gzqAB63FMOxMaD6F5/JIfzFY+VbxV+PjnKDOVAiQ2/PPN+8/+ /DHl22scoz2gg== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id DDD3969B31; Fri, 13 Feb 2026 20:27:10 -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 0sfukyefAI5N; Fri, 13 Feb 2026 20:27:10 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1771039626; bh=HE4PtP8VN6Foy4i/Ay0v2v6S4PWhESus/nN8/DX2s68=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AfEa8lnP8Eyz/CcZjFJK1qpsgHPFLCvB0fceArUgGJK/U9jNh9JUWRBr4IUwn+M37 uszltaE0nj7gVVRc6rG61rLCJQ9K3LZfUA2pOjM13TD9DDgfm+zRzHnZYZ8PK4KF0t 7IOZW2zbE3G+oVVa1k+b/u/TwJ6EzpMErEwMXb5ObW9aWuWRgHzfg20trvRIwV8zz5 xzZseKWqFrxIqNrZx9cUl1xi9MCfhfqxdUB6tUbMIBCgwDEPhFcfWhAVcdcdWQvIBf dO44DfbOsO9tP2/jug9h6O3/qSBF1X/FMFrERsuF6fXgwDrQh9SlkVf/kSmu2++6Jb /wT6mr3Y0j3lw== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 6894D69A73; Fri, 13 Feb 2026 20:27:06 -0700 (MST) From: Simon Glass To: U-Boot Concept Date: Fri, 13 Feb 2026 20:26:25 -0700 Message-ID: <20260214032632.3957279-7-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260214032632.3957279-1-sjg@u-boot.org> References: <20260214032632.3957279-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: YBKHFAFJMPOPDG2WWAGRDBT57HOM5DWW X-Message-ID-Hash: YBKHFAFJMPOPDG2WWAGRDBT57HOM5DWW 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 , "Claude Opus 4 . 6" X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 6/7] patman: Change default log level to NOTICE List-Id: Discussion and patches related to U-Boot Concept Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Simon Glass The default log level is INFO which suppresses useful status messages. Change it to NOTICE and promote key messages from info to notice so they are visible by default. This includes messages for series creation, link setting, autolink progress and series removal. Co-developed-by: Claude Opus 4.6 Signed-off-by: Simon Glass --- tools/patman/__main__.py | 2 +- tools/patman/cseries.py | 15 ++++++++------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/tools/patman/__main__.py b/tools/patman/__main__.py index edfb1b5927c..5dce54bf676 100755 --- a/tools/patman/__main__.py +++ b/tools/patman/__main__.py @@ -32,7 +32,7 @@ def run_patman(): if not args.debug: sys.tracebacklimit = 0 - tout.init(tout.INFO if args.verbose else tout.WARNING) + tout.init(tout.INFO if args.verbose else tout.NOTICE) # Run our reasonably good tests if args.cmd == 'test': diff --git a/tools/patman/cseries.py b/tools/patman/cseries.py index e8d40394608..937af58ba3e 100644 --- a/tools/patman/cseries.py +++ b/tools/patman/cseries.py @@ -94,7 +94,7 @@ class Cseries(cser_helper.CseriesHelper): count = len(ser.commits) msg += f" ({count} commit{'s' if count > 1 else ''})" if not added: - tout.info(f"Series '{ser.name}' v{version} already exists") + tout.notice(f"Series '{ser.name}' v{version} already exists") msg = None elif not dry_run: self.commit() @@ -105,7 +105,7 @@ class Cseries(cser_helper.CseriesHelper): ser.idnum = series_id if msg: - tout.info(msg) + tout.notice(msg) if dry_run: tout.info('Dry run completed') @@ -211,7 +211,8 @@ class Cseries(cser_helper.CseriesHelper): self._set_link(ser.idnum, ser.name, version, link, update_commit) self.commit() - tout.info(f"Setting link for series '{ser.name}' v{version} to {link}") + tout.notice( + f"Setting link for series '{ser.name}' v{version} to {link}") def link_get(self, series, version): """Get the patchwork link for a version of a series @@ -280,8 +281,8 @@ class Cseries(cser_helper.CseriesHelper): pwork, series, version) if pws: if wait_s: - tout.info('Link completed after ' - f'{self.get_time() - start} seconds') + tout.notice('Link completed after ' + f'{self.get_time() - start} seconds') break print(f"Possible matches for '{name}' v{version} desc '{desc}':") @@ -684,7 +685,7 @@ class Cseries(cser_helper.CseriesHelper): self.rollback() self.commit() - tout.info(f"Removed series '{name}'") + tout.notice(f"Removed series '{name}'") if dry_run: tout.info('Dry run completed') @@ -867,7 +868,7 @@ class Cseries(cser_helper.CseriesHelper): likely_sent = send.send(args, git_dir=self.gitdir, cwd=self.topdir) if likely_sent and autolink: - print(f'Autolinking with Patchwork ({autolink_wait} seconds)') + tout.notice(f'Autolinking with Patchwork ({autolink_wait} seconds)') self.link_auto(pwork, name, version, True, wait_s=autolink_wait) def archive(self, series):