diff mbox series

[6/8] oeqa/selftest/devtool-test-git-gitsm: Default to https git protocol for YP/OE repos

Message ID 20260416210836.1336162-7-yoann.congal@smile.fr
State Accepted, archived
Commit 2f24b15969c7ada2bca8e6e6e049040b8dce9f29
Headers show
Series Patches from kirkstone/whinlatter final series | expand

Commit Message

Yoann Congal April 16, 2026, 9:03 p.m. UTC
From: Yoann Congal <yoann.congal@smile.fr>

Following up on commit 139102a73d41 ("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.

Use ";protocol=https" for the parent git submodule and, also, update the
SRCREV to point to a commit where submodules are reference through a
https:// URL instead of a git:// one.

Update the expected output of the archiver test.

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
 .../recipes-test/devtool/devtool-test-git-gitsm_git.bb    | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
diff mbox series

Patch

diff --git a/meta-selftest/recipes-test/devtool/devtool-test-git-gitsm_git.bb b/meta-selftest/recipes-test/devtool/devtool-test-git-gitsm_git.bb
index ad50c7f13c5..a362d9e15ee 100644
--- a/meta-selftest/recipes-test/devtool/devtool-test-git-gitsm_git.bb
+++ b/meta-selftest/recipes-test/devtool/devtool-test-git-gitsm_git.bb
@@ -3,8 +3,8 @@  HOMEPAGE = "http://git.yoctoproject.org/cgit/cgit.cgi/git-submodule-test/"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
 
-SRC_URI = "git://git.yoctoproject.org/git-submodule-test;branch=master;name=repo-git \
-    gitsm://git.yoctoproject.org/git-submodule-test;branch=master;name=repo-gitsm;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/nested/repo-gitsm"
-SRCREV_repo-git = "a2885dd7d25380d23627e7544b7bbb55014b16ee"
-SRCREV_repo-gitsm = "a2885dd7d25380d23627e7544b7bbb55014b16ee"
+SRC_URI = "git://git.yoctoproject.org/git-submodule-test;branch=master;name=repo-git;protocol=https \
+    gitsm://git.yoctoproject.org/git-submodule-test;branch=master;name=repo-gitsm;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/nested/repo-gitsm;protocol=https"
+SRCREV_repo-git = "f280847494763cdcf71197557a81ba7d8a6bce42"
+SRCREV_repo-gitsm = "f280847494763cdcf71197557a81ba7d8a6bce42"
 SRCREV_FORMAT = "repo-git_repo-gitsm"