This adds very basic support for using b4 in OE-Core. This essentially
just automatically adds the proper mailing list when running b4 prep
--auto-to-cc.

This also adds the b4 wrapper script that poky will need to use in order
to identify which mailing list a patch needs to be sent to and do some
additional per-patch checks that aren't necessary when running from
vanilla OE-Core.

Once this is merged, poky will need to merge OE-Core into itself and
override with its own .b4-config that makes use of that script.

Signed-off-by: Quentin Schulz <quentin.sch...@cherry.de>
---
Changes in v3:
- populate To recipient list instead of Cc to follow what's asked in our
  READMEs,
- put yocto-docs ML in Cc if there's a patch to bitbake/doc directory,
- the wrapper script needed to be adapted to handle both Cc and To
  recipient lists,
- explicit that an address can only appear once and the recipient list
  it'll make it to is the one appropriate for the first patch that needs
  to be sent to it,
- Link to v2: 
https://lore.kernel.org/r/20250203-b4-support-v2-0-848008ad2...@cherry.de

Changes in v2:
- add mention to first patch that running patchtest for b4 prep --check
  is what we're eventually aiming for,
- add poky b4 wrapper script (it used to be in the patch series for
  poky, c.f. 
https://lore.kernel.org/poky/20250123-b4-support-v1-1-4841f52ec...@cherry.de/T/#m95d6aa25cc42352416da477cf07d7b3cbd671231
- poky b4 wrapper script properly identifies patches with files modified
  in both OE-Core and other repos part of poky,
- poky b4 wrapper script pretty prints when there's more than one
  project modified by a script, instead of lazily printing a Python
  list,
- Link to v1: 
https://lore.kernel.org/r/20250117-b4-support-v1-1-fe74a5f50...@cherry.de

---
Quentin Schulz (2):
      add basic b4 config file
      scripts: add b4-wrapper for poky

 .b4-config                 |   3 +
 scripts/b4-wrapper-poky.py | 177 +++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 180 insertions(+)
---
base-commit: 7e2d743e4809d6cbaa8e441dc42624eb65daad63
change-id: 20250117-b4-support-10de313f53b7

Best regards,
-- 
Quentin Schulz <quentin.sch...@cherry.de>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#210855): 
https://lists.openembedded.org/g/openembedded-core/message/210855
Mute This Topic: https://lists.openembedded.org/mt/111013375/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to