* b4 filters out Fixes: lines
@ 2026-08-10 7:59 Marc-André Lureau
2026-08-11 21:12 ` Konstantin Ryabitsev
0 siblings, 1 reply; 2+ messages in thread
From: Marc-André Lureau @ 2026-08-10 7:59 UTC (permalink / raw)
To: konstantin, tools
Hi Konstantin,
Since commit dccab10473b5 ("trailers: reject malformed Fixes: trailer
values"), b4 filters out anything that is not a commit hash-like line.
But various projects, such as QEMU, use Fixes: lines to reference CVE#
and sometime report/issue URLs. Can we relax the validation? Should we
make this configurable?
Thanks,
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: b4 filters out Fixes: lines
2026-08-10 7:59 b4 filters out Fixes: lines Marc-André Lureau
@ 2026-08-11 21:12 ` Konstantin Ryabitsev
0 siblings, 0 replies; 2+ messages in thread
From: Konstantin Ryabitsev @ 2026-08-11 21:12 UTC (permalink / raw)
To: Marc-André Lureau; +Cc: tools
On Mon, Aug 10, 2026 at 11:59:59AM +0400, Marc-André Lureau wrote:
> Since commit dccab10473b5 ("trailers: reject malformed Fixes: trailer
> values"), b4 filters out anything that is not a commit hash-like line.
> But various projects, such as QEMU, use Fixes: lines to reference CVE#
> and sometime report/issue URLs. Can we relax the validation? Should we
> make this configurable?
Right, this was tightened because "Fixes:" is a one-word trailer and we can
legitimately find it on the line followed by arbitrary prose.
I'm not against broadening it to include URLs, but I'm less sure about
arbitrary strings like CVE-NNNN-NNN.
Regarding making it configurable, it would probably be more worthwhile to make
the whole list of follow-up trailers configurable, as a list of regexes, e.g.:
b4.followup-trailers =
Fixes: CVE-.*
Fixes: https?://.*
Closes: https?://.*
I'd lean in this direction as opposed to just a special-case for the Fixes:
trailer.
-K
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-08-11 21:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-10 7:59 b4 filters out Fixes: lines Marc-André Lureau
2026-08-11 21:12 ` Konstantin Ryabitsev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox