SRC_URI master branch is deprecated and main is the new master branch
PATCH 1/1 SRC_URI master branch is deprecated and main is the new master branch
From 23c3517e62158e390617686abd1a5525d27fa223 Mon Sep 17 00:00:00 2001
From: "ashwin.naik" <[email protected]>
Date: Fri, 3 Nov 2023 15:24:24 +0530
Subject: [PATCH] SRC_URI master branch is deprecated and main is the new master branch
Below failure log is observed while using master branch to fetch.
ERROR: googletest-1.10.0-r0 do_fetch: Fetcher failure:
Unable to find revision 703bd9caab50b139428cea1aaff9974ebee5742e in branch master even from upstream
ERROR: googletest-1.10.0-r0 do_fetch: Bitbake Fetcher Error:
FetchError('Unable to fetch URL from any source.', 'git://github.com/google/googletest.git;branch=master;protocol=https')
---
meta-oe/recipes-test/googletest/googletest_git.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-test/googletest/googletest_git.bb +0 -0
@@ -11,7 +11,7 @@ PROVIDES += "gmock gtest"
S = "${WORKDIR}/git"
SRCREV = "703bd9caab50b139428cea1aaff9974ebee5742e"
-SRC_URI = "git://github.com/google/googletest.git;branch=master;protocol=https" +SRC_URI = "git://github.com/google/googletest.git;branch=main;protocol=https"
inherit cmake
--
2.25.1
This surely isn't for master where it was fixed 2 years ago:
https://git.openembedded.org/meta-openembedded/commit/?id=eab5e822a91ad95cf0e7d2406ba3ab5304748713
If you need this fix in some other branch, then send the cherry-pick of this with correct e-mail subject indicating the branch.
Quoted 51 lines · ashwin.naik via lists.openembedded.org
From
23c3517e62158e390617686abd1a5525d27fa223Mon Sep 17 00:00:00 2001
From: "ashwin.naik" <[email protected]>
Date: Fri, 3 Nov 2023 15:24:24 +0530
Subject: [PATCH]SRC_URImaster branch is deprecated and main is the new
master branchBelow failure log is observed while using master branch to fetch.
ERROR: googletest-1.10.0-r0
do_fetch: Fetcher failure:
Unable to find revision703bd9caab50b139428cea1aaff9974ebee5742ein branch master even from upstream
ERROR: googletest-1.10.0-r0do_fetch: Bitbake Fetcher Error:
FetchError('Unable to fetch URL from any source.', 'git://github.com/google/googletest.git;branch=master;protocol=https')Signed-off-by ashwin.naik <[email protected]>--- meta-oe/recipes-test/googletest/googletest_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta-oe/recipes-test/googletest/googletest_git.bb +0
-1@@ -11,7 +11,7 @@ PROVIDES += "gmock gtest" S = "${WORKDIR}/git" SRCREV = "703bd9caab50b139428cea1aaff9974ebee5742e" -SRC_URI = "git://github.com/google/googletest.git;branch=master;protocol=https" +SRC_URI = "
git://github.com/google/googletest.git;branch=main;protocol=https"inherit cmake
--
2.25.1-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#106546):
https://lists.openembedded.org/g/openembedded-devel/message/106546
Mute This Topic: https://lists.openembedded.org/mt/102505851/3617156
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
And even dunfell already has it since 6 months ago:
https://git.openembedded.org/meta-openembedded/commit/?id=29e3a918ac80f98f3bad70eec50a9ada1a47fc41
so maybe you're on some even older release which isn't supported anymore.
Quoted 61 lines · Martin Jansa
This surely isn't for master where it was fixed 2 years ago:
https://git.openembedded.org/meta-openembedded/commit/?id=eab5e822a91ad95cf0e7d2406ba3ab5304748713
If you need this fix in some other branch, then send the cherry-pick of this with correct e-mail subject indicating the branch.
Quoted 51 lines · ashwin.naik via lists.openembedded.org
From
23c3517e62158e390617686abd1a5525d27fa223Mon Sep 17 00:00:00 2001
From: "ashwin.naik" <[email protected]>
Date: Fri, 3 Nov 2023 15:24:24 +0530
Subject: [PATCH]SRC_URImaster branch is deprecated and main is the new
master branchBelow failure log is observed while using master branch to fetch.
ERROR: googletest-1.10.0-r0
do_fetch: Fetcher failure:
Unable to find revision703bd9caab50b139428cea1aaff9974ebee5742ein branch master even from upstream
ERROR: googletest-1.10.0-r0do_fetch: Bitbake Fetcher Error:
FetchError('Unable to fetch URL from any source.', 'git://github.com/google/googletest.git;branch=master;protocol=https')Signed-off-by ashwin.naik <[email protected]>--- meta-oe/recipes-test/googletest/googletest_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta-oe/recipes-test/googletest/googletest_git.bb +0
-1@@ -11,7 +11,7 @@ PROVIDES += "gmock gtest" S = "${WORKDIR}/git" SRCREV = "703bd9caab50b139428cea1aaff9974ebee5742e" -SRC_URI = "git://github.com/google/googletest.git;branch=master;protocol=https" +SRC_URI = "
git://github.com/google/googletest.git;branch=main;protocol=https"inherit cmake
--
2.25.1-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#106546):
https://lists.openembedded.org/g/openembedded-devel/message/106546
Mute This Topic: https://lists.openembedded.org/mt/102505851/3617156
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-