[v2] b4: Add .b4-config
diff mbox series

Message ID 20250721-add_b4_config-v2-1-99aeab6d4de8@foss.st.com
State Accepted
Commit 9c082483f435421fe9ae8f899cdef55c81c35ca8
Headers show
Series
  • [v2] b4: Add .b4-config
Related show

Commit Message

Benjamin Mugnier July 21, 2025, 9:09 a.m. UTC
Per the b4 documentation: B4 is a tool created to make it easier for
project developers and maintainers to use a distributed development
workflow that relies on patches and distribution lists for code
contributions and review.

B4 is now a common tool used by developers for Linux kernel workflows.

While the Linux kernel support is handled inside b4, other projects can
rely on a .b4-config file to achieve the same thing.

Add a .b4-config file to instruct b4 to send patches to the
libcamera-devel mailing list. This allows the command b4 prep
--auto-to-cc to automatically add the mailing to its To: list.

Command output without .b4-config :

  $ b4 prep --auto-to-cc
  Collecting To/Cc addresses
  No new addresses to add.

With .b4-config :

  $ b4 prep --auto-to-cc
  Collecting To/Cc addresses
      + To: libcamera-devel@lists.libcamera.org
  ---
  You can trim/expand this list with: b4 prep --edit-cover
  Invoking git-filter-repo to update the cover letter.
  New history written in 0.02 seconds...
  Completely finished after 0.04 seconds.

Signed-off-by: Benjamin Mugnier <benjamin.mugnier@foss.st.com>
---
Changes in v2:
- Indent commands block with spaces
- Link to v1: https://lore.kernel.org/r/20250620-add_b4_config-v1-1-bc183e48e886@foss.st.com
---
 .b4-config | 2 ++
 1 file changed, 2 insertions(+)


---
base-commit: b3ff75d7589a263412ad63008b3c8518d40e6316
change-id: 20250620-add_b4_config-965740f529f8

Best regards,

Comments

Kieran Bingham July 21, 2025, 10:36 a.m. UTC | #1
Quoting Benjamin Mugnier (2025-07-21 10:09:29)
> Per the b4 documentation: B4 is a tool created to make it easier for
> project developers and maintainers to use a distributed development
> workflow that relies on patches and distribution lists for code
> contributions and review.
> 
> B4 is now a common tool used by developers for Linux kernel workflows.
> 
> While the Linux kernel support is handled inside b4, other projects can
> rely on a .b4-config file to achieve the same thing.
> 
> Add a .b4-config file to instruct b4 to send patches to the
> libcamera-devel mailing list. This allows the command b4 prep
> --auto-to-cc to automatically add the mailing to its To: list.
> 
> Command output without .b4-config :
> 
>   $ b4 prep --auto-to-cc
>   Collecting To/Cc addresses
>   No new addresses to add.
> 
> With .b4-config :
> 
>   $ b4 prep --auto-to-cc
>   Collecting To/Cc addresses
>       + To: libcamera-devel@lists.libcamera.org
>   ---
>   You can trim/expand this list with: b4 prep --edit-cover
>   Invoking git-filter-repo to update the cover letter.
>   New history written in 0.02 seconds...
>   Completely finished after 0.04 seconds.
> 
> Signed-off-by: Benjamin Mugnier <benjamin.mugnier@foss.st.com>

Thanks.

Acked-by: Kieran Bingham <kieran.bingham@ideasonboard.com>

> ---
> Changes in v2:
> - Indent commands block with spaces
> - Link to v1: https://lore.kernel.org/r/20250620-add_b4_config-v1-1-bc183e48e886@foss.st.com
> ---
>  .b4-config | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/.b4-config b/.b4-config
> new file mode 100644
> index 0000000000000000000000000000000000000000..371e3e9c2485a4e2cb0ff48ccbfa5f4b246f29ee
> --- /dev/null
> +++ b/.b4-config
> @@ -0,0 +1,2 @@
> +[b4]
> +  send-series-to = libcamera-devel@lists.libcamera.org
> 
> ---
> base-commit: b3ff75d7589a263412ad63008b3c8518d40e6316
> change-id: 20250620-add_b4_config-965740f529f8
> 
> Best regards,
> -- 
> Benjamin Mugnier <benjamin.mugnier@foss.st.com>
>
Benjamin Mugnier July 21, 2025, 10:39 a.m. UTC | #2
On 7/21/25 12:36, Kieran Bingham wrote:
> Quoting Benjamin Mugnier (2025-07-21 10:09:29)
>> Per the b4 documentation: B4 is a tool created to make it easier for
>> project developers and maintainers to use a distributed development
>> workflow that relies on patches and distribution lists for code
>> contributions and review.
>>
>> B4 is now a common tool used by developers for Linux kernel workflows.
>>
>> While the Linux kernel support is handled inside b4, other projects can
>> rely on a .b4-config file to achieve the same thing.
>>
>> Add a .b4-config file to instruct b4 to send patches to the
>> libcamera-devel mailing list. This allows the command b4 prep
>> --auto-to-cc to automatically add the mailing to its To: list.
>>
>> Command output without .b4-config :
>>
>>   $ b4 prep --auto-to-cc
>>   Collecting To/Cc addresses
>>   No new addresses to add.
>>
>> With .b4-config :
>>
>>   $ b4 prep --auto-to-cc
>>   Collecting To/Cc addresses
>>       + To: libcamera-devel@lists.libcamera.org
>>   ---
>>   You can trim/expand this list with: b4 prep --edit-cover
>>   Invoking git-filter-repo to update the cover letter.
>>   New history written in 0.02 seconds...
>>   Completely finished after 0.04 seconds.
>>
>> Signed-off-by: Benjamin Mugnier <benjamin.mugnier@foss.st.com>
> 
> Thanks.
> 
> Acked-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
> 

I realized I forgot to add Laurent's trailer from v1. Could you add it
for me please ?

>> ---
>> Changes in v2:
>> - Indent commands block with spaces
>> - Link to v1: https://lore.kernel.org/r/20250620-add_b4_config-v1-1-bc183e48e886@foss.st.com
>> ---
>>  .b4-config | 2 ++
>>  1 file changed, 2 insertions(+)
>>
>> diff --git a/.b4-config b/.b4-config
>> new file mode 100644
>> index 0000000000000000000000000000000000000000..371e3e9c2485a4e2cb0ff48ccbfa5f4b246f29ee
>> --- /dev/null
>> +++ b/.b4-config
>> @@ -0,0 +1,2 @@
>> +[b4]
>> +  send-series-to = libcamera-devel@lists.libcamera.org
>>
>> ---
>> base-commit: b3ff75d7589a263412ad63008b3c8518d40e6316
>> change-id: 20250620-add_b4_config-965740f529f8
>>
>> Best regards,
>> -- 
>> Benjamin Mugnier <benjamin.mugnier@foss.st.com>
>>
Kieran Bingham July 21, 2025, 10:45 a.m. UTC | #3
Quoting Benjamin Mugnier (2025-07-21 11:39:28)
> On 7/21/25 12:36, Kieran Bingham wrote:
> > Quoting Benjamin Mugnier (2025-07-21 10:09:29)
> >> Per the b4 documentation: B4 is a tool created to make it easier for
> >> project developers and maintainers to use a distributed development
> >> workflow that relies on patches and distribution lists for code
> >> contributions and review.
> >>
> >> B4 is now a common tool used by developers for Linux kernel workflows.
> >>
> >> While the Linux kernel support is handled inside b4, other projects can
> >> rely on a .b4-config file to achieve the same thing.
> >>
> >> Add a .b4-config file to instruct b4 to send patches to the
> >> libcamera-devel mailing list. This allows the command b4 prep
> >> --auto-to-cc to automatically add the mailing to its To: list.
> >>
> >> Command output without .b4-config :
> >>
> >>   $ b4 prep --auto-to-cc
> >>   Collecting To/Cc addresses
> >>   No new addresses to add.
> >>
> >> With .b4-config :
> >>
> >>   $ b4 prep --auto-to-cc
> >>   Collecting To/Cc addresses
> >>       + To: libcamera-devel@lists.libcamera.org
> >>   ---
> >>   You can trim/expand this list with: b4 prep --edit-cover
> >>   Invoking git-filter-repo to update the cover letter.
> >>   New history written in 0.02 seconds...
> >>   Completely finished after 0.04 seconds.
> >>
> >> Signed-off-by: Benjamin Mugnier <benjamin.mugnier@foss.st.com>
> > 
> > Thanks.
> > 
> > Acked-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
> > 
> 
> I realized I forgot to add Laurent's trailer from v1. Could you add it
> for me please ?

As long as you say where and why you're adding it to the thread you can
do it too by just replying and putting it here - like this ...

(Collecting Laurent's tag from v1)

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

> 
> >> ---
> >> Changes in v2:
> >> - Indent commands block with spaces
> >> - Link to v1: https://lore.kernel.org/r/20250620-add_b4_config-v1-1-bc183e48e886@foss.st.com
> >> ---
> >>  .b4-config | 2 ++
> >>  1 file changed, 2 insertions(+)
> >>
> >> diff --git a/.b4-config b/.b4-config
> >> new file mode 100644
> >> index 0000000000000000000000000000000000000000..371e3e9c2485a4e2cb0ff48ccbfa5f4b246f29ee
> >> --- /dev/null
> >> +++ b/.b4-config
> >> @@ -0,0 +1,2 @@
> >> +[b4]
> >> +  send-series-to = libcamera-devel@lists.libcamera.org
> >>
> >> ---
> >> base-commit: b3ff75d7589a263412ad63008b3c8518d40e6316
> >> change-id: 20250620-add_b4_config-965740f529f8
> >>
> >> Best regards,
> >> -- 
> >> Benjamin Mugnier <benjamin.mugnier@foss.st.com>
> >>
> 
> -- 
> Regards,
> Benjamin
Kieran Bingham July 21, 2025, 10:58 a.m. UTC | #4
Quoting Kieran Bingham (2025-07-21 11:45:57)
> Quoting Benjamin Mugnier (2025-07-21 11:39:28)
> > On 7/21/25 12:36, Kieran Bingham wrote:
> > > Quoting Benjamin Mugnier (2025-07-21 10:09:29)
> > >> Per the b4 documentation: B4 is a tool created to make it easier for
> > >> project developers and maintainers to use a distributed development
> > >> workflow that relies on patches and distribution lists for code
> > >> contributions and review.
> > >>
> > >> B4 is now a common tool used by developers for Linux kernel workflows.
> > >>
> > >> While the Linux kernel support is handled inside b4, other projects can
> > >> rely on a .b4-config file to achieve the same thing.
> > >>
> > >> Add a .b4-config file to instruct b4 to send patches to the
> > >> libcamera-devel mailing list. This allows the command b4 prep
> > >> --auto-to-cc to automatically add the mailing to its To: list.
> > >>
> > >> Command output without .b4-config :
> > >>
> > >>   $ b4 prep --auto-to-cc
> > >>   Collecting To/Cc addresses
> > >>   No new addresses to add.
> > >>
> > >> With .b4-config :
> > >>
> > >>   $ b4 prep --auto-to-cc
> > >>   Collecting To/Cc addresses
> > >>       + To: libcamera-devel@lists.libcamera.org
> > >>   ---
> > >>   You can trim/expand this list with: b4 prep --edit-cover
> > >>   Invoking git-filter-repo to update the cover letter.
> > >>   New history written in 0.02 seconds...
> > >>   Completely finished after 0.04 seconds.
> > >>
> > >> Signed-off-by: Benjamin Mugnier <benjamin.mugnier@foss.st.com>
> > > 
> > > Thanks.
> > > 
> > > Acked-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
> > > 
> > 
> > I realized I forgot to add Laurent's trailer from v1. Could you add it
> > for me please ?
> 
> As long as you say where and why you're adding it to the thread you can
> do it too by just replying and putting it here - like this ...
> 
> (Collecting Laurent's tag from v1)
> 
> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> 

And with that. Merged.
--
Kieran

> > 
> > >> ---
> > >> Changes in v2:
> > >> - Indent commands block with spaces
> > >> - Link to v1: https://lore.kernel.org/r/20250620-add_b4_config-v1-1-bc183e48e886@foss.st.com
> > >> ---
> > >>  .b4-config | 2 ++
> > >>  1 file changed, 2 insertions(+)
> > >>
> > >> diff --git a/.b4-config b/.b4-config
> > >> new file mode 100644
> > >> index 0000000000000000000000000000000000000000..371e3e9c2485a4e2cb0ff48ccbfa5f4b246f29ee
> > >> --- /dev/null
> > >> +++ b/.b4-config
> > >> @@ -0,0 +1,2 @@
> > >> +[b4]
> > >> +  send-series-to = libcamera-devel@lists.libcamera.org
> > >>
> > >> ---
> > >> base-commit: b3ff75d7589a263412ad63008b3c8518d40e6316
> > >> change-id: 20250620-add_b4_config-965740f529f8
> > >>
> > >> Best regards,
> > >> -- 
> > >> Benjamin Mugnier <benjamin.mugnier@foss.st.com>
> > >>
> > 
> > -- 
> > Regards,
> > Benjamin
Benjamin Mugnier July 21, 2025, 10:59 a.m. UTC | #5
On 7/21/25 12:45, Kieran Bingham wrote:
> Quoting Benjamin Mugnier (2025-07-21 11:39:28)
>> On 7/21/25 12:36, Kieran Bingham wrote:
>>> Quoting Benjamin Mugnier (2025-07-21 10:09:29)
>>>> Per the b4 documentation: B4 is a tool created to make it easier for
>>>> project developers and maintainers to use a distributed development
>>>> workflow that relies on patches and distribution lists for code
>>>> contributions and review.
>>>>
>>>> B4 is now a common tool used by developers for Linux kernel workflows.
>>>>
>>>> While the Linux kernel support is handled inside b4, other projects can
>>>> rely on a .b4-config file to achieve the same thing.
>>>>
>>>> Add a .b4-config file to instruct b4 to send patches to the
>>>> libcamera-devel mailing list. This allows the command b4 prep
>>>> --auto-to-cc to automatically add the mailing to its To: list.
>>>>
>>>> Command output without .b4-config :
>>>>
>>>>   $ b4 prep --auto-to-cc
>>>>   Collecting To/Cc addresses
>>>>   No new addresses to add.
>>>>
>>>> With .b4-config :
>>>>
>>>>   $ b4 prep --auto-to-cc
>>>>   Collecting To/Cc addresses
>>>>       + To: libcamera-devel@lists.libcamera.org
>>>>   ---
>>>>   You can trim/expand this list with: b4 prep --edit-cover
>>>>   Invoking git-filter-repo to update the cover letter.
>>>>   New history written in 0.02 seconds...
>>>>   Completely finished after 0.04 seconds.
>>>>
>>>> Signed-off-by: Benjamin Mugnier <benjamin.mugnier@foss.st.com>
>>>
>>> Thanks.
>>>
>>> Acked-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
>>>
>>
>> I realized I forgot to add Laurent's trailer from v1. Could you add it
>> for me please ?
> 
> As long as you say where and why you're adding it to the thread you can
> do it too by just replying and putting it here - like this ...
> 
> (Collecting Laurent's tag from v1)
> 
> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> 

Neat, thank you.

>>
>>>> ---
>>>> Changes in v2:
>>>> - Indent commands block with spaces
>>>> - Link to v1: https://lore.kernel.org/r/20250620-add_b4_config-v1-1-bc183e48e886@foss.st.com
>>>> ---
>>>>  .b4-config | 2 ++
>>>>  1 file changed, 2 insertions(+)
>>>>
>>>> diff --git a/.b4-config b/.b4-config
>>>> new file mode 100644
>>>> index 0000000000000000000000000000000000000000..371e3e9c2485a4e2cb0ff48ccbfa5f4b246f29ee
>>>> --- /dev/null
>>>> +++ b/.b4-config
>>>> @@ -0,0 +1,2 @@
>>>> +[b4]
>>>> +  send-series-to = libcamera-devel@lists.libcamera.org
>>>>
>>>> ---
>>>> base-commit: b3ff75d7589a263412ad63008b3c8518d40e6316
>>>> change-id: 20250620-add_b4_config-965740f529f8
>>>>
>>>> Best regards,
>>>> -- 
>>>> Benjamin Mugnier <benjamin.mugnier@foss.st.com>
>>>>
>>
>> -- 
>> Regards,
>> Benjamin

Patch
diff mbox series

diff --git a/.b4-config b/.b4-config
new file mode 100644
index 0000000000000000000000000000000000000000..371e3e9c2485a4e2cb0ff48ccbfa5f4b246f29ee
--- /dev/null
+++ b/.b4-config
@@ -0,0 +1,2 @@ 
+[b4]
+  send-series-to = libcamera-devel@lists.libcamera.org