Skip to contentSkip to conversation

add basic b4 config file

PATCH Superseded Quentin Schulz 3 participants 3 messages Sep 5, 2025 – Oct 1, 2025 Media (V4L/DVB)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

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
new file mode 100644
index 0000000000000000000000000000000000000000..31873a088f0b32c174363f8b56a54a976b87fb17
@@ -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]>
#1 lore raw
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.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

Quoted 8 lines

---
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?

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
new file mode 100644
index 0000000000000000000000000000000000000000..31873a088f0b32c174363f8b56a54a976b87fb17
@@ -0,0 +1,2 @@
+[b4]
+  send-series-to = [email protected]
 
---

base-commit: fc46fc8771bff905204e7463ab03ed1f355436b1
change-id: 20250905-b4-1e813446afa4

Best regards,

#2 lore raw

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.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

Quoted 8 lines

---
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?

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
new file mode 100644
index 0000000000000000000000000000000000000000..31873a088f0b32c174363f8b56a54a976b87fb17
@@ -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-1e813446afa4

Best regards,

Signature · 1 line
Ricardo Ribalda