diff mbox series

[meta-rockchip] add basic b4 config file

Message ID 20240524-b4-support-v1-1-2e6e5d84781c@cherry.de
State New
Headers show
Series [meta-rockchip] add basic b4 config file | expand

Commit Message

Quentin Schulz May 24, 2024, 1:42 p.m. UTC
From: Quentin Schulz <quentin.schulz@cherry.de>

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. While we could do
that, this opens the door to people trying to add a way to notify some
people (e.g. a MAINTAINERS file) which is not somewhere the project
wants to go right now, and this also makes sure the address is always
added even if one forgets to run b4 prep --auto-to-cc (which is part of
the typical workflow for U-Boot and Linux kernel, but is not necessary
thanks to this patch).

Additionally, automatically provide a default prefix so that one doesn't
need to not forget to run `b4 prep --set-prefixes meta-rockchip` for
each series.

[1] https://pypi.org/project/b4/
[2] https://b4.docs.kernel.org/en/latest/config.html

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
---
 .b4-config | 3 +++
 1 file changed, 3 insertions(+)


---
base-commit: 1f8a8d917b9715acf97fae23bb9bff8bc80b723b
change-id: 20240524-b4-support-d660e5c02304

Best regards,

Comments

Trevor Woerner May 26, 2024, 1:41 p.m. UTC | #1
On Fri 2024-05-24 @ 03:42:32 PM, Quentin Schulz via lists.yoctoproject.org wrote:
> From: Quentin Schulz <quentin.schulz@cherry.de>
> 
> 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. While we could do
> that, this opens the door to people trying to add a way to notify some
> people (e.g. a MAINTAINERS file) which is not somewhere the project
> wants to go right now, and this also makes sure the address is always
> added even if one forgets to run b4 prep --auto-to-cc (which is part of
> the typical workflow for U-Boot and Linux kernel, but is not necessary
> thanks to this patch).
> 
> Additionally, automatically provide a default prefix so that one doesn't
> need to not forget to run `b4 prep --set-prefixes meta-rockchip` for
> each series.
> 
> [1] https://pypi.org/project/b4/
> [2] https://b4.docs.kernel.org/en/latest/config.html
> 
> Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
> ---
>  .b4-config | 3 +++
>  1 file changed, 3 insertions(+)

Reviewed-by: Trevor Woerner <twoerner@gmail.com>
Applied to meta-rockchip, master branch. Thanks!
diff mbox series

Patch

diff --git a/.b4-config b/.b4-config
new file mode 100644
index 0000000..9410efd
--- /dev/null
+++ b/.b4-config
@@ -0,0 +1,3 @@ 
+[b4]
+  send-series-to = yocto-patches@lists.yoctoproject.org
+  send-prefixes = meta-rockchip