mirror of
https://git.yoctoproject.org/poky
synced 2026-07-27 19:37:10 +00:00
meta: Add explict branch to git SRC_URIs, handle github url changes
This update was made with the convert-scruri.py script in scripts/contrib
This script handles two emerging issues:
1. There is uncertainty about the default branch name in git going forward.
To try and cover the different possible outcomes, add branch names to all
git:// and gitsm:// SRC_URI entries.
2. Github are dropping support for git:// protocol fetching, so remap github
urls as needed. For more details see:
https://github.blog/2021-09-01-improving-git-protocol-security-github/
(From OE-Core rev: 827a805349f9732b2a5fa9184dc7922af36de327)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
afe0ef0a07
commit
07be05c698
@@ -5,7 +5,7 @@ LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=54905cf894f8cc416a92f4fc350c35b2"
|
||||
|
||||
GO_IMPORT = "github.com/Masterminds/glide"
|
||||
SRC_URI = "git://${GO_IMPORT}"
|
||||
SRC_URI = "git://${GO_IMPORT};branch=master"
|
||||
SRCREV = "8ed5b9292379d86c39592a7e6a58eb9c903877cf"
|
||||
|
||||
inherit go
|
||||
|
||||
Reference in New Issue
Block a user