From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 13 Nov 2026 09:38:59 +0100 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1xRmoF-00AM6e-1I for lore@lore.pengutronix.de; Fri, 13 Nov 2026 09:38:59 +0100 Received: from [127.0.0.1] (helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1xRmoC-000438-WA; Fri, 13 Nov 2026 09:38:57 +0100 Received: from mx1.white.stw.pengutronix.de ([2a0a:edc0:0:b01:1d::107]) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1xRmnt-0002zP-HJ for ptxdist@pengutronix.de; Fri, 13 Nov 2026 09:38:37 +0100 Received: from dude05.red.stw.pengutronix.de (dude05.red.stw.pengutronix.de [IPv6:2a0a:edc0:0:1101:1d::54]) (Authenticated sender: relay-from-dude05.red.stw.pengutronix.de) by mx1.white.stw.pengutronix.de (Postfix) with ESMTPSA id 78547201A86; Fri, 13 Nov 2026 09:38:37 +0100 (CET) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=pengutronix.de; s=20260414; t=1794559117; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=vaKjMMuiyNveP3WcZzc15b4jY3DkrUXz0fBmxpXwQQQ=; b=YH3uZT1YGGhz3Df5F2y5zXva6ztwblVzOyq8IcnHYdeqxJqRl9O6GZoWRibb1m0tJtO4Wy LCbkVHsyywIGIcmhyBMDYBPLTZxVruYLm2TJ+LazyFZgEjCozPhtIqaxGzJuT8x5uhHlJP T78T8cZBRfNWleT8ypVx0OBOlja3zZMi+tr2rUz/1ey2t68tJJxrD+b5J3DNrZu0yQtxxh nhBUz3QPwNBLB0Z4TXg9E00Q7c5fdknnN1Pll7kaSaF9GvZVWvTgjjEObnrCKLUjFQrEuX 6kXxYM+HNAy0vpFlLNGMwuk+op91mOflJbqaVTLbFZVCEIgiK67ez2oVx+X1kQ== ARC-Seal: i=1; s=20260414; d=pengutronix.de; t=1794559117; a=rsa-sha256; cv=none; b=DK9JezUI511sKVwkZUWpTPuyqiXO+c8opiNVrRQx+pnK+USpOARHvE/kN8rQjuc/zg2wlw JdXf+ddgvL07MWCsZt9rwNd8Ir0lWRhnZnHJMhLNCkmbQ11ApDZbIAZW7m5r06n4STPn54 yJtIOb2Is7IQYwI7Hye46AGQ6JeLP0f2OWCedXFiTM9TqKRmaFYZFBObCCAKK/qE8YPtqz fmu6w0/wfV+3aKN926fYPcaOfsK7ZHyebCubMdeQX5MLOt4cTSx11bVJ6Qoz8AF+pXsQ0y edUoKF+QVroll1ywqETH+zWyagwQFKvT9clchW9LrcuSJrtOMuXGrHrAcdmKjA== ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=relay-from-dude05.red.stw.pengutronix.de smtp.mailfrom=mol@pengutronix.de Received: by dude05.red.stw.pengutronix.de (Postfix, from userid 1014) id 6A63B743103; Fri, 13 Nov 2026 09:38:37 +0100 (CET) From: Michael Olbrich To: ptxdist@pengutronix.de Date: Fri, 13 Nov 2026 09:38:37 +0100 Message-ID: <20261113083837.1377817-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.47.3 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] report/sbom.py: fix patch tag parsing X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Ladislav Michl Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false Thanks, applied as 9216e27ba37b755396f7635a83619d8fd4757fe8. Michael [sent from post-receive hook] On Fri, 13 Nov 2026 09:38:37 +0100, Ladislav Michl wrote: > Fix all patches being classified as unofficial, because regex matches > only single character tags. > > Signed-off-by: Ladislav Michl > Message-Id: > Signed-off-by: Michael Olbrich > > diff --git a/scripts/report/sbom.py b/scripts/report/sbom.py > index 1c7790baca6b..19ff4dc57301 100644 > --- a/scripts/report/sbom.py > +++ b/scripts/report/sbom.py > @@ -87,7 +87,7 @@ class SbomGenerator(Generator): > > patches = [] > tag = "base" > - TAG = re.compile("#tag:([^ ]) .*") > + TAG = re.compile("#tag:([^ ]+)") > with open(series) as f: > for line in f: > line = line.strip()