From: Quentin Schulz <quentin.schulz@cherry.de>
To: raj.khem@gmail.com, foss@0leil.net
Cc: bitbake-devel@lists.openembedded.org
Subject: Re: [bitbake-devel] [PATCH] add basic b4 config file
Date: Fri, 24 May 2024 17:33:09 +0200 [thread overview]
Message-ID: <de18f958-d6db-4f90-a49b-a181d046f77e@cherry.de> (raw)
In-Reply-To: <CAMKF1sq9U9VpPPbkmpot7TejVOemWjGqydyWiBn68Dz2vyhEEA@mail.gmail.com>
Hi Khem,
On 5/24/24 5:18 PM, Khem Raj via lists.openembedded.org wrote:
> On Fri, May 24, 2024 at 6:49 AM Quentin Schulz via
> lists.openembedded.org <foss=0leil.net@lists.openembedded.org> 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.
>>
>> This shouldn't be necessary if we had a script that b4 prep --auto-to-cc
>> could call to find the mail address(es) to send to. While we could do
>> that, this opens the door to people trying to add a way to notify some
>> people (e.g. a MAINTAINERS file) which is not somewhere the project
>> wants to go right now, and this also makes sure the address is always
>> added even if one forgets to run b4 prep --auto-to-cc (which is part of
>> the typical workflow for U-Boot and Linux kernel, but is not necessary
>> thanks to this patch).
>>
>> [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>
>> ---
>> This adds a basic config file for b4 to avoid to have to add the mailing
>> list by hand. For documentation patches, one will still need to run
>> b4 send --cc docs@lists.yoctoproject.org
>> manually for sending it to the docs ML as well.
>>
>> Note that b4 supports patchwork, c.f.
>> https://b4.docs.kernel.org/en/latest/config.html#patchwork-integration-settings
>> though I have no clue what it does with it as I am no maintainer, but
>> maybe something worth having a look at if some maintainer of this repo
>> wants to use b4 to merge stuff?
>
> I use b4 regularly for meta-openembedded maintenance and it also updates
> patchwork when patch is accepted, I have this config.
>
> [b4]
> pw-url = "https://patchwork.yoctoproject.org/"
> pw-key = "<mykey>"
> pw-project = "oe"
> pw-review-state = "under-review"
> pw-accept-state = "accepted"
> pw-discard-state = "rejected"
> send-series-to = "openembedded-devel@lists.openembedded.org"
>
Thanks for the example! Would it make sense for me to add the pw parts
to this patch as well (in a v2 for example)?
I'm perplexed about the pw-key though. This is very much something we
don't want to version nor potentially leak by mistake. I assume it is
not possible to add to the global ~/.config/git/config or ~/.gitconfig
because the URL would change for example between projects (I assume we
may have a different patchwork for OE and YP, but for sure if people
maintain kernel stuff as well, then they would have one for kernel.org
for example). Mmmm but maybe a simple
git config b4.pw-key "<mykey>"
from within the local git repo would be enough :)
BTW, I see you have -to instead of what I sent (-cc), is there a
preference here? (I took Cc since this is what we document in the README).
Cheers,
Quentin
next prev parent reply other threads:[~2024-05-24 15:33 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-24 13:49 [PATCH] add basic b4 config file Quentin Schulz
2024-05-24 15:18 ` [bitbake-devel] " Khem Raj
2024-05-24 15:33 ` Quentin Schulz [this message]
2024-05-24 16:28 ` Khem Raj
2024-05-24 18:24 ` Tim Orling
2024-05-24 18:36 ` Tim Orling
2024-05-27 8:55 ` Quentin Schulz
2024-08-01 16:48 ` Kieran Bingham
2024-05-27 9:05 ` Quentin Schulz
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=de18f958-d6db-4f90-a49b-a181d046f77e@cherry.de \
--to=quentin.schulz@cherry.de \
--cc=bitbake-devel@lists.openembedded.org \
--cc=foss@0leil.net \
--cc=raj.khem@gmail.com \
/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.