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
Is having a history of git hashes with restoring them + locking in scope of the plugin?
This would make it trivial to vendor stuff yourself (copy-paste the repo and do git checkout to last known working version) and reproduce issues like what is possible in nix flake configurations that store the accurate source version in the lockfile.
It looks like nix flakes need still quite a long time to get stable.
I plan to add a lockfile, so you can just add it to your dotfiles, and yes, the intention is so when you install plugins the state of plugins from that lockfile is restored. I don't think it's going to be fundamentally that much different from what you already have in vim-plug or packer.nvim, it's just that it's going to be defined in a different place.
I've considered storing the history of the updates you've made too (if that's what you're asking about), but I think it's going to be better to just leave it for git's reflog to handle. So you have the overall history saved in your dotfiles commit history, and a more granular one locally through git reflog.
But as of right now, checking out commits, branches and tags is not even implemented yet.
Actually I don't even know why I even named it a "lockfile", that's probably a wrong name. The equivalent of npm's package.json, package-lock.json or whatever it's called, where you can specify the exact versions.
Is having a history of git hashes with restoring them + locking in scope of the plugin?
This would make it trivial to vendor stuff yourself (copy-paste the repo and do git checkout to last known working version) and reproduce issues like what is possible in nix flake configurations that store the accurate source version in the lockfile.
It looks like nix flakes need still quite a long time to get stable.
see also nvim-lua/wishlist#10
and
https://github.com/wbthomason/packer.nvim#performing-plugin-management-operations (snapshot and rollback)
The text was updated successfully, but these errors were encountered: