Re: [yocto-autobuilder2][PATCH] config.py: 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@...>
---
config.py | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/config.py b/config.py
index 042a1ec..2249e82 100644
--- a/config.py
+++ b/config.py
@@ -38,23 +38,23 @@ repos = {
                          "neon-master"],
    "eclipse-poky-oxygen": ["ssh://git@.../eclipse-yocto",
                            "oxygen-master"],
-    "poky": ["ssh://git@.../poky", "master"],
-    "meta-intel": ["ssh://git@.../meta-intel", "master"],
-    "meta-arm": ["ssh://git@.../meta-arm", "master"],
+    "poky": ["git://git.yoctoproject.org/poky", "master"],
+    "meta-intel": ["git://git.yoctoproject.org/meta-intel", "master"],
+    "meta-arm": ["git://git.yoctoproject.org/meta-arm", "master"],
    "meta-agl": ["https://git.automotivelinux.org/AGL/meta-agl", "next"],
    "meta-aws": ["https://github.com/aws/meta-aws.git", "master"],
-    "meta-ti": ["ssh://git@.../meta-ti", "master"],
-    "meta-security": ["ssh://git@.../meta-security", "master"],
+    "meta-ti": ["git://git.yoctoproject.org/meta-ti", "master"],
+    "meta-security": ["git://git.yoctoproject.org/meta-security", "master"],
    "oecore": ["git://git.openembedded.org/openembedded-core",
                          "master"],
    "bitbake": ["git://git.openembedded.org/bitbake", "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://git.yoctoproject.org/meta-qt4", "master"],
+    "meta-qt3": ["git://git.yoctoproject.org/meta-qt3", "master"],
+    "meta-mingw": ["git://git.yoctoproject.org/meta-mingw", "master"],
+    "meta-gplv2": ["git://git.yoctoproject.org/meta-gplv2", "master"],
    "meta-openembedded": ["git://git.openembedded.org/meta-openembedded", "master"],
-    "meta-virtualization": ["ssh://git@.../meta-virtualization", "master"],
-    "yocto-docs": ["ssh://git@.../yocto-docs", "master"]
+    "meta-virtualization": ["git://git.yoctoproject.org/meta-virtualization", "master"],
+    "yocto-docs": ["git://git.yoctoproject.org/yocto-docs", "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
yet.

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 config.py 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.

Cheers,

Richard

Join {yocto@lists.yoctoproject.org to automatically receive all group messages.