Skip to contentSkip to conversation

rename send-qa-email in builder

PATCH In review Alexis Lothoré 2 participants 4 messages Jan 23, 2023 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

v2 cover rename send-qa-email in builder

This patch is tightly coupled to the patch serie in yocto-autobuilder-helper which aims to improve regression reporting. This serie bring some renaming/reorganization in send-qa-email to allow unit testing it, so the script path used in autobuilder needs to be renamed.

This patch is sent alone/appart from the main serie on yocto-autobuilder-helper since it is not the same codebase, but please let me know if there is another expected procedure for this kind of "multiple repositories" submission

Alexis Lothoré (1):
builders: update send-qa-email name

 builders.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
2.39.0
#1 lore raw

PATCH v2 1/1 builders: update send-qa-email name

---
 builders.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
builders.py +1 -1
index d942346..b052f71 100644
@@ -322,7 +322,7 @@ def create_parent_builder_factory(buildername, waitname):
 
     factory.addStep(steps.ShellCommand(
         command=[
-            util.Interpolate("%(prop:builddir)s/yocto-autobuilder-helper/scripts/send-qa-email"),
+            util.Interpolate("%(prop:builddir)s/yocto-autobuilder-helper/scripts/send_qa_email.py"),
             util.Property("send_email"),
             util.Interpolate("%(prop:builddir)s/layerinfo.json"),
             util.Interpolate("%(prop:sharedrepolocation)s"),
Signature · 1 line
2.39.0
#2 lore raw

Re: [yocto] [autobuilder][PATCH v2 1/1] builders: update send-qa-email name

Quoted 10 lines · Alexis Lothoré via lists.yoctoproject.org
---
 builders.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
builders.py +0 -0
index d942346..b052f71 100644

builders.py def create_parent_builder_factory(buildername, waitname): · line 328

Quoted 8 lines
builders.py +1 -1
@@ -322,7 +322,7 @@ def create_parent_builder_factory(buildername, waitname):
 
     factory.addStep(steps.ShellCommand(
         command=[
-            util.Interpolate("%(prop:builddir)s/yocto-autobuilder-helper/scripts/send-qa-email"),
+            util.Interpolate("%(prop:builddir)s/yocto-autobuilder-helper/scripts/send_qa_email.py"),
             util.Property("send_email"),
             util.Interpolate("%(prop:builddir)s/layerinfo.json"),
             util.Interpolate("%(prop:sharedrepolocation)s"),

This gets a little tricky. Changes to autobuilder-helper are easy but if we change autobuilder2, it has to match changes on all active autobuilder-helper branches.

Cheers,

Richard

A message that is not in the archive (sent off-list or not yet received): [email protected]

#4 lore raw

Re: [yocto] [autobuilder][PATCH v2 1/1] builders: update send-qa-email name

Quoted 13 lines · Richard Purdie via lists.yoctoproject.org
Quoted 11 lines · Alexis Lothoré via lists.yoctoproject.org
---
 builders.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
builders.py +0 -0
index d942346..b052f71 100644
@@ -322,7 +322,7 @@ def create_parent_builder_factory(buildername, waitname):
 
Quoted 11 lines

builders.py def create_parent_builder_factory(buildername, waitname): · line 328

Quoted 7 lines
builders.py +1 -1
     factory.addStep(steps.ShellCommand(
         command=[
-            util.Interpolate("%(prop:builddir)s/yocto-autobuilder-helper/scripts/send-qa-email"),
+            util.Interpolate("%(prop:builddir)s/yocto-autobuilder-helper/scripts/send_qa_email.py"),
             util.Property("send_email"),
             util.Interpolate("%(prop:builddir)s/layerinfo.json"),
             util.Interpolate("%(prop:sharedrepolocation)s"),

This gets a little tricky. Changes to autobuilder-helper are easy but if we change autobuilder2, it has to match changes on all active autobuilder-helper branches.

Thinking about this a little, we can probably push symlinks into the older release branches, at least until we consider backporting some changes.

Cheers,

Richard