jinja.vim icon indicating copy to clipboard operation
jinja.vim copied to clipboard

Auto install with NvChad fails due to ssh/gitlab key needed

Open biwhite opened this issue 1 year ago • 2 comments

Can you change the nvim-busted-shims submodule to pull via http instead of ssh, so it doesn't need a gitlab SSH key to install using whatever plugin manager NvChad is using!


   lazy.nvim (H)   Install (I)   Update (U)   Sync (S)   Clean (X)   Check (C)   Log (L)  
   Restore (R)   Profile (P)   Debug (D)   Help (?) 

  Total: 49 plugins

  Failed (1)
     jinja.vim  j2 
        Cloning into '/Users/xxx/.local/share/nvim/lazy/jinja.vim'...
        warning: redirecting to https://gitlab.com/HiPhish/jinja.vim.git/
        remote: Enumerating objects: 89, done.        
        remote: Counting objects: 100% (67/67), done.        
        remote: Compressing objects: 100% (40/40), done.        
        remote: Total 89 (delta 15), reused 8 (delta 1), pack-reused 22 (from 1)        
        Receiving objects: 100% (89/89), 8.60 KiB | 4.30 MiB/s, done.
        Resolving deltas: 100% (19/19), done.
        warning: redirecting to https://gitlab.com/HiPhish/jinja.vim.git/
        Updating files: 100% (21/21), done.
        Submodule 'test/bin' ([email protected]:HiPhish/nvim-busted-shims.git) registered for path 'test/bin'
        Submodule 'test/xdg/local/share/nvim/site/pack/testing/start/yo-dawg.nvim' (https://gitlab.com/HiPhish/yo-dawg.nvim.git) registered for path 'test/xdg/local/share/nvim/site/pack/testing/start/yo-dawg.nvim'
        Cloning into '/Users/xxx/.local/share/nvim/lazy/jinja.vim/test/bin'...
        [email protected]: Permission denied (publickey).
        fatal: Could not read from remote repository.

        Please make sure you have the correct access rights
        and the repository exists.
        fatal: clone of '[email protected]:HiPhish/nvim-busted-shims.git' into submodule path '/Users/xxx/.local/share/nvim/lazy/jinja.vim/test/bin' failed
        Failed to clone 'test/bin'. Retry scheduled
        Cloning into '/Users/xxx/.local/share/nvim/lazy/jinja.vim/test/xdg/local/share/nvim/site/pack/testing/start/yo-dawg.nvim'...
        remote: Enumerating objects: 32, done.        
        remote: Counting objects: 100% (32/32), done.        
        remote: Compressing objects: 100% (28/28), done.        
        remote: Total 32 (delta 9), reused 0 (delta 0), pack-reused 0 (from 0)        
        Receiving objects: 100% (32/32), 8.96 KiB | 2.99 MiB/s, done.
        Resolving deltas: 100% (9/9), done.
        Cloning into '/Users/xxx/.local/share/nvim/lazy/jinja.vim/test/bin'...
        [email protected]: Permission denied (publickey).
        fatal: Could not read from remote repository.

        Please make sure you have the correct access rights
        and the repository exists.
        fatal: clone of '[email protected]:HiPhish/nvim-busted-shims.git' into submodule path '/Users/xxx/.local/share/nvim/lazy/jinja.vim/test/bin' failed
        Failed to clone 'test/bin' a second time, aborting

biwhite avatar Sep 09 '24 09:09 biwhite

Sorry, you are right. I have switched it to HTTPS. Note however that you don't actually need any of the submodules, those are just for running tests. They don't hurt either, they just waste space. I have added a note to the README now.

HiPhish avatar Sep 09 '24 17:09 HiPhish

Great thanks. I didn't want to have to work out how to get the plugin manager to not run the tests! Good work

On Mon, 9 Sept 2024, 18:48 Alejandro Sanchez, @.***> wrote:

Sorry, you are right. I have switched it to HTTPS. Note however that you don't actually need any of the submodules, those are just for running tests. They don't hurt either, they just waste space. I have added a note to the README now.

— Reply to this email directly, view it on GitHub https://github.com/HiPhish/jinja.vim/issues/4#issuecomment-2338720715, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAYTN2CSR3ZCU7MWZTB7HO3ZVXNOHAVCNFSM6AAAAABN4EKLQWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZYG4ZDANZRGU . You are receiving this because you authored the thread.Message ID: @.***>

biwhite avatar Sep 09 '24 19:09 biwhite

Submodules will no longer be picked up from cd939896b8d73ce6b3f31a734b516e32383a76a4 onward.

HiPhish avatar Jul 20 '25 18:07 HiPhish