diff mbox series

b4-wrapper-poky.py: send changes to .b4-config to the poky mailing list

Message ID 20250207-b4-config-poky-v1-1-77e73a81b12d@cherry.de
State Accepted, archived
Commit 1006712027812326fdeade2ab539b42bdf5b10e6
Headers show
Series b4-wrapper-poky.py: send changes to .b4-config to the poky mailing list | expand

Commit Message

Quentin Schulz Feb. 7, 2025, 11:46 a.m. UTC
From: Quentin Schulz <quentin.schulz@cherry.de>

Both OE-Core and poky git repos have a .b4-config, both at the same
location and both different.

Therefore, changes made to .b4-config for OE-Core need to be sent to the
OE-Core mailing list and changes made to .b4-config for poky sent to the
poky mailing list.

Changes made to OE-Core's .b4-config can only be made from a vanilla
OE-Core git repo, not from poky git repo. With the current content of
OE-Core's .b4-config, b4-wrapper-poky.py script is NOT called to figure
out where to send patches, b4 gets it from the hardcoded value in
send-series-to.

Thus, we can say that if b4-wrapper-poky.py detects changes for
.b4-config, those changes are for poky since this script wouldn't be run
by b4 outside of poky git repo.

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
---
 scripts/b4-wrapper-poky.py | 5 +++++
 1 file changed, 5 insertions(+)


---
base-commit: 136f0edb75d9601a0ae56e025419d3cddfb90219
change-id: 20250207-b4-config-poky-eb9267fb2b09

Best regards,
diff mbox series

Patch

diff --git a/scripts/b4-wrapper-poky.py b/scripts/b4-wrapper-poky.py
index 30a7b95ff3acda5e56cab8ad15a2713f11e2feec..ec6568eb9b7cab389178c08173a43caa2fc6bd48 100755
--- a/scripts/b4-wrapper-poky.py
+++ b/scripts/b4-wrapper-poky.py
@@ -102,6 +102,11 @@  try:
                     "meta-yocto-bsp/*",
                     "README.hardware.md",
                     "README.poky.md",
+                    # scripts/b4-wrapper-poky.py is only run by b4 when in poky
+                    # git repo. With that limitation, changes made to .b4-config
+                    # can only be for poky's and not OE-Core's as only poky's is
+                    # stored in poky git repo.
+                    ".b4-config",
                     ],
         }