diff mbox series

[3/7] docs/devel: add b4 for patch retrieval

Message ID 20241118172357.475281-4-pierrick.bouvier@linaro.org
State Superseded
Headers show
Series Enhance documentation for new developers | expand

Commit Message

Pierrick Bouvier Nov. 18, 2024, 5:23 p.m. UTC
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
---
 docs/devel/submitting-a-patch.rst | 10 ++++++++++
 1 file changed, 10 insertions(+)

Comments

Daniel P. Berrangé Nov. 19, 2024, 9:14 a.m. UTC | #1
On Mon, Nov 18, 2024 at 09:23:53AM -0800, Pierrick Bouvier wrote:
> Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
> ---
>  docs/devel/submitting-a-patch.rst | 10 ++++++++++
>  1 file changed, 10 insertions(+)
> 
> diff --git a/docs/devel/submitting-a-patch.rst b/docs/devel/submitting-a-patch.rst
> index 953682f20cb..d25c677d996 100644
> --- a/docs/devel/submitting-a-patch.rst
> +++ b/docs/devel/submitting-a-patch.rst
> @@ -417,6 +417,16 @@ For more details on how QEMU's stable process works, refer to the
>  
>  .. _participating_in_code_review:
>  
> +Retrieve an existing series
> +---------------------------
> +
> +If you want to apply an existing series on top of your tree, you can simply use
> +`b4 <https://github.com/mricon/b4>`__.
> +
> +::
> +
> +    b4 shazam $msg-id

I'm wondering how b4 knows where to find the mails for $msg-id  for QEMU ?


With regards,
Daniel
Marcin Juszkiewicz Nov. 19, 2024, 9:56 a.m. UTC | #2
W dniu 19.11.2024 o 10:14, Daniel P. Berrangé pisze:

>> +    b4 shazam $msg-id
> 
> I'm wondering how b4 knows where to find the mails for $msg-id  for QEMU ?

It goes for https://lore.kernel.org/qemu-devel/$msg-id by default or 
checks b4.midmask in git config.
Daniel P. Berrangé Nov. 19, 2024, 10:07 a.m. UTC | #3
On Tue, Nov 19, 2024 at 10:56:36AM +0100, Marcin Juszkiewicz wrote:
> W dniu 19.11.2024 o 10:14, Daniel P. Berrangé pisze:
> 
> > > +    b4 shazam $msg-id
> > 
> > I'm wondering how b4 knows where to find the mails for $msg-id  for QEMU ?
> 
> It goes for https://lore.kernel.org/qemu-devel/$msg-id by default or checks
> b4.midmask in git config.

How does it figure out to look at  '/qemu-devel/' by default  ?

With regards,
Daniel
Marcin Juszkiewicz Nov. 19, 2024, 10:40 a.m. UTC | #4
W dniu 19.11.2024 o 11:07, Daniel P. Berrangé pisze:
> On Tue, Nov 19, 2024 at 10:56:36AM +0100, Marcin Juszkiewicz wrote:
>> W dniu 19.11.2024 o 10:14, Daniel P. Berrangé pisze:
>>
>>>> +    b4 shazam $msg-id
>>>
>>> I'm wondering how b4 knows where to find the mails for $msg-id  for QEMU ?
>>
>> It goes for https://lore.kernel.org/qemu-devel/$msg-id by default or checks
>> b4.midmask in git config.
> 
> How does it figure out to look at  '/qemu-devel/' by default  ?

Sorry, was wrong. It goes to https://lore.kernel.org/$msg-id as this is 
enough to get mail.
diff mbox series

Patch

diff --git a/docs/devel/submitting-a-patch.rst b/docs/devel/submitting-a-patch.rst
index 953682f20cb..d25c677d996 100644
--- a/docs/devel/submitting-a-patch.rst
+++ b/docs/devel/submitting-a-patch.rst
@@ -417,6 +417,16 @@  For more details on how QEMU's stable process works, refer to the
 
 .. _participating_in_code_review:
 
+Retrieve an existing series
+---------------------------
+
+If you want to apply an existing series on top of your tree, you can simply use
+`b4 <https://github.com/mricon/b4>`__.
+
+::
+
+    b4 shazam $msg-id
+
 Participating in Code Review
 ----------------------------