All of lore.kernel.org
 help / color / mirror / Atom feed
From: Quentin Schulz <quentin.schulz@cherry.de>
To: Antonin Godard <antonin.godard@bootlin.com>,
	Quentin Schulz <foss@0leil.net>,
	docs@lists.yoctoproject.org
Subject: Re: [docs] [PATCH] add basic b4 config file
Date: Thu, 23 Jan 2025 16:51:57 +0100	[thread overview]
Message-ID: <cfe5a9bc-76fb-4719-b9b0-907eb337fc52@cherry.de> (raw)
In-Reply-To: <D79K8MV03N7R.30YY4NU4X55R2@bootlin.com>

Hi Antonin,

On 1/23/25 4:33 PM, Antonin Godard wrote:
> Hi Quentin,
> 
> On Thu Jan 23, 2025 at 3:31 PM CET, 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 Cc recipients
>> to always add, in our case the mailing list.
>>
>> Because we do not have anything to check for now, disable needs-checking
>> so patches can be sent without running b4 prep --check.
>>
>> Because we do not have any auto-to-cc support (and the implicit one
>> using scripts/get_maintainer.pl cannot work for us), also disable
>> needs-auto-to-cc so patches can be sent without running b4 prep
>> --auto-to-cc.
>>
>> [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>
>> ---
>> I'm wondering if we couldn't add some per-patch check as well, checking
>> that the documentation builds for each for example. Could be added in a
>> later patch though. Any idea?
> 
> I would agree but a docs build already takes a while, so I think a single docs
> build for the b4-managed branch would be enough. Don't know if that's possible
> though.
> 

We could run linters or something like that. Anyway, can be added later 
on if we find it can be helpful to mitigate some issues :)

>> ---
>>   .b4-config | 3 +++
>>   1 file changed, 3 insertions(+)
>>
>> diff --git a/.b4-config b/.b4-config
>> new file mode 100644
>> index 0000000000000000000000000000000000000000..4f87f61b58519862da44fd9af6e6d0018edc7dc2
>> --- /dev/null
>> +++ b/.b4-config
>> @@ -0,0 +1,3 @@
>> +[b4]
>> +  send-series-cc = docs@lists.yoctoproject.org
> 
> Why not send-series-to?
> This is what we instruct users to do in the readme, and in the contributor
> guide.
> 

Because the author of this patch hasn't read the README in a while and 
most often uses Cc: instead of To:.

I think the same thing can be said for my OE-Core and BitBake patches. 
At least it seems to be consistent on which one to use between Cc: and 
To: :)

I'll wait a bit for reviews on other patches, specifically 
https://lore.kernel.org/poky/20250123-b4-support-v1-1-4841f52eccbb@cherry.de/ 
and will send a newer version that changes them to To:.

I see now that the BitBake doc patches need to be Cc for 
docs@lists.yp.org and To: for bitbake-devel@oe.org... Those are handled 
by different b4 calls, so I would need to handle those differently, 
maybe I can have a To: for both :) ? What do you think?

Cheers,
Quentin


      reply	other threads:[~2025-01-23 15:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-23 14:31 [PATCH] add basic b4 config file Quentin Schulz
2025-01-23 15:33 ` [docs] " Antonin Godard
2025-01-23 15:51   ` Quentin Schulz [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cfe5a9bc-76fb-4719-b9b0-907eb337fc52@cherry.de \
    --to=quentin.schulz@cherry.de \
    --cc=antonin.godard@bootlin.com \
    --cc=docs@lists.yoctoproject.org \
    --cc=foss@0leil.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.