RESOLVED FIXED 48088
Add --suggest-reviewers option to upload to auto-suggest reviewers for your patch
https://bugs.webkit.org/show_bug.cgi?id=48088
Summary Add --suggest-reviewers option to upload to auto-suggest reviewers for your p...
Eric Seidel (no email)
Reported 2010-10-21 12:43:49 PDT
Add --suggest-reviewers option to upload to auto-suggest reviewers for your patch
Attachments
Patch (10.13 KB, patch)
2010-10-21 12:51 PDT, Eric Seidel (no email)
no flags
Patch (15.58 KB, patch)
2010-10-21 14:06 PDT, Eric Seidel (no email)
no flags
Patch (16.16 KB, patch)
2010-10-21 14:15 PDT, Eric Seidel (no email)
no flags
Eric Seidel (no email)
Comment 1 2010-10-21 12:51:35 PDT
Eric Seidel (no email)
Comment 2 2010-10-21 12:52:37 PDT
For example, when uploading this patch, this is the output: % webkit-patch upload --suggest-reviewers --request-commit Parsing ChangeLog: /Projects/WebKit/WebKitTools/ChangeLog Running check-webkit-style Total errors found: 0 in 8 files Using editor in the CHANGE_LOG_EDIT_APPLICATION environment variable. Please quit the editor application when done editing. Was that diff correct? [Y/n]: Fetching: https://bugs.webkit.org/show_bug.cgi?id=48088&ctype=xml The following reviewers have recently modified files in your patch: Adam Barth Chris Jerdonek Daniel Bates David Levin Eric Seidel Ojan Vafai Would you like to CC them? [Y/n]: Reading Keychain for bugs.webkit.org account and password. Click "Allow" to continue... Logging in as eric@webkit.org... Adding ['abarth@webkit.org', 'cjerdonek@webkit.org', 'dbates@webkit.org', 'levin@chromium.org', 'eric@webkit.org', 'ojan@chromium.org'] to the CC list for bug 48088 Adding patch "Patch" to https://bugs.webkit.org/show_bug.cgi?id=48088
Eric Seidel (no email)
Comment 3 2010-10-21 12:53:14 PDT
We'll definitely want to refine this further, but as-is this is *hugely* useful to me when uploading patches. I hope it's useful to others.
Adam Barth
Comment 4 2010-10-21 14:02:49 PDT
Comment on attachment 71475 [details] Patch Donde esta la stepe?
Eric Seidel (no email)
Comment 5 2010-10-21 14:06:05 PDT
Adam Barth
Comment 6 2010-10-21 14:07:55 PDT
Comment on attachment 71488 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=71488&action=review Also, it should work for post! > WebKitTools/Scripts/webkitpy/tool/steps/suggestreviewers.py:45 > + reviewers = self._tool.checkout().suggested_reviewers(self._options.git_commit) You're not passing in the set of changed_files. > WebKitTools/Scripts/webkitpy/tool/steps/suggestreviewers.py:50 > + reviewer_emails = [reviewer.bugzilla_email() for reviewer in reviewers] You can use map for this if you like.
Eric Seidel (no email)
Comment 7 2010-10-21 14:15:05 PDT
WebKit Commit Bot
Comment 8 2010-10-21 16:00:56 PDT
Comment on attachment 71490 [details] Patch Clearing flags on attachment: 71490 Committed r70274: <http://trac.webkit.org/changeset/70274>
WebKit Commit Bot
Comment 9 2010-10-21 16:01:02 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.