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 Cc recipients to always add, in our case the mailing list.
Because we do not have anything to check for now, disable needs-checking so patches can be sent without running b4 prep --check.
Because we do not have any auto-to-cc support (and the implicit one using scripts/get_maintainer.pl cannot work for us), also disable needs-auto-to-cc so patches can be sent without running b4 prep --auto-to-cc.
[1] https://pypi.org/project/b4/
[2] https://b4.docs.kernel.org/en/latest/config.html
---
I'm wondering if we couldn't add some per-patch check as well, checking that the documentation builds for each for example. Could be added in a later patch though. Any idea?
--- .b4-config | 3 +++ 1 file changed, 3 insertions(+)
.b4-config new file +3 -0
@@ -0,0 +1,3 @@ +[b4] + send-series-cc = [email protected] + prep-pre-flight-checks = disable-needs-auto-to-cc, disable-needs-checking
---
base-commit: 6b44257874858db3aa426d3e84a79c41cb4937a3
change-id: 20240524-b4-support-d5e749251bba
Best regards,
Signature · 1 line
Quentin Schulz <[email protected]>
Hi Quentin,
Quoted 14 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 Cc recipients to always add, in our case the mailing list.
Because we do not have anything to check for now, disable needs-checking so patches can be sent without running b4 prep --check.
Because we do not have any auto-to-cc support (and the implicit one using
scripts/get_maintainer.plcannot work for us), also disable needs-auto-to-cc so patches can be sent without running b4 prep --auto-to-cc.
Quoted 8 lines
[1] https://pypi.org/project/b4/
[2] https://b4.docs.kernel.org/en/latest/config.htmlSigned-off-by Quentin Schulz <[email protected]>---
I'm wondering if we couldn't add some per-patch check as well, checking that the documentation builds for each for example. Could be added in a later patch though. Any idea?
I would agree but a docs build already takes a while, so I think a single docs build for the b4-managed branch would be enough. Don't know if that's possible though.
.b4-config line 2
Quoted 12 lines
--- .b4-config | 3 +++ 1 file changed, 3 insertions(+).b4-config new file +2
-0@@ -0,0 +1,3 @@ +[b4] + send-series-cc = [email protected]
Why not send-series-to?
This is what we instruct users to do in the readme, and in the contributor guide.
Quoted 7 lines
.b4-config new file +1
-1+ prep-pre-flight-checks = disable-needs-auto-to-cc, disable-needs-checking ---base-commit:
6b44257874858db3aa426d3e84a79c41cb4937a3
change-id: 20240524-b4-support-d5e749251bbaBest regards,
Antonin
Signature · 3 lines
Antonin Godard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Hi Antonin,
Quoted 26 lines · Antonin Godard
Hi Quentin,
Quoted 14 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 Cc recipients to always add, in our case the mailing list.
Because we do not have anything to check for now, disable needs-checking so patches can be sent without running b4 prep --check.
Because we do not have any auto-to-cc support (and the implicit one using
scripts/get_maintainer.plcannot work for us), also disable needs-auto-to-cc so patches can be sent without running b4 prep --auto-to-cc.Quoted 8 lines
[1] https://pypi.org/project/b4/
[2] https://b4.docs.kernel.org/en/latest/config.htmlSigned-off-by Quentin Schulz <[email protected]>---
I'm wondering if we couldn't add some per-patch check as well, checking that the documentation builds for each for example. Could be added in a later patch though. Any idea?
Quoted 4 lines
I would agree but a docs build already takes a while, so I think a single docs build for the b4-managed branch would be enough. Don't know if that's possible though.
We could run linters or something like that. Anyway, can be added later on if we find it can be helpful to mitigate some issues :)
Quoted 4 lines
Quoted 4 lines
--- .b4-config | 3 +++ 1 file changed, 3 insertions(+)
Quoted 13 lines
.b4-config line 2
Quoted 8 lines
.b4-config new file +2
-0@@ -0,0 +1,3 @@ +[b4] + send-series-cc = [email protected]Why not send-series-to?
This is what we instruct users to do in the readme, and in the contributor guide.
Because the author of this patch hasn't read the README in a while and most often uses Cc: instead of To:.
I think the same thing can be said for my OE-Core and BitBake patches. At least it seems to be consistent on which one to use between Cc: and To: :)
I'll wait a bit for reviews on other patches, specifically https://lore.kernel.org/poky/[email protected]/ and will send a newer version that changes them to To:.
I see now that the BitBake doc patches need to be Cc for [email protected] and To: for [email protected]... Those are handled by different b4 calls, so I would need to handle those differently, maybe I can have a To: for both :) ? What do you think?
Cheers,
Quentin