mattmc3 / antidote

https://getantidote.github.io - the cure to slow zsh plugin management
MIT License
855 stars 21 forks source link

Are there plans for adding support for lockfile? #171

Open WilliamHsieh opened 8 months ago

WilliamHsieh commented 8 months ago

It would be beneficial to have the capability to verify the version of installed plugins and to update them as required.

mattmc3 commented 8 months ago

Can you describe more of what you're looking for here? Are you asking for the ability to pin a specific commit of a plugin like this or something else? Is there an example of a plugin where this feature would be beneficial?

WilliamHsieh commented 8 months ago

Are you asking for the ability to pin a specific commit of a plugin https://github.com/mattmc3/antidote/issues/1

Yes.

I recently configured a new machine using my dotfiles. While the process went smoothly, I encountered a minor hiccup - some plugins broke after cloning the latest versions.

It would be a valuable enhancement if the plugin manager could incorporate lockfile support. This feature would allow users to consistently checkout a specific revision, making sure that all plugins are always working as expected.

I've been in the process of updating my zsh setup, and I stumbled upon this fantastic project! Thank you for your dedicated efforts in maintaining such an exceptional piece of software.

Additional context: a neovim plugin manager with lockfile support: https://github.com/folke/lazy.nvim

jathek commented 6 months ago

I was going to request something similar - a "check for updates but don't download" command, so I could review any changes before I pulled new versions.

mattmc3 commented 6 months ago

I like this idea. Something like antidote update --dry-run?