Re: [yocto-autobuilder2][PATCH] default repository updates

Richard Purdie

On Thu, 2022-09-22 at 09:36 -0700, Benjamin Esquivel wrote:

On Sep 22, 2022, at 5:42 AM, Richard Purdie <richard.purdie@...> wrote:

On Wed, 2022-09-21 at 19:33 -0700, benjamin.esquivel@... wrote:
From: Benjamin Esquivel <benjamin.esquivel@...>

the repos that are used as defaults in the build requests are outdated
hence the update.

Signed-off-by: Benjamin Esquivel <benjamin.esquivel@...>
--- | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/ b/
index 042a1ec..2249e82 100644
--- a/
+++ b/
@@ -38,23 +38,23 @@ repos = {
    "eclipse-poky-oxygen": ["ssh://git@.../eclipse-yocto",
-    "poky": ["ssh://git@.../poky", "master"],
-    "meta-intel": ["ssh://git@.../meta-intel", "master"],
-    "meta-arm": ["ssh://git@.../meta-arm", "master"],
+    "poky": ["git://", "master"],
+    "meta-intel": ["git://", "master"],
+    "meta-arm": ["git://", "master"],
    "meta-agl": ["", "next"],
    "meta-aws": ["", "master"],
-    "meta-ti": ["ssh://git@.../meta-ti", "master"],
-    "meta-security": ["ssh://git@.../meta-security", "master"],
+    "meta-ti": ["git://", "master"],
+    "meta-security": ["git://", "master"],
    "oecore": ["git://",
    "bitbake": ["git://", "master"],
-    "meta-qt4": ["ssh://git@.../meta-qt4", "master"],
-    "meta-qt3": ["ssh://git@.../meta-qt3", "master"],
-    "meta-mingw": ["ssh://git@.../meta-mingw", "master"],
-    "meta-gplv2": ["ssh://git@.../meta-gplv2", "master"],
+    "meta-qt4": ["git://", "master"],
+    "meta-qt3": ["git://", "master"],
+    "meta-mingw": ["git://", "master"],
+    "meta-gplv2": ["git://", "master"],
    "meta-openembedded": ["git://", "master"],
-    "meta-virtualization": ["ssh://git@.../meta-virtualization", "master"],
-    "yocto-docs": ["ssh://git@.../yocto-docs", "master"]
+    "meta-virtualization": ["git://", "master"],
+    "yocto-docs": ["git://", "master"]
Sadly this isn't the case. The push servers are where people with push
access push things, which then mirror out to the other mirror servers.

The autobuilder works off push since other wise, we might trigger a
build and it may build the wrong thing if the mirrors hadn't updated

Whilst I appreciate that is a problem for only certain users, it was a
really problematic corner case for the main project AB.
Ah, I was missing this context. I know that in the build request interface 
you can override some of these repos but I believe not all of them so you’ll
get an error eventually and need to go tweak the file to make it
work. I don’t know if there is a way to user override this but I’ll check.

Thanks for checking my patch. 
Thinking a bit more about this, we could parameterise it so that it is
easier for people to configure and maybe document it too.



Join { to automatically receive all group messages.