Skip to content
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

Add package maintainers #173

Open
S-S-X opened this issue Feb 23, 2021 · 4 comments
Open

Add package maintainers #173

S-S-X opened this issue Feb 23, 2021 · 4 comments

Comments

@S-S-X
Copy link

S-S-X commented Feb 23, 2021

Is there currently any way to add more package maintainers to luarocks.org site so that other people can manage uploaded modules?

It looks like API keys cannot be used because those seem to always impersonate my personal account and cannot be restricted to selected modules.

Only other option I found was linking more accounts but that seems to be similar to API keys and cannot be restricted to selected modules and instead also used to impersonate my personal account.

If there's currently no way to increase bus factor from 1 / single point of failure could it be considered as a new feature?

@hishamhm
Copy link
Member

@S-S-X No, this is currently not supported. What people have been doing is creating accounts for projects and sharing API keys for those among maintainers.

@hishamhm hishamhm transferred this issue from luarocks/luarocks Mar 16, 2021
@leafo
Copy link
Collaborator

leafo commented Mar 16, 2021

This is something definitely worth adding:

  • There would need to be a way to assign and approve contributors from the web interface
  • The command line tool should be able to specify which account to push a rockspec to

@hishamhm
Copy link
Member

The command line tool should be able to specify which account to push a rockspec to

Would that require separate API keys or could the same API key owned by the user be used to upload to the org account as well? (e.g. an --account flag in the CLI would use the same API key as always but add an ?account=my_org to the query string)

@teto
Copy link

teto commented Aug 23, 2022

Looks like a duplicate of #127.
This issue was raised in several neovim plugins for which I've uploaded the rockspec now. I understand it's a huge task, just wanted to signal this additionnal use case.

mrcjkb added a commit to mrcjkb/nvim-treesitter that referenced this issue Dec 15, 2022
nvim-treesitter is a common dependency across Neovim plugins.
Using luarocks may alleviate the need for users to specify their
plugins' dependencies in their plugin manager.
(e.g., vim-plug or packer).

See also:
https://teto.github.io/posts/2021-09-17-neovim-plugin-luarocks.html

NOTE:
If this is merged, a package on www.luarocks.org will need to be
added, which can be done from only one account.
See luarocks/luarocks-site#173.
mrcjkb added a commit to mrcjkb/nvim-treesitter that referenced this issue Dec 15, 2022
nvim-treesitter is a common dependency across Neovim plugins.
Using luarocks may alleviate the need for users to specify their
plugins' dependencies in their plugin manager.
(e.g., vim-plug or packer).

See also:
https://teto.github.io/posts/2021-09-17-neovim-plugin-luarocks.html

NOTE:
If this is merged, a package on www.luarocks.org will need to be
added, which can be done from only one account.
See luarocks/luarocks-site#173.
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

No branches or pull requests

4 participants