mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] report/sbom.py: fix patch tag parsing
@ 2026-10-17 10:19 Ladislav Michl
  2026-11-13  8:38 ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Ladislav Michl @ 2026-10-17 10:19 UTC (permalink / raw)
  To: ptxdist

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




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] [APPLIED] report/sbom.py: fix patch tag parsing
  2026-10-17 10:19 [ptxdist] [PATCH] report/sbom.py: fix patch tag parsing Ladislav Michl
@ 2026-11-13  8:38 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2026-11-13  8:38 UTC (permalink / raw)
  To: ptxdist; +Cc: Ladislav Michl

Thanks, applied as 9216e27ba37b755396f7635a83619d8fd4757fe8.

Michael

[sent from post-receive hook]

On Fri, 13 Nov 2026 09:38:37 +0100, Ladislav Michl <oss-lists@triops.cz> wrote:
> Fix all patches being classified as unofficial, because regex matches
> only single character tags.
> 
> Signed-off-by: Ladislav Michl <ladis@triops.cz>
> Message-Id: <atNLn5Rxw2YtVZxt@lenoch>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> 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()



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-11-13  8:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-17 10:19 [ptxdist] [PATCH] report/sbom.py: fix patch tag parsing Ladislav Michl
2026-11-13  8:38 ` [ptxdist] [APPLIED] " Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox