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 [email protected] (141)  <-- Shows a count of occurrences 
in the commit log
   [2] David Arthur [email protected] (102)
   [3] David Arthur [email protected] (5)
   [4] David Jacot [email protected] (8)
   
   Make a selection: 2
   Reviewers so far: [('David Arthur', '[email protected]', 102)]
   
   Name or email (case insensitive): chia
   
   Possible matches (in order of most recent):
   [1] Chia-Ping Tsai [email protected] (358)
   [2] Chia-Ping Tsai [email protected] (3)
   
   Make a selection: 1
   Reviewers so far: [('David Arthur', '[email protected]', 102), ('Chia-Ping 
Tsai', '[email protected]', 358)]
   
   Name or email (case insensitive): ism
   
   Possible matches (in order of most recent):
   [1] Ismael Juma [email protected] (1514)
   [2] Ismael Juma [email protected] (3)
   [3] Ismael Juma [email protected] (4)
   [4] Ismael Juma [email protected] (19)
   [5] Ismael Juma [email protected] (7)
   
   Make a selection: 1
   Reviewers so far: [('David Arthur', '[email protected]', 102), ('Chia-Ping 
Tsai', '[email protected]', 358), ('Ismael Juma', '[email protected]', 1514)]
   
   Name or email (case insensitive): ^C
   
   Reviewers: David Arthur <[email protected]>, Chia-Ping Tsai 
<[email protected]>, Ismael Juma <[email protected]>
   ```
   
   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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to