diff mbox series

[wic] add basic b4 config file

Message ID 20260424-b4-v1-1-04ede4cc261f@cherry.de
State New
Headers show
Series [wic] add basic b4 config file | expand

Commit Message

Quentin Schulz April 24, 2026, 10:18 a.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, and the Cc recipients, in
our case, Trevor's address.

Additionally, automatically provide a default prefix so that one doesn't
need to not forget to run `b4 prep --set-prefixes wic` 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 | 4 ++++
 1 file changed, 4 insertions(+)


---
base-commit: 5974ade11032f218841d9f449ef0efeee3f9a2ca
change-id: 20260424-b4-0ee9ab75fa75

Best regards,
--  
Quentin Schulz <quentin.schulz@cherry.de>

Comments

Quentin Schulz April 24, 2026, 10:26 a.m. UTC | #1
OK so this is very confusing. The default branch in cgit is 
origin/feature/no-create and I got my info from the README.md there, 
which differs from the README.md from instructions in the README.md in 
the master branch where it isn't requested to Cc Trevor.

On 4/24/26 12:18 PM, Quentin Schulz 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, and the Cc recipients, in
> our case, Trevor's address.
> 
> Additionally, automatically provide a default prefix so that one doesn't
> need to not forget to run `b4 prep --set-prefixes wic` 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 | 4 ++++
>   1 file changed, 4 insertions(+)
> 
> diff --git a/.b4-config b/.b4-config
> new file mode 100644
> index 0000000..dc2b2ab
> --- /dev/null
> +++ b/.b4-config
> @@ -0,0 +1,4 @@
> +[b4]
> +  send-series-to = yocto-patches@lists.yoctoproject.org
> +  send-series-cc = twoerner@gmail.com
> +  send-prefixes = wic
> 
> ---
> base-commit: 5974ade11032f218841d9f449ef0efeee3f9a2ca
> change-id: 20260424-b4-0ee9ab75fa75
> 
> Best regards,
> --
> Quentin Schulz <quentin.schulz@cherry.de>
>
Trevor Woerner May 27, 2026, 4:32 a.m. UTC | #2
On Fri 2026-04-24 @ 12:26:59 PM, Quentin Schulz wrote:
> OK so this is very confusing. The default branch in cgit is
> origin/feature/no-create and I got my info from the README.md there, which
> differs from the README.md from instructions in the README.md in the master
> branch where it isn't requested to Cc Trevor.

I asked Michael Halstead to take a look and change it. We think it's
fixed now.

> 
> On 4/24/26 12:18 PM, Quentin Schulz 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, and the Cc recipients, in
> > our case, Trevor's address.
> > 
> > Additionally, automatically provide a default prefix so that one doesn't
> > need to not forget to run `b4 prep --set-prefixes wic` 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 | 4 ++++
> >   1 file changed, 4 insertions(+)

Applied to wic, master branch. Thanks!

> > 
> > diff --git a/.b4-config b/.b4-config
> > new file mode 100644
> > index 0000000..dc2b2ab
> > --- /dev/null
> > +++ b/.b4-config
> > @@ -0,0 +1,4 @@
> > +[b4]
> > +  send-series-to = yocto-patches@lists.yoctoproject.org
> > +  send-series-cc = twoerner@gmail.com
> > +  send-prefixes = wic
> > 
> > ---
> > base-commit: 5974ade11032f218841d9f449ef0efeee3f9a2ca
> > change-id: 20260424-b4-0ee9ab75fa75
> > 
> > Best regards,
> > --
> > Quentin Schulz <quentin.schulz@cherry.de>
> > 
>
Quentin Schulz May 28, 2026, 10:15 a.m. UTC | #3
Hi Trevor,

On 5/27/26 6:32 AM, Trevor Woerner wrote:
> On Fri 2026-04-24 @ 12:26:59 PM, Quentin Schulz wrote:
>> OK so this is very confusing. The default branch in cgit is
>> origin/feature/no-create and I got my info from the README.md there, which
>> differs from the README.md from instructions in the README.md in the master
>> branch where it isn't requested to Cc Trevor.
> 
> I asked Michael Halstead to take a look and change it. We think it's
> fixed now.
> 

I think too, thanks!

>>
>> On 4/24/26 12:18 PM, Quentin Schulz 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, and the Cc recipients, in
>>> our case, Trevor's address.
>>>
>>> Additionally, automatically provide a default prefix so that one doesn't
>>> need to not forget to run `b4 prep --set-prefixes wic` 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 | 4 ++++
>>>    1 file changed, 4 insertions(+)
> 

Your gmail address is in the Cc recipients, which doesn't match what's 
been requested in the README.md in the master branch (only the ML in To 
recipients). Should we patch the README.md to align with .b4-config or 
the opposite?

Cheers,
Quentin
diff mbox series

Patch

diff --git a/.b4-config b/.b4-config
new file mode 100644
index 0000000..dc2b2ab
--- /dev/null
+++ b/.b4-config
@@ -0,0 +1,4 @@ 
+[b4]
+  send-series-to = yocto-patches@lists.yoctoproject.org
+  send-series-cc = twoerner@gmail.com
+  send-prefixes = wic