This repository has been archived by the owner on Apr 16, 2024. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR addresses #183 by pinning all packer dependencies to the current latest version from github.
I also made a script to automate this process which works by running
./update_dependencies.sh
from withindoom-nvim/contribute/
. It uses a mixture of grep and perl to find the dependencies,curl
andjq
to query the latest versions using the github API andsed
to modifylua/doom/modules/init.lua
.There are a couple of big caveats and I think this should be re-written in LUA but it does 95% of the work for you for now which is good.
Caveats
commit = pin_commit
has to be on the line after the repository nameFuture Solution
I don't think it's worth fixing these issues just yet because it does automate most of the work for you and it'd be good to get the release out. I think the right way to do this is in lua, I could use treesitter queries to find repositories that need to be updated, fetch the latest version using
git fetch
and then push the changes into a quickfix buffer. I think this would be good to incorporate into acontributor
module that includes the work for the doom-nvim-contrib docker image.