luarocks-site icon indicating copy to clipboard operation
luarocks-site copied to clipboard

Add package maintainers

Open S-S-X opened this issue 3 years ago • 4 comments

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?

S-S-X avatar Feb 23 '21 09:02 S-S-X

@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 avatar Mar 16 '21 15:03 hishamhm

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

leafo avatar Mar 16 '21 18:03 leafo

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)

hishamhm avatar Mar 16 '21 19:03 hishamhm

Looks like a duplicate of https://github.com/luarocks/luarocks-site/issues/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.

teto avatar Aug 23 '22 20:08 teto