Skip to content

Conversation

@mrcjkb
Copy link

@mrcjkb mrcjkb commented Jun 18, 2024

Hey 👋

Summary

This PR is part of a push to get neovim plugins on luarocks.org.

See also:

With luarocks/rocks.nvim, it is the plugin authors' responsibility to declare dependencies - not the user's.
Installing this plugin becomes as simple as :Rocks install leap.nvim.

Things done:

  • Add a workflow that publishes tags to luarocks.org when a tag or release is pushed.
  • Add a release-please workflow that creates release PRs with SemVer versioning based on conventional commits.

The workflows are based on this guide

Notes:

Important

  • On each merge to main, the release-please workflow creates (or updates an existing) release PR.
  • You decide when to merge release PRs.
    Doing so will result in a SemVer tag, a changelog update, and a GitHub release, which will trigger the luarocks workflow.
  • Tagged releases are installed locally and then published to luarocks.org.
    • If you push tags from a local checkout, the workflow is triggered automatically.
    • If you use GitHub releases to create tags, you may need to add a PA token for the workflow to be triggered automatically.
  • Due to a shortcoming in luarocks.org (label doesn't get picked up from rockspec luarocks/luarocks-site#188), the neovim and/or vim 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.

@mrcjkb
Copy link
Author

mrcjkb commented Jul 21, 2024

As there's been no response, I've added this plugin to the NURR for now.
Please ping me if you have any interest in this, so I can delete it from the luarocks.org root manifest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant