diff mbox series

b4-config: configure `b4` for U-Boot

Message ID 20240717-b4-config-v1-1-0bc9e80ef582@flygoat.com
State New
Delegated to: Tom Rini
Headers show
Series b4-config: configure `b4` for U-Boot | expand

Commit Message

Jiaxun Yang July 17, 2024, 3:12 p.m. UTC
`b4` is a commandline tool to make patch-based development easier[1]

Provide a .b4-config file to match U-Boot's patch preference so it will
be easier for people to use b4 with U-Boot development.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
---
Do we want to disable git for get_maintainer.pl in auto-cc-cmd to prevent
annoying people? Please advice!

Thanks
---
 .b4-config | 7 +++++++
 1 file changed, 7 insertions(+)


---
base-commit: 902d8ee94ce29a088a325da6e69eeb1a25f1fec7
change-id: 20240717-b4-config-a717ba519064

Best regards,

Comments

Quentin Schulz July 17, 2024, 3:26 p.m. UTC | #1
Hi Juaxun,

On 7/17/24 5:12 PM, Jiaxun Yang wrote:
> `b4` is a commandline tool to make patch-based development easier[1]
> 
> Provide a .b4-config file to match U-Boot's patch preference so it will
> be easier for people to use b4 with U-Boot development.
> 

I've been using b4 with the default settings for a few months already 
(i.e. without arguments, without .b4-config), is there something 
specific that made you want to override the default values?

Cheers,
Quentin
Jiaxun Yang July 17, 2024, 4:44 p.m. UTC | #2
在2024年7月17日七月 下午11:26,Quentin Schulz写道:
> Hi Juaxun,
>
> On 7/17/24 5:12 PM, Jiaxun Yang wrote:
>> `b4` is a commandline tool to make patch-based development easier[1]
>> 
>> Provide a .b4-config file to match U-Boot's patch preference so it will
>> be easier for people to use b4 with U-Boot development.
>> 
>
> I've been using b4 with the default settings for a few months already 
> (i.e. without arguments, without .b4-config), is there something 
> specific that made you want to override the default values?
Hi Quentin,

As per U-Boot's contributing guide [1], it is preferred to send patches to
u-boot@lists.denx.de and cc custodians.

But B4's default behaviour is sending patches to custodians and Ccing
mailing list.

Thanks
[1]: https://docs.u-boot.org/en/latest/develop/sending_patches.html
>
> Cheers,
> Quentin
Tom Rini July 17, 2024, 6:05 p.m. UTC | #3
On Thu, Jul 18, 2024 at 12:44:03AM +0800, Jiaxun Yang wrote:
> 
> 
> 在2024年7月17日七月 下午11:26,Quentin Schulz写道:
> > Hi Juaxun,
> >
> > On 7/17/24 5:12 PM, Jiaxun Yang wrote:
> >> `b4` is a commandline tool to make patch-based development easier[1]
> >> 
> >> Provide a .b4-config file to match U-Boot's patch preference so it will
> >> be easier for people to use b4 with U-Boot development.
> >> 
> >
> > I've been using b4 with the default settings for a few months already 
> > (i.e. without arguments, without .b4-config), is there something 
> > specific that made you want to override the default values?
> Hi Quentin,
> 
> As per U-Boot's contributing guide [1], it is preferred to send patches to
> u-boot@lists.denx.de and cc custodians.
> 
> But B4's default behaviour is sending patches to custodians and Ccing
> mailing list.
> 
> Thanks
> [1]: https://docs.u-boot.org/en/latest/develop/sending_patches.html

Honestly, it's not a big deal these days I think.
diff mbox series

Patch

diff --git a/.b4-config b/.b4-config
new file mode 100644
index 000000000000..6ba10cf9b50e
--- /dev/null
+++ b/.b4-config
@@ -0,0 +1,7 @@ 
+# Configuration for the `b4` tool
+# See https://b4.docs.kernel.org/en/latest/config.html
+
+[b4]
+    send-series-to = u-boot@lists.denx.de
+    send-auto-to-cmd = echo ""
+    send-auto-cc-cmd = scripts/get_maintainer.pl