Re: [PATCH 1/1] submodules: Move from git:// to https://

Petr Vorel <[email protected]>
Newsgroups gmane.linux.ltp
Message-ID <20260716105846.GA263840@pevik>
Hi all,

> git:// protocol is insecure and unreliable. LTP package build times to
> times fails:

>     $ git clone git://git.kernel.org/pub/scm/devel/sparse/sparse.git
>     fatal: unable to connect to git.kernel.org:

Actually the problem is permanent:

git.kernel.org[0: 172.105.64.184]: errno=Connection refused
git.kernel.org[1: 2a01:7e01:e001:937:0:1991:8:25]: errno=Network is unreachable

We should merge this fix to get working modules.

Kind regards,
Petr

> Use https:// for all submodules (change for sparse and mce-test).

> Reported-by: Petr Cervinka <pcervinka-IBi9RG/[email protected]>
> Signed-off-by: Petr Vorel <[email protected]>
> ---
>  .gitmodules | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

> diff --git a/.gitmodules b/.gitmodules
> index a1ac4b1b87..3f36667a3a 100644
> --- a/.gitmodules
> +++ b/.gitmodules
> @@ -1,9 +1,9 @@
>  [submodule "testcases/kernel/mce-test"]
>  	path = testcases/kernel/mce-test
> -	url = git://git.kernel.org/pub/scm/linux/kernel/git/gong.chen/mce-test.git
> +	url = https://git.kernel.org/pub/scm/linux/kernel/git/gong.chen/mce-test.git
>  [submodule "tools/sparse/sparse-src"]
>  	path = tools/sparse/sparse-src
> -	url = git://git.kernel.org/pub/scm/devel/sparse/sparse.git
> +	url = https://git.kernel.org/pub/scm/devel/sparse/sparse.git
>  [submodule "tools/ltx/ltx-src"]
>  	path = tools/ltx/ltx-src
>  	url = https://github.com/linux-test-project/ltx.git

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.