Skip to contentSkip to conversation

nlohmann-json: Avoid usage of nobranch=1

PATCH New [email protected] 1 participant 1 message Nov 13, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nlohmann-json: 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.

(cherry picked from commit eec3c65b8136fe492f3be81ab62717d7c8922d04)
---
 meta-oe/recipes-devtools/nlohmann-json/nlohmann-json_3.11.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-devtools/nlohmann-json/nlohmann-json_3.11.2.bb +1 -1
index 6cf27755e..74e40942a 100644
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.MIT;md5=f969127d7b7ed0a8a63c2bbeae002588"
 
 CVE_PRODUCT = "json-for-modern-cpp"
 
-SRC_URI = "git://github.com/nlohmann/json.git;nobranch=1;protocol=https \
+SRC_URI = "git://github.com/nlohmann/json.git;branch=develop;protocol=https \
            "
 
 SRCREV = "bc889afb4c5bf1c0d8ee29ef35eaaf4c8bef8a5d"
Signature · 1 line
2.25.1