Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Paq doesn't reinstall a plugin when remote is changed #99

Closed
Tracked by #149
nabaco opened this issue Jan 3, 2022 · 0 comments · Fixed by #157
Closed
Tracked by #149

Paq doesn't reinstall a plugin when remote is changed #99

nabaco opened this issue Jan 3, 2022 · 0 comments · Fixed by #157
Labels
bug Something isn't working

Comments

@nabaco
Copy link

nabaco commented Jan 3, 2022

Describe the bug
When switching a plugin from one git remote to another git remote, Paq doesn't recognize that and doesn't upgrade the plugin.

To Reproduce

  1. Install a package: e.g. 'glepnir/lspsaga.nvim'; && PaqInstall
  2. Change the package source: e.g. 'tami5/lspsaga.nvim';
  3. Run PaqSync

Expected behavior
It is expected that Paq will recognize that the package source change, and re-install it. Either by manually changing the git-remote and doing git-pull, or (to be on the safe side) by deleting the original package and installing the new one.

Environment:

  • nvim --version:
    Build type: RelWithDebInfo
    LuaJIT 2.1.0-beta3
    Compilation: /usr/bin/gcc-11 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNVIM_TS_HAS_SET_MATCH_LIMIT -O2 -g -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=always -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DMIN_LOG_LEVEL=3 -I/home/runner/work/neovim/neovim/build/config -I/home/runner/work/neovim/neovim/src -I/home/runner/work/neovim/neovim/.deps/usr/include -I/usr/include -I/home/runner/work/neovim/neovim/build/src/nvim/auto -I/home/runner/work/neovim/neovim/build/include
    Compiled by runner@fv-az65-618
    
    Features: +acl +iconv +tui
    See ":help feature-compile"
    
    system vimrc file: "$VIM/sysinit.vim"
    fall-back for $VIM: "/home/runner/work/neovim/neovim/build/nvim.AppDir/usr/share/nvim"
    
    Run :checkhealth for more info
  • git --version: git version 2.25.1
  • OS:
    DISTRIB_ID=Ubuntu
    DISTRIB_RELEASE=20.04
    DISTRIB_CODENAME=focal
    DISTRIB_DESCRIPTION="Ubuntu 20.04.3 LTS"
    
@nabaco nabaco added the bug Something isn't working label Jan 3, 2022
@savq savq mentioned this issue Aug 3, 2023
15 tasks
@savq savq mentioned this issue Oct 20, 2023
@savq savq closed this as completed in #157 Oct 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant