diff mbox series

[yocto-autobuilder-helper] config.json/utils: Update buildhistory mappings after poky -> openembedded-core transition

Message ID 20251128152548.1080908-1-richard.purdie@linuxfoundation.org
State New
Headers show
Series [yocto-autobuilder-helper] config.json/utils: Update buildhistory mappings after poky -> openembedded-core transition | expand

Commit Message

Richard Purdie Nov. 28, 2025, 3:25 p.m. UTC
The results were not being stored correctly since the mappings needed updating
after the move poky -> oe-core.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 config.json      | 2 +-
 scripts/utils.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/config.json b/config.json
index 0cce282..53481cc 100644
--- a/config.json
+++ b/config.json
@@ -5,7 +5,7 @@ 
 
     "BUILD_HISTORY_DIR" : "buildhistory",
     "BUILD_HISTORY_REPO" : "ssh://git@push.yoctoproject.org/poky-buildhistory",
-    "BUILD_HISTORY_FORKPUSH" : {"poky-contrib:ross/mut" : "poky:master", "poky-contrib:abelloni/master-next": "poky:master", "poky:master-next" : "poky:master"},
+    "BUILD_HISTORY_FORKPUSH" : {"openembedded-core-contrib:ross/mut" : "openembedded-core:master", "openembedded-core-contrib:abelloni/master-next": "openembedded-core:master", "openembedded-core:master-next" : "openembedded-core:master"},
 
     "BUILDTOOLS_URL" : "https://downloads.yoctoproject.org/releases/yocto/milestones/yocto-5.2_M2/buildtools/x86_64-buildtools-extended-nativesdk-standalone-5.1.sh",
     "BUILDTOOLS_ARM_URL" : "https://downloads.yoctoproject.org/releases/yocto/milestones/yocto-5.2_M2/buildtools/aarch64-buildtools-extended-nativesdk-standalone-5.1.sh",
diff --git a/scripts/utils.py b/scripts/utils.py
index a4de27e..b472451 100644
--- a/scripts/utils.py
+++ b/scripts/utils.py
@@ -26,7 +26,7 @@  def is_a_main_branch(reponame, branchname):
     includes master and release branches in poky, while excluding "next"
     branches
     """
-    return reponame == "poky" and not branchname.endswith("-next")
+    return reponame == "openembedded-core" and not branchname.endswith("-next")
 
 #
 # Check if config contains all the listed params