Skip to content

Cannot check out git submodules since LuaCATS transition #2396

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
AndreaWalchshoferSCCH opened this issue Oct 30, 2023 · 0 comments · Fixed by #2397
Closed

Cannot check out git submodules since LuaCATS transition #2396

AndreaWalchshoferSCCH opened this issue Oct 30, 2023 · 0 comments · Fixed by #2397

Comments

@AndreaWalchshoferSCCH
Copy link
Contributor

How are you using the lua-language-server?

Other

Which OS are you using?

Windows

What is the issue affecting?

Libraries, Other

Expected Behaviour

When cloning/checking out/updating the latest source of LuaLS, I want to use git submodule update --init --recursive to have all of the source up to date locally.

Actual Behaviour

When updating the git submodules, the submodules luv and ffi-reflect fail to clone:

PS C:\Users\walchshofer\Documents\git\lua-language-server-by-sumneko> git submodule update --init --recursive
Submodule 'meta/3rd/Cocos4.0' (https://github.com/LuaCATS/cocos4.0.git) registered for path 'meta/3rd/Cocos4.0'
Submodule 'meta/3rd/Defold' (https://github.com/LuaCATS/defold.git) registered for path 'meta/3rd/Defold'
Submodule 'meta/3rd/Jass' (https://github.com/LuaCATS/jass.git) registered for path 'meta/3rd/Jass'
Submodule 'meta/3rd/OpenResty' (https://github.com/LuaCATS/openresty.git) registered for path 'meta/3rd/OpenResty'
Submodule 'meta/3rd/bee' (https://github.com/LuaCATS/bee.git) registered for path 'meta/3rd/bee'
Submodule 'meta/3rd/busted' (https://github.com/LuaCATS/busted.git) registered for path 'meta/3rd/busted'
Submodule 'meta/3rd/ffi-reflect' (git@github.com:LuaCATS/ffi-reflect.git) registered for path 'meta/3rd/ffi-reflect'
Submodule 'meta/3rd/lfs' (https://github.com/LuaCATS/luafilesystem.git) registered for path 'meta/3rd/lfs'
Submodule 'meta/3rd/love2d' (https://github.com/LuaCATS/love2d.git) registered for path 'meta/3rd/love2d'
Submodule 'meta/3rd/lovr' (https://github.com/LuaCATS/lovr.git) registered for path 'meta/3rd/lovr'
Submodule 'meta/3rd/luaecs' (https://github.com/LuaCATS/luaecs.git) registered for path 'meta/3rd/luaecs'
Submodule 'meta/3rd/luassert' (https://github.com/LuaCATS/luassert.git) registered for path 'meta/3rd/luassert'
Submodule 'meta/3rd/luv' (git@github.com:LuaCATS/luv.git) registered for path 'meta/3rd/luv'
Submodule 'meta/3rd/skynet' (https://github.com/LuaCATS/skynet.git) registered for path 'meta/3rd/skynet'
Cloning into 'C:/Users/walchshofer/Documents/git/lua-language-server-by-sumneko/meta/3rd/Cocos4.0'...
Cloning into 'C:/Users/walchshofer/Documents/git/lua-language-server-by-sumneko/meta/3rd/Defold'...
Cloning into 'C:/Users/walchshofer/Documents/git/lua-language-server-by-sumneko/meta/3rd/Jass'...
Cloning into 'C:/Users/walchshofer/Documents/git/lua-language-server-by-sumneko/meta/3rd/OpenResty'...
Cloning into 'C:/Users/walchshofer/Documents/git/lua-language-server-by-sumneko/meta/3rd/bee'...
Cloning into 'C:/Users/walchshofer/Documents/git/lua-language-server-by-sumneko/meta/3rd/busted'...
Cloning into 'C:/Users/walchshofer/Documents/git/lua-language-server-by-sumneko/meta/3rd/ffi-reflect'...
Host key verification failed.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:LuaCATS/ffi-reflect.git' into submodule path 'C:/Users/walchshofer/Documents/git/lua-language-server-by-sumneko/meta/3rd/ffi-reflect' failed
Failed to clone 'meta/3rd/ffi-reflect'. Retry scheduled
Cloning into 'C:/Users/walchshofer/Documents/git/lua-language-server-by-sumneko/meta/3rd/lfs'...
Cloning into 'C:/Users/walchshofer/Documents/git/lua-language-server-by-sumneko/meta/3rd/love2d'...
Cloning into 'C:/Users/walchshofer/Documents/git/lua-language-server-by-sumneko/meta/3rd/lovr'...
Cloning into 'C:/Users/walchshofer/Documents/git/lua-language-server-by-sumneko/meta/3rd/luaecs'...
Cloning into 'C:/Users/walchshofer/Documents/git/lua-language-server-by-sumneko/meta/3rd/luassert'...
Cloning into 'C:/Users/walchshofer/Documents/git/lua-language-server-by-sumneko/meta/3rd/luv'...
Host key verification failed.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:LuaCATS/luv.git' into submodule path 'C:/Users/walchshofer/Documents/git/lua-language-server-by-sumneko/meta/3rd/luv' failed
Failed to clone 'meta/3rd/luv'. Retry scheduled
Cloning into 'C:/Users/walchshofer/Documents/git/lua-language-server-by-sumneko/meta/3rd/skynet'...
Cloning into 'C:/Users/walchshofer/Documents/git/lua-language-server-by-sumneko/meta/3rd/ffi-reflect'...
Host key verification failed.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:LuaCATS/ffi-reflect.git' into submodule path 'C:/Users/walchshofer/Documents/git/lua-language-server-by-sumneko/meta/3rd/ffi-reflect' failed
Failed to clone 'meta/3rd/ffi-reflect' a second time, aborting

It happens with forks as well as the original repository.

Reproduction steps

  1. Clone LuaLS source code
  2. Execute git submodule update --init --recursive
  3. See errors about submodules luv and ffi-reflect

Additional Notes

Cloning all submodules seems to work in Github Actions on a fork, but these seem to have additional auth instructions.

Log File

No response

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant