]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
oeqa/selftest/devtool-test-git-gitsm: Default to https git protocol for YP/OE repos
authorYoann Congal <yoann.congal@smile.fr>
Thu, 16 Apr 2026 21:03:59 +0000 (23:03 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 20 Apr 2026 16:58:37 +0000 (17:58 +0100)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta-selftest/recipes-test/devtool/devtool-test-git-gitsm_git.bb

index ad50c7f13c5f39eb54a68f5257d910987ab91d6b..a362d9e15ee17d656fb57ce768ab11ca4904f941 100644 (file)
@@ -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"