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

Pierrick Bouvier posted 7 patches 5 days ago
[PATCH 3/7] docs/devel: add b4 for patch retrieval
Posted by Pierrick Bouvier 5 days ago
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
+
 Participating in Code Review
 ----------------------------
 
-- 
2.39.5
Re: [PATCH 3/7] docs/devel: add b4 for patch retrieval
Posted by Daniel P. Berrangé 4 days, 8 hours ago
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
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|
Re: [PATCH 3/7] docs/devel: add b4 for patch retrieval
Posted by Marcin Juszkiewicz 4 days, 8 hours ago
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.

Re: [PATCH 3/7] docs/devel: add b4 for patch retrieval
Posted by Daniel P. Berrangé 4 days, 8 hours ago
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
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|


Re: [PATCH 3/7] docs/devel: add b4 for patch retrieval
Posted by Marcin Juszkiewicz 4 days, 7 hours ago
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.