luarocks / luarocks-site

LuaRocks website and module host
http://luarocks.org
175 stars 38 forks source link

Add package maintainers #173

Open S-S-X opened 3 years ago

S-S-X commented 3 years ago

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 commented 3 years ago

@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.

leafo commented 3 years ago

This is something definitely worth adding:

hishamhm commented 3 years ago

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 commented 1 year ago

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.