Skip to contentSkip to conversation

nlohmann-json: Avoid usage of nobranch=1

PATCH New Sourav Kumar Pramanik 1 participant 1 message Aug 21, 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.

---
 meta-oe/recipes-devtools/nlohmann-json/nlohmann-json_3.10.5.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-devtools/nlohmann-json/nlohmann-json_3.10.5.bb +1 -1
index 4fa2aacdf..7a1a7a9db 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 = "4f8fba14066156b73f1189a2b8bd568bde5284c5"
Signature · 1 line
2.25.1