[meta-java] jdepend: Set protocol=https and branch=master

Message ID 20211118084107.1039286-1-jacob.kroon@gmail.com
State New
Headers show
Series [meta-java] jdepend: Set protocol=https and branch=master | expand

Commit Message

Jacob Kroon Nov. 18, 2021, 8:41 a.m. UTC
Fixes:
WARNING: jdepend-native-2.9.1-r0 do_fetch: URL: git://github.com/clarkware/jdepend uses git protocol which is no longer supported by github. Please change to ;protocol=https in the url.
WARNING: jdepend-native-2.9.1-r0 do_fetch: URL: git://github.com/clarkware/jdepend does not set any branch parameter. The future default branch used by tools and repositories is uncertain and we will therefore soon require this is set in all git urls.

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
---
 recipes-core/jdepend/jdepend_2.9.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/recipes-core/jdepend/jdepend_2.9.1.bb b/recipes-core/jdepend/jdepend_2.9.1.bb
index 7c6cc8c..deae6a8 100644
--- a/recipes-core/jdepend/jdepend_2.9.1.bb
+++ b/recipes-core/jdepend/jdepend_2.9.1.bb
@@ -6,7 +6,7 @@  LIC_FILES_CHKSUM = "file://LICENSE;md5=f5777d32a7709d558c2877d4a6616230"
 
 HOMEPAGE = "https://github.com/clarkware/jdepend"
 
-SRC_URI = "git://github.com/clarkware/jdepend"
+SRC_URI = "git://github.com/clarkware/jdepend;protocol=https;branch=master"
 SRCREV = "57980590313a5dbde236a3eb2c8958e9e53e6a10"
 S = "${WORKDIR}/git"