From: Ladislav Michl <oss-lists@triops.cz>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] report/sbom.py: fix patch tag parsing
Date: Sat, 17 Oct 2026 12:19:11 +0200 [thread overview]
Message-ID: <atNLn5Rxw2YtVZxt@lenoch> (raw)
From: Ladislav Michl <ladis@triops.cz>
Fix all patches being classified as unofficial, because regex matches
only single character tags.
Signed-off-by: Ladislav Michl <ladis@triops.cz>
---
scripts/report/sbom.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/report/sbom.py b/scripts/report/sbom.py
index 1c7790bac..19ff4dc57 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()
--
2.47.3
reply other threads:[~2026-10-17 10:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=atNLn5Rxw2YtVZxt@lenoch \
--to=oss-lists@triops.cz \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox