repokitteh: support random assignment from teams via /assign-from.#15594
repokitteh: support random assignment from teams via /assign-from.#15594mattklein123 merged 5 commits intoenvoyproxy:mainfrom
Conversation
|
/rk-bless |
|
/assign-from @envoyproxy/api-shepherds |
|
🙀 Error while processing event: |
|
/assign-from @envoyproxy/api-shepherds |
|
🙀 Error while processing event: |
|
/assign-from @envoyproxy/api-shepherds |
|
/assign-from @envoyproxy/api-shepherds |
|
🙀 Error while processing event: |
|
/assign-from @envoyproxy/api-shepherds |
|
🙀 Error while processing event: |
|
/assign-from @envoyproxy/api-shepherds |
|
@envoyproxy/api-shepherds assignee is @mattklein123 |
|
/assign-from @envoyproxy/api-shepherds @envoyproxy/first-pass-reviewers |
|
/assign-from @envoyproxy/api-shepherds |
|
@envoyproxy/api-shepherds assignee is @htuch |
|
CC @envoyproxy/api-shepherds: Your approval is needed for changes made to |
Signed-off-by: Harvey Tuch <htuch@google.com>
|
This is ready for review. @itayd we really need better ways to test RK modules than mucking around in a PR :) |
|
|
||
| def _assign_from(command, assignees): | ||
| lines = [] | ||
| for team_name in command.args: |
There was a problem hiding this comment.
Looks like this will work for multiple teams. Might want to add a documented example of
/assign-from team1 team2
|
🙀 Error while processing event: |
|
/assign-from team1 test/team2 |
|
🙀 Error while processing event: |
|
/assign-from team team2 |
|
team assignee is @None |
|
@itayd is it possible to do better than #15594 (comment), i.e. exploding if we have the wrong name? |
Signed-off-by: Harvey Tuch <htuch@google.com>
|
@htuch try specifying |
|
ping on this - it would be so lovely to wrap it up and land it! |
Signed-off-by: Harvey Tuch <htuch@google.com>
|
/assign-from team team2 |
|
team assignee is @None |
|
/assign-from team team2/foo |
|
team assignee is @None |
|
/assign-from team @envoyproxy/api-shepherds |
|
team assignee is @None |
|
OK, looks like the change Itay suggested does the trick, no errors on the Slack repokitteh bot, I think we can merge this and see how it goes. |
Signed-off-by: Harvey Tuch htuch@google.com