* [PATCH meta-rockchip] add basic b4 config file
@ 2024-05-24 13:42 Quentin Schulz
2024-05-26 13:41 ` [yocto-patches] " Trevor Woerner
0 siblings, 1 reply; 2+ messages in thread
From: Quentin Schulz @ 2024-05-24 13:42 UTC (permalink / raw)
To: yocto-patches; +Cc: Quentin Schulz
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(+)
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
---
base-commit: 1f8a8d917b9715acf97fae23bb9bff8bc80b723b
change-id: 20240524-b4-support-d660e5c02304
Best regards,
--
Quentin Schulz <quentin.schulz@cherry.de>
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [yocto-patches] [PATCH meta-rockchip] add basic b4 config file
2024-05-24 13:42 [PATCH meta-rockchip] add basic b4 config file Quentin Schulz
@ 2024-05-26 13:41 ` Trevor Woerner
0 siblings, 0 replies; 2+ messages in thread
From: Trevor Woerner @ 2024-05-26 13:41 UTC (permalink / raw)
To: yocto-patches; +Cc: Quentin Schulz
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!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-05-26 13:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-24 13:42 [PATCH meta-rockchip] add basic b4 config file Quentin Schulz
2024-05-26 13:41 ` [yocto-patches] " Trevor Woerner
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.