You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2021/07/20 20:59:33 UTC

[GitHub] [kafka] mumrah opened a new pull request #11096: Adding reviewers.py to help tag reviewers in commit message

mumrah opened a new pull request #11096:
URL: https://github.com/apache/kafka/pull/11096


   This is a simple python script which looks at the commit log and lets you easily find names + emails for the "Reviewers" line.
   
   You can search by first name or email. Here's a sample session:
   
   ```
   $ ./reviewers.py 
   Utility to help generate 'Reviewers' string for Pull Requests. Use Ctrl+D or Ctrl+C to exit
   
   Name or email (case insensitive): Dav <-- Just need a few letters
   
   Possible matches (in order of most recent):
   [1] David Jacot djacot@confluent.io (141)  <-- Shows a count of occurrences in the commit log
   [2] David Arthur mumrah@gmail.com (102)
   [3] David Arthur david.arthur@confluent.io (5)
   [4] David Jacot david.jacot@gmail.com (8)
   
   Make a selection: 2
   Reviewers so far: [('David Arthur', 'mumrah@gmail.com', 102)]
   
   Name or email (case insensitive): chia
   
   Possible matches (in order of most recent):
   [1] Chia-Ping Tsai chia7712@gmail.com (358)
   [2] Chia-Ping Tsai chia7712@apache.org (3)
   
   Make a selection: 1
   Reviewers so far: [('David Arthur', 'mumrah@gmail.com', 102), ('Chia-Ping Tsai', 'chia7712@gmail.com', 358)]
   
   Name or email (case insensitive): ism
   
   Possible matches (in order of most recent):
   [1] Ismael Juma ismael@juma.me.uk (1514)
   [2] Ismael Juma ijuma@apache.org (3)
   [3] Ismael Juma mlists@juma.me.uk (4)
   [4] Ismael Juma ismael@confluent.io (19)
   [5] Ismael Juma github@juma.me.uk (7)
   
   Make a selection: 1
   Reviewers so far: [('David Arthur', 'mumrah@gmail.com', 102), ('Chia-Ping Tsai', 'chia7712@gmail.com', 358), ('Ismael Juma', 'ismael@juma.me.uk', 1514)]
   
   Name or email (case insensitive): ^C
   
   Reviewers: David Arthur <mu...@gmail.com>, Chia-Ping Tsai <ch...@gmail.com>, Ismael Juma <is...@juma.me.uk>
   ```
   
   ctrl+d or ctrl+c will exit the program and print out the "Reviewers" line based on the selection.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [kafka] ijuma commented on pull request #11096: Adding reviewers.py to help tag reviewers in commit message

Posted by GitBox <gi...@apache.org>.
ijuma commented on pull request #11096:
URL: https://github.com/apache/kafka/pull/11096#issuecomment-884179925


   Thanks, this is helpful. Any chance we can add a map that deduplicates emails from committers? In this PR, we could add the map and a couple of cases and then we can iterate as needed.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org