luarocks / luarocks-site

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

Feature request: maintain rockspec with multiple users on https://luarocks.org/ #127

Open kenhys opened 6 years ago

kenhys commented 6 years ago

Problem

It seems that there is no way to maintain rockspec with multiple users on https://luarocks.org/

Actual

There is one solution to maintain rockspec with multiple users - share one account of https://luarocks.org/ with among them. But I hope to maintain rockspec with multiple users - maintain rockspec by group.

Expected

Allow to join specific group and maintain rockspec with multiple users. (I assume that owner and permitted users to upload rockspec for https://luarocks.org/) When some person can't maintain specific rockspec anymore, others can do if rockspec is maintained by group.

Alloyed commented 3 years ago

yeah; I am finding myself in the same situation, where I would like to my projects that have joint maintainership the ability to upload their own versions of existing packages under my account.

here are some approaches I've been able to pull out of my brain, with more/less effort involved on either the repository maintainer or the luarocks side:

  1. Create API keys, then on the luarocks website restrict these API keys to only function for a given module. requires some work on the luarocks end, but then you can just hand a string to any given maintainer.
  2. New account per module: no feature work, but a bit of a pain. if a package is already listed under a specific account, switching accounts can break links to it.
  3. Write a bot that auto-picks-up rockspecs pushed to the repository and has an API key associated with my account. then anybody with write access or the ability to make a PR can make rockspec changes, but requires somebody to actually write that bot. may be a good way to (misuse) github actions.