diff mbox series

[RESEND,2/2] .b4-config: add b4 support

Message ID 20241023-add-maintainers-file-v1-2-beaa0fdb7f8c@samsung.com (mailing list archive)
State Accepted
Headers show
Series MAINTAINERS: add support | expand

Commit Message

Daniel Gomez via B4 Relay Oct. 23, 2024, 8:10 p.m. UTC
From: Daniel Gomez <da.gomez@samsung.com>

To be able to support b4 properly, we need to configure a custom
get_maintainers.pl argument list in b4. Use the same b4 default
arguments + "--no-tree" to run the script outside a kernel tree.

Documentation b4.send-auto-to-cmd and b4.send-auto-cc-cmd:
https://b4.docs.kernel.org/en/latest/
config.html#contributor-oriented-settings

This allows to run 'b4 prep --auto-to-cc', to collect the relevant
addresses from the MAINTAINERS file for the commits/files included in
the contributor patch series.

For more information about contributor workflow:
https://b4.docs.kernel.org/en/latest/contributor/
overview.html#what-s-the-b4-contributor-workflow

Signed-off-by: Daniel Gomez <da.gomez@samsung.com>
Reviewed-by: Luis Chamberlain <mcgrof@kernel.org>
---
 .b4-config | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/.b4-config b/.b4-config
new file mode 100644
index 0000000..e6cbbe6
--- /dev/null
+++ b/.b4-config
@@ -0,0 +1,3 @@ 
+[b4]
+  send-auto-to-cmd = "scripts/get_maintainer.pl --nogit --nogit-fallback --nogit-chief-penguins --norolestats --nol --no-tree"
+  send-auto-cc-cmd = "scripts/get_maintainer.pl --nogit --nogit-fallback --nogit-chief-penguins --norolestats --nom --no-tree"