* Re: Allow sending prefixes before [PATCH]
[not found] <CTPW75Q2ISUN.251ELTNP6RB22@fedora>
@ 2023-07-07 16:39 ` Kernel.org Bugbot
2025-10-16 7:30 ` Antonin Godard via Bugspray Bot
` (4 subsequent siblings)
5 siblings, 0 replies; 6+ messages in thread
From: Kernel.org Bugbot @ 2023-07-07 16:39 UTC (permalink / raw)
To: bugs, erik.schilling, tools
Hello:
This conversation is now tracked by Kernel.org Bugzilla:
https://bugzilla.kernel.org/show_bug.cgi?id=217642
There is no need to do anything else, just keep talking.
--
Deet-doot-dot, I am a bot.
Kernel.org Bugzilla (peebz 0.1)
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: Allow sending prefixes before [PATCH]
[not found] <CTPW75Q2ISUN.251ELTNP6RB22@fedora>
2023-07-07 16:39 ` Allow sending prefixes before [PATCH] Kernel.org Bugbot
@ 2025-10-16 7:30 ` Antonin Godard via Bugspray Bot
2025-11-10 10:20 ` Louis Rannou via Bugspray Bot
` (3 subsequent siblings)
5 siblings, 0 replies; 6+ messages in thread
From: Antonin Godard via Bugspray Bot @ 2025-10-16 7:30 UTC (permalink / raw)
To: bugs, konstantin, erik.schilling, tools
Antonin Godard writes via Kernel.org Bugzilla:
FWIW, I sent a patch for this a couple of months ago:
https://lore.kernel.org/r/20250627-send-presubject-v1-1-f8e11fda1543@bootlin.com
Still applies on master as of today and has been working for me.
View: https://bugzilla.kernel.org/show_bug.cgi?id=217642#c3
You can reply to this message to join the discussion.
--
Deet-doot-dot, I am a bot.
Kernel.org Bugzilla (bugspray 0.1-dev)
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: Allow sending prefixes before [PATCH]
[not found] <CTPW75Q2ISUN.251ELTNP6RB22@fedora>
2023-07-07 16:39 ` Allow sending prefixes before [PATCH] Kernel.org Bugbot
2025-10-16 7:30 ` Antonin Godard via Bugspray Bot
@ 2025-11-10 10:20 ` Louis Rannou via Bugspray Bot
2025-11-17 8:45 ` Louis Rannou via Bugspray Bot
` (2 subsequent siblings)
5 siblings, 0 replies; 6+ messages in thread
From: Louis Rannou via Bugspray Bot @ 2025-11-10 10:20 UTC (permalink / raw)
To: bugs, tools, konstantin, erik.schilling
Louis Rannou writes via Kernel.org Bugzilla:
The issue in patching the --set-prefixes command is that when it comes to make the cover, the LoreSubject class is parsing all the [foo] in its title, considers them as standard prefixes and moves them into the PATCH bracket.
View: https://bugzilla.kernel.org/show_bug.cgi?id=217642#c4
You can reply to this message to join the discussion.
--
Deet-doot-dot, I am a bot.
Kernel.org Bugzilla (bugspray 0.1-dev)
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: Allow sending prefixes before [PATCH]
[not found] <CTPW75Q2ISUN.251ELTNP6RB22@fedora>
` (2 preceding siblings ...)
2025-11-10 10:20 ` Louis Rannou via Bugspray Bot
@ 2025-11-17 8:45 ` Louis Rannou via Bugspray Bot
2025-11-18 20:40 ` Bugspray Bot
2025-11-28 9:55 ` Louis Rannou via Bugspray Bot
5 siblings, 0 replies; 6+ messages in thread
From: Louis Rannou via Bugspray Bot @ 2025-11-17 8:45 UTC (permalink / raw)
To: konstantin, erik.schilling, tools, bugs
Louis Rannou writes via Kernel.org Bugzilla:
I suggested a new patch which includes Antonin's with a second patch to cover the sendreceive part.
I think this is the best solution, though there might also need a --postsubject to set some [] prefixes after the [PATCH ...]
However, it would be very nice to have this merged as it's block the usage of b4 on several projects (almost any yocto sublayers in my case).
https://lore.kernel.org/all/20251113-sub-v1-0-921bef0da4d2@non.se.com/
Unfortunately I have no solution to test that myself
View: https://bugzilla.kernel.org/show_bug.cgi?id=217642#c5
You can reply to this message to join the discussion.
--
Deet-doot-dot, I am a bot.
Kernel.org Bugzilla (bugspray 0.1-dev)
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: Allow sending prefixes before [PATCH]
[not found] <CTPW75Q2ISUN.251ELTNP6RB22@fedora>
` (3 preceding siblings ...)
2025-11-17 8:45 ` Louis Rannou via Bugspray Bot
@ 2025-11-18 20:40 ` Bugspray Bot
2025-11-28 9:55 ` Louis Rannou via Bugspray Bot
5 siblings, 0 replies; 6+ messages in thread
From: Bugspray Bot @ 2025-11-18 20:40 UTC (permalink / raw)
To: erik.schilling, konstantin, tools, bugs
Antonin Godard writes in commit d7232f5db2e4379bd9372b00707a78ec8d36b44a:
Add support for setting a presubject
Some mailing lists require a prefix to come before the [PATCH] in the
subject of emails, such as OpenEmbedded or libgpiod. The current prefix
mechanism does not allow for that (only after PATCH), and setting the
format.subjectPrefix Git option does not work either.
Add a new configuration option send-presubject as well as a
--set-presubject argument to be able to include anything that should
come before the subject. The logic behind prefixes is not changed and
this new option does not break any existing prefix assignments.
In order not to break the logic in LoreSubject's __init__ function,
which parses the subject line and strips brackets in order to reorganize
the subject line later, the presubject must be enclosed with brackets
too (_check_presubject() is used to ensure that).
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=217642
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(via https://git.kernel.org/pub/scm/utils/b4/b4.git/commit/?id=d7232f5db2e4)
--
Deet-doot-dot, I am a bot.
Kernel.org Bugzilla (bugspray 0.1-dev)
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: Allow sending prefixes before [PATCH]
[not found] <CTPW75Q2ISUN.251ELTNP6RB22@fedora>
` (4 preceding siblings ...)
2025-11-18 20:40 ` Bugspray Bot
@ 2025-11-28 9:55 ` Louis Rannou via Bugspray Bot
5 siblings, 0 replies; 6+ messages in thread
From: Louis Rannou via Bugspray Bot @ 2025-11-28 9:55 UTC (permalink / raw)
To: erik.schilling, konstantin, bugs, tools
Louis Rannou writes via Kernel.org Bugzilla:
Please note that the issue won't be fixed unless the server side is updateded.
So far, this raises an error:
Error from endpoint: This service only accepts patches
(tried with lkml.kernel.org/_b4_submit)
View: https://bugzilla.kernel.org/show_bug.cgi?id=217642#c7
You can reply to this message to join the discussion.
--
Deet-doot-dot, I am a bot.
Kernel.org Bugzilla (bugspray 0.1-dev)
^ permalink raw reply [flat|nested] 6+ messages in thread