Closed mrcjkb closed 3 months ago
Are there any plans to add this, aka Luarocks support?
We have an upstream plugin that uses diffview.nvim
(it's fantastic by the way) and we'd like to be able to install it via LuaRocks to run tests in our CI/CD pipeline, if possible!
As there has been no response, I will add this plugin to the NURR, which means diffview.nvim will be published to luarocks.org under the neorocks organisation account.
@sindrets if you would like to merge this one day, please ping me, and I will remove the package from the luarocks root manifest.
@harrisoncramer because diffview.nvim doesn't have tagged releases, the NURR workflow will only publish an scm
rockspec.
You could add it as a dependency to gitlab.nvim, but luarocks won't be able to resolve the dependency unless installing gitlab.nvim with a dev
version (or using the --dev
flag).
For this reason, I would suggest not publishing a non-scm rockspec to luarocks until all of gitlab.nvim's dependencies have semver releases on luarocks.org.
Summary
This PR is part of a push to get neovim plugins on LuaRocks.
Things done:
The workflows are based on this guide by @vhyrro.
Notes:
main
, therelease-please
workflow creates (or updates an existing) release PR.luarocks
workflow.neovim
and/orvim
labels have to be added to the LuaRocks package manually (after the first upload), for this plugin to show up in https://luarocks.org/labels/neovim or https://luarocks.org/labels/vim, respectively.Adding the API key (screen shot)