You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running neovim at a large company within a secure development environment.
There is no access to https://github.com/, however there is an internal mirror site with a different URL that provides access to GitHub projects.
The lazy.nvim package manager gets plugins from our local mirror with this neovim configuration:
This has an easy solution: Use a relative path for the url in .gitmodules.
Here is what the problem looks like (using plain git for clarity, but lazy.nvim uses this exact command internally for its clones:)
$ git clone --filter=blob:none --recurse-submodules --origin=origin --progress https://repomirror.corporate.com/github/L3MON4D3/LuaSnip.git
Cloning into 'LuaSnip'...
Fetching objects: 11498, done.
Submodule 'deps/jsregexp' (https://github.com/kmarius/jsregexp/) registered for path 'deps/jsregexp'
Cloning into '/home/bob/LuaSnip/deps/jsregexp'...
fatal: unable to access 'https://github.com/kmarius/jsregexp/': gnutls_handshake() failed: Error in the pull function.
fatal: clone of 'https://github.com/kmarius/jsregexp/' into submodule path '/home/bob/LuaSnip/deps/jsregexp' failed
Failed to clone 'deps/jsregexp'. Retry scheduled
Cloning into '/usr/local/ldr/LuaSnip/deps/jsregexp'...
fatal: unable to access 'https://github.com/kmarius/jsregexp/': gnutls_handshake() failed: Error in the pull function.
fatal: clone of 'https://github.com/kmarius/jsregexp/' into submodule path '/home/bob/LuaSnip/deps/jsregexp' failed
Failed to clone 'deps/jsregexp' a second time, aborting
The text was updated successfully, but these errors were encountered:
gongfarmer
added a commit
to gongfarmer/LuaSnip
that referenced
this issue
Jun 6, 2023
I am running neovim at a large company within a secure development environment.
There is no access to https://github.com/, however there is an internal mirror site with a different URL that provides access to GitHub projects.
The lazy.nvim package manager gets plugins from our local mirror with this neovim configuration:
This does not work for the luasnip plugin. This plugin defines a submodule with a GitHub URL that is not reachable:
This has an easy solution: Use a relative path for the url in .gitmodules.
Here is what the problem looks like (using plain git for clarity, but lazy.nvim uses this exact command internally for its clones:)
The text was updated successfully, but these errors were encountered: