-
-
Notifications
You must be signed in to change notification settings - Fork 245
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
feat: publish tagged releases to luarocks #1050
Conversation
Hey, that's pretty cool! I don't have that much time right away, but I'll look into the blogposts you shared and this PR as soon as I have some free time on my hands :) |
Kind of. By default, luarocks will use a platform-dependent compilation setup, but it is specified in the package's rockspec (so end users shouldn't have to worry about it) - and luarocks will output an appropriate error message if part of the toolchain required to build a dependency is missing.
Take your time. |
Cool, ok, as long as C can be compiled we should be fine :D Is there a way to specify the version for dependencies? We currently don't support the newest release of jsregexp, but only 0.0.5 Also, do we need a rockspec? Or why don't we need one? :D |
Yes, we can specify something like
The luarocks-tag-release action generates a rockspec based on GitHub metadata and the specified inputs. It can still be useful to have a |
Ah, great.
Makes sense, ty! Don't think we'll need that for now |
Done 😄 |
Nice! |
I guess the rockspec-name should be lowercased? |
🤔 That looks like a bug either in luarocks or in the luarocks-tag-release action. Update: yup, it has to be the lower case name of the |
I've pushed a fix. It should work if you rerun the workflow. |
Looks like that did it! Thank you for the PR, and the quick fix :) |
Summary
This PR is part of a push to get (neo)vim plugins on LuaRocks,
so that they can be used with the WIP luarocks-based plugin manager,
rocks.nvim
.Things done:
Notes
On PRs, a test release is installed, but not published.
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)