add basic b4 config file
PATCH 1/1 add basic b4 config file
From: Quentin Schulz <[email protected]>
b4[1] is a very nice tool for mail-based contribution. A config[2] file exists to set up a few defaults. We can use it to set the To recipients to always add, in our case the mailing list.
This shouldn't be necessary if we had a script that b4 prep --auto-to-cc could call to find the mail address(es) to send to, à-la scripts/get_maintainer.pl from the kernel tree.
This allows us to not have to look for the mailing list to send the patches to, just use b4 and you're all set.
[1] https://pypi.org/project/b4/
[2] https://b4.docs.kernel.org/en/latest/config.html
---
Since that ML is also used for other repos than v4l-utils and I've seen a few people using [v4l-utils] as prefixes, should we add
send-prefixes = v4l-utils
to the config file as well?
--- .b4-config | 2 ++ 1 file changed, 2 insertions(+)
.b4-config new file +2 -0
@@ -0,0 +1,2 @@ +[b4] + send-series-to = [email protected]
---
base-commit: fc46fc8771bff905204e7463ab03ed1f355436b1
change-id: 20250905-b4-1e813446afa4
Best regards,
Signature · 1 line
Quentin Schulz <[email protected]>
Quoted 16 lines · Quentin Schulz
From: Quentin Schulz <[email protected]>
b4[1] is a very nice tool for mail-based contribution. A config[2] file exists to set up a few defaults. We can use it to set the To recipients to always add, in our case the mailing list.
This shouldn't be necessary if we had a script that b4 prep --auto-to-cc could call to find the mail address(es) to send to, à-la
scripts/get_maintainer.plfrom the kernel tree.This allows us to not have to look for the mailing list to send the patches to, just use b4 and you're all set.
[1] https://pypi.org/project/b4/
[2] https://b4.docs.kernel.org/en/latest/config.html
Quoted 8 lines
Signed-off-by Quentin Schulz <[email protected]>---
Since that ML is also used for other repos than v4l-utils and I've seen a few people using [v4l-utils] as prefixes, should we addsend-prefixes = v4l-utils
to the config file as well?
Yes please.
I'm not sure I want to have this in v4l-utils, but if I do, then definitely with that prefix.
When you post the new patch, please prefix it with v4l-utils as well.
Regards,
Hans
Quoted 18 lines
--- .b4-config | 2 ++ 1 file changed, 2 insertions(+).b4-config new file +2
-1@@ -0,0 +1,2 @@ +[b4] + send-series-to = [email protected] ---base-commit:
fc46fc8771bff905204e7463ab03ed1f355436b1
change-id: 20250905-b4-1e813446afa4Best regards,
Hi Quentin
Quoted 42 lines · Hans Verkuil
Quoted 16 lines · Quentin Schulz
From: Quentin Schulz <[email protected]>
b4[1] is a very nice tool for mail-based contribution. A config[2] file exists to set up a few defaults. We can use it to set the To recipients to always add, in our case the mailing list.
This shouldn't be necessary if we had a script that b4 prep --auto-to-cc could call to find the mail address(es) to send to, à-la
scripts/get_maintainer.plfrom the kernel tree.This allows us to not have to look for the mailing list to send the patches to, just use b4 and you're all set.
[1] https://pypi.org/project/b4/
[2] https://b4.docs.kernel.org/en/latest/config.htmlQuoted 8 lines
Signed-off-by Quentin Schulz <[email protected]>---
Since that ML is also used for other repos than v4l-utils and I've seen a few people using [v4l-utils] as prefixes, should we addsend-prefixes = v4l-utils
to the config file as well?
Yes please.
I'm not sure I want to have this in v4l-utils, but if I do, then definitely with that prefix.
When you post the new patch, please prefix it with v4l-utils as well.
Regards,
Hans
Quoted 4 lines
--- .b4-config | 2 ++ 1 file changed, 2 insertions(+)
Quoted 8 lines
.b4-config line 2
Quoted 8 lines
.b4-config new file +2
-0@@ -0,0 +1,2 @@ +[b4] + send-series-to = [email protected]
I believe we prefer send-series-cc.
https://git.linuxtv.org/v4l-utils.git/tree/CONTRIBUTE.md
Quoted 8 lines
Quoted 6 lines
---
base-commit:fc46fc8771bff905204e7463ab03ed1f355436b1
change-id: 20250905-b4-1e813446afa4Best regards,
Signature · 1 line
Ricardo Ribalda