scripts: Default to https git protocol for YP/OE repos

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.

(From OE-Core rev: 97986a40346d7b5a13c0882674afacd98583108c)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
This commit is contained in:
Yoann Congal
2026-04-09 13:22:15 +02:00
committed by Paul Barker
parent eed22f3bd6
commit 8671248b73
2 changed files with 4 additions and 4 deletions

View File

@@ -14,7 +14,7 @@ signoff = False
# mandatory options
# git upstream uri
src_uri = git://git.openembedded.org/bitbake
src_uri = https://git.openembedded.org/bitbake
# the directory to clone the component repo
local_repo_dir = /home/kyu3/src/test/bitbake
@@ -76,7 +76,7 @@ last_revision =
# that matches the original commit.
[oe-core]
src_uri = git://git.openembedded.org/openembedded-core
src_uri = https://git.openembedded.org/openembedded-core
local_repo_dir = /home/kyu3/src/test/oecore
dest_dir = .
last_revision =

View File

@@ -75,8 +75,8 @@ source $PTENV/bin/activate
cd $PTENV
# clone or pull
clone git://git.yoctoproject.org/patchtest $PT
clone git://git.yoctoproject.org/patchtest-oe $PTOE
clone https://git.yoctoproject.org/patchtest $PT
clone https://git.yoctoproject.org/patchtest-oe $PTOE
# install requirements
pip install -r $PT/requirements.txt --quiet