summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest/cases/fetch.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2023-05-04 17:06:05 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-05-05 11:07:25 +0100
commit1285f78ce861a92dbb99f476b49499574259e615 (patch)
tree7158a1c6d29be4ef9a6bba68a5d4f098aa947f3c /meta/lib/oeqa/selftest/cases/fetch.py
parent3a89e9a056a946c03083d3cb8e5870ed67b1b99c (diff)
downloadpoky-1285f78ce861a92dbb99f476b49499574259e615.tar.gz
recipes: Default to https git protocol where possible
The recommendation from server maintainers is that the https protocol is both faster and more reliable than the dedicated git protocol at this point. Switch to it where possible. (From OE-Core rev: 139102a73d4151f4748b4a861bd4ab28dda7dab7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/selftest/cases/fetch.py')
-rw-r--r--meta/lib/oeqa/selftest/cases/fetch.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/cases/fetch.py b/meta/lib/oeqa/selftest/cases/fetch.py
index 3d01cf69f2..c9107022c8 100644
--- a/meta/lib/oeqa/selftest/cases/fetch.py
+++ b/meta/lib/oeqa/selftest/cases/fetch.py
@@ -36,6 +36,7 @@ PREMIRRORS:forcevariable = ""
36 # No mirrors and broken git, should fail 36 # No mirrors and broken git, should fail
37 features = """ 37 features = """
38DL_DIR = "%s" 38DL_DIR = "%s"
39SRC_URI:pn-dbus-wait = "git://git.yoctoproject.org/dbus-wait;branch=master;protocol=git"
39GIT_PROXY_COMMAND = "false" 40GIT_PROXY_COMMAND = "false"
40MIRRORS:forcevariable = "" 41MIRRORS:forcevariable = ""
41PREMIRRORS:forcevariable = "" 42PREMIRRORS:forcevariable = ""
@@ -48,6 +49,7 @@ PREMIRRORS:forcevariable = ""
48 # Broken git but a specific mirror 49 # Broken git but a specific mirror
49 features = """ 50 features = """
50DL_DIR = "%s" 51DL_DIR = "%s"
52SRC_URI:pn-dbus-wait = "git://git.yoctoproject.org/dbus-wait;branch=master;protocol=git"
51GIT_PROXY_COMMAND = "false" 53GIT_PROXY_COMMAND = "false"
52MIRRORS:forcevariable = "git://.*/.* http://downloads.yoctoproject.org/mirror/sources/" 54MIRRORS:forcevariable = "git://.*/.* http://downloads.yoctoproject.org/mirror/sources/"
53""" % dldir 55""" % dldir