-
Notifications
You must be signed in to change notification settings - Fork 17
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
:Rocks update
doesn't update rocks.toml entries of out-of-sync rocks that didn't get updated
#380
Comments
Hey 👋 Are you able to reproduce this reliably? If so, could you please provide a I was not able to reproduce it on my end. |
# ~/.config/nvim/rocks.toml
[rocks]
[plugins]
"rocks.nvim" = "2.30.0"
[plugins.nvim-treesitter]
git = "nvim-treesitter/nvim-treesitter"
|
🤔 I think I know what your issue is.
To fix this, |
:Rocks update
doesn't update rocks.toml:Rocks update
doesn't update rocks.toml entries of out-of-sync rocks that didn't get updated
Fixes #380. If a rocks.toml entry was set to an older version than a rock that is already up-to-date, then `:Rocks update` wouldn't update it and the next `:Rocks sync` would downgrade the rock.
Fixes #380. If a rocks.toml entry was set to an older version than a rock that is already up-to-date, then `:Rocks update` wouldn't update it and the next `:Rocks sync` would downgrade the rock.
Fixes #380. If a rocks.toml entry was set to an older version than a rock that is already up-to-date, then `:Rocks update` wouldn't update it and the next `:Rocks sync` would downgrade the rock.
A week ago, I installed rocks.nvim (then 2.30.0), which had some serious bug.
Today, I removed
~/.local/share/nvim/rocks/
, re-installed rocks.nvim, but with~/.config/nvim/rocks.toml
unchanged, which has obsolete version info"rocks.nvim" = "2.30.0"
in it.Then I did
:Rocks update
. But"rocks.nvim" = "2.30.0"
stayed there unchanged.Then I did
:Rocks sync
as suggested by rocks.nvim, and rocks.nvim got reverted back to 2.30.0, and the bug reappeared.I would expected that the version info in
rocks.toml
gets updated by:Rocks update
.The text was updated successfully, but these errors were encountered: