Skip to contentSkip to conversation

rapidjson: Avoid usage of nobranch=1

PATCH In review Sourav Kumar Pramanik 2 participants 2 messages Aug 21, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rapidjson: Avoid usage of nobranch=1

From: Sourav Pramanik <[email protected]>

The usage of nobranch=1 in SRC_URI allows using unprotected branches.

This change updates the real branch name in place of nobranch=1.

---
 meta-oe/recipes-devtools/rapidjson/rapidjson_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-devtools/rapidjson/rapidjson_git.bb +1 -1
index 04ac93e92..bc90bffe5 100644
@@ -4,7 +4,7 @@ SECTION = "libs"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://license.txt;md5=ba04aa8f65de1396a7e59d1d746c2125"
 
-SRC_URI = "git://github.com/miloyip/rapidjson.git;nobranch=1;protocol=https"
+SRC_URI = "git://github.com/miloyip/rapidjson.git;branch=master;protocol=https"
 
 SRCREV = "0ccdbf364c577803e2a751f5aededce935314313"
 
Signature · 1 line
2.25.1
#1 lore raw

Thanks, the correct mailing list is openembedded-devel, not oe-core.

Alex

Quoted 37 lines · Sourav Kumar Pramanik

From: Sourav Pramanik <[email protected]>

The usage of nobranch=1 in SRC_URI allows using unprotected branches.

This change updates the real branch name in place of nobranch=1.

---
 meta-oe/recipes-devtools/rapidjson/rapidjson_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-devtools/rapidjson/rapidjson_git.bb +1 -2
index 04ac93e92..bc90bffe5 100644
@@ -4,7 +4,7 @@ SECTION = "libs"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://license.txt;md5=ba04aa8f65de1396a7e59d1d746c2125"
 
-SRC_URI = "git://github.com/miloyip/rapidjson.git;nobranch=1;protocol=https"
+SRC_URI = "git://github.com/miloyip/rapidjson.git;branch=master;protocol=https"
 
 SRCREV = "0ccdbf364c577803e2a751f5aededce935314313"
 
--

2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186431): https://lists.openembedded.org/g/openembedded-core/message/186431
Mute This Topic: https://lists.openembedded.org/mt/100870655/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-