Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(23)

Issue 12712002: An interactive tool to help find owners covering current change list. (Closed)

Created:
7 years, 9 months ago by Bei Zhang
Modified:
7 years, 3 months ago
CC:
chromium-reviews, cmp-cc_chromium.org, iannucci+depot_tools_chromium.org
Visibility:
Public.

Description

An interactive tool to help find owners covering current change list. BUG=77248 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=224264

Patch Set 1 : Refactor the script to integrate with git cl #

Patch Set 2 : Remove files that * can review from the process #

Total comments: 6

Patch Set 3 : More docs and minor improvements #

Total comments: 3

Patch Set 4 : Fixes and optimization #

Total comments: 22

Patch Set 5 : Adding unit tests #

Total comments: 16

Patch Set 6 : Fix Deselect #

Total comments: 18

Patch Set 7 : Fix style #

Total comments: 4

Patch Set 8 : Fixes #

Patch Set 9 : Sort owners by relevance #

Patch Set 10 : Fix bugs #

Total comments: 29

Patch Set 11 : Refactor scoring #

Total comments: 18

Patch Set 12 : Reuse scoring #

Total comments: 24

Patch Set 13 : Fix nits #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+678 lines, -21 lines) Patch
M git_cl.py View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +31 lines, -0 lines 0 comments Download
M owners.py View 1 2 3 4 5 6 7 8 9 10 11 11 chunks +42 lines, -21 lines 0 comments Download
A owners_finder.py View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +365 lines, -0 lines 1 comment Download
A tests/owners_finder_test.py View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +240 lines, -0 lines 0 comments Download

Messages

Total messages: 40 (0 generated)
Bei Zhang
Hi Vince, Please review. Thanks, Bei
7 years, 9 months ago (2013-03-08 19:18:43 UTC) #1
Dirk Pranke
You're basically duplicating the work done in the the CheckOwners() check in presubmit_canned_checks.py and the ...
7 years, 9 months ago (2013-03-08 19:32:06 UTC) #2
Bei Zhang
Hi Dirk, Thank you very much for your reply! This is an interactive tool to ...
7 years, 9 months ago (2013-03-08 20:37:21 UTC) #3
Bei Zhang
Hi Dirk, It is integrated into the git cl. Please review. Thanks, Bei
7 years, 9 months ago (2013-03-09 02:14:05 UTC) #4
scheib
lgtm with some suggestions, though I suspect Dirk will have much better review of this ...
7 years, 9 months ago (2013-03-11 17:08:41 UTC) #5
Bei Zhang
https://codereview.chromium.org/12712002/diff/16001/find_owners.py File find_owners.py (right): https://codereview.chromium.org/12712002/diff/16001/find_owners.py#newcode25 find_owners.py:25: self.owners = owners = {} On 2013/03/11 17:08:41, scheib ...
7 years, 9 months ago (2013-03-11 18:12:21 UTC) #6
scheib
https://codereview.chromium.org/12712002/diff/19001/find_owners.py File find_owners.py (right): https://codereview.chromium.org/12712002/diff/19001/find_owners.py#newcode242 find_owners.py:242: inp = raw_input("[yes/no/Defer/pick/files/owners/quit]").lower() It's awkward to respond to the ...
7 years, 9 months ago (2013-03-11 20:06:36 UTC) #7
Bei Zhang
https://codereview.chromium.org/12712002/diff/19001/find_owners.py File find_owners.py (right): https://codereview.chromium.org/12712002/diff/19001/find_owners.py#newcode242 find_owners.py:242: inp = raw_input("[yes/no/Defer/pick/files/owners/quit]").lower() On 2013/03/11 20:06:36, scheib wrote: > ...
7 years, 9 months ago (2013-03-11 20:14:25 UTC) #8
Bei Zhang
https://codereview.chromium.org/12712002/diff/19001/find_owners.py File find_owners.py (right): https://codereview.chromium.org/12712002/diff/19001/find_owners.py#newcode13 find_owners.py:13: import readline # pylint: disable=W0611 Not working on Windows
7 years, 9 months ago (2013-03-12 17:00:10 UTC) #9
Dirk Pranke
Generally speaking, this is much closer to something I'd be happy with. The changes to ...
7 years, 8 months ago (2013-04-03 00:54:16 UTC) #10
Bei Zhang
Thank you so much Dirk! I will refactor the code for unit tests. https://codereview.chromium.org/12712002/diff/40002/find_owners.py File ...
7 years, 8 months ago (2013-04-08 17:33:38 UTC) #11
Bei Zhang
Hi Dirk, Thank you for reviewing! Sorry I changed the name of "find_owners.py" to "owners_finder.py" ...
7 years, 8 months ago (2013-04-24 00:13:07 UTC) #12
M-A Ruel
a few nits https://codereview.chromium.org/12712002/diff/47001/git_cl.py File git_cl.py (right): https://codereview.chromium.org/12712002/diff/47001/git_cl.py#newcode38 git_cl.py:38: another line https://codereview.chromium.org/12712002/diff/47001/git_cl.py#newcode1896 git_cl.py:1896: 2 lines ...
7 years, 8 months ago (2013-04-24 01:32:20 UTC) #13
Bei Zhang
https://codereview.chromium.org/12712002/diff/47001/git_cl.py File git_cl.py (right): https://codereview.chromium.org/12712002/diff/47001/git_cl.py#newcode38 git_cl.py:38: On 2013/04/24 01:32:20, Marc-Antoine Ruel wrote: > another line ...
7 years, 8 months ago (2013-04-24 03:29:02 UTC) #14
M-A Ruel
https://codereview.chromium.org/12712002/diff/62014/git_cl.py File git_cl.py (right): https://codereview.chromium.org/12712002/diff/62014/git_cl.py#newcode37 git_cl.py:37: import glob this one is a stdlib, move it ...
7 years, 8 months ago (2013-04-24 13:04:45 UTC) #15
Bei Zhang
Thanks for the review! https://codereview.chromium.org/12712002/diff/62014/git_cl.py File git_cl.py (right): https://codereview.chromium.org/12712002/diff/62014/git_cl.py#newcode37 git_cl.py:37: import glob On 2013/04/24 13:04:45, ...
7 years, 8 months ago (2013-04-24 16:42:01 UTC) #16
M-A Ruel
https://codereview.chromium.org/12712002/diff/70002/owners.py File owners.py (right): https://codereview.chromium.org/12712002/diff/70002/owners.py#newcode208 owners.py:208: if last_line_is_comment: if you were using comments as a ...
7 years, 8 months ago (2013-04-24 18:43:44 UTC) #17
Bei Zhang
https://codereview.chromium.org/12712002/diff/70002/owners.py File owners.py (right): https://codereview.chromium.org/12712002/diff/70002/owners.py#newcode208 owners.py:208: if last_line_is_comment: I agree that we should use a ...
7 years, 8 months ago (2013-04-24 20:55:44 UTC) #18
scheib
This patch will address https://code.google.com/p/chromium/issues/detail?id=77248 add to BUG
7 years, 8 months ago (2013-04-24 23:39:08 UTC) #19
Bei Zhang
Hi Gentlemen, Just a friendly ping here. Do you have time to review this CL? ...
7 years, 5 months ago (2013-07-22 22:23:42 UTC) #20
M-A Ruel
On 2013/07/22 22:23:42, Bei Zhang wrote: > Hi Gentlemen, > > Just a friendly ping ...
7 years, 5 months ago (2013-07-22 22:39:16 UTC) #21
Dirk Pranke
Hi Bei, I know this has been hanging out in my queue forever :(. I'll ...
7 years, 5 months ago (2013-07-22 22:52:14 UTC) #22
Dirk Pranke
Sorry for the horrendous delay in reviewing this. Here's some initial comments. I haven't sweated ...
7 years, 5 months ago (2013-07-27 00:06:03 UTC) #23
Bei Zhang
https://codereview.chromium.org/12712002/diff/100001/git_cl.py File git_cl.py (right): https://codereview.chromium.org/12712002/diff/100001/git_cl.py#newcode2011 git_cl.py:2011: parser.add_option_group(group) On 2013/07/27 00:06:03, Dirk Pranke wrote: > I ...
7 years, 4 months ago (2013-07-30 05:59:17 UTC) #24
Dirk Pranke
https://codereview.chromium.org/12712002/diff/100001/owners_finder.py File owners_finder.py (right): https://codereview.chromium.org/12712002/diff/100001/owners_finder.py#newcode327 owners_finder.py:327: owner = self.owners_queue[0] On 2013/07/30 05:59:17, Bei Zhang wrote: ...
7 years, 4 months ago (2013-07-30 22:00:59 UTC) #25
Dirk Pranke
Coming back to this patch after a bit ... I'm sorry it's been such a ...
7 years, 4 months ago (2013-08-10 00:22:25 UTC) #26
Bei Zhang
Hi Dirk, I've started working on reuse the scoring algorithm in owners.py, this will get ...
7 years, 4 months ago (2013-08-10 01:19:46 UTC) #27
Bei Zhang
https://codereview.chromium.org/12712002/diff/107001/git_cl.py File git_cl.py (right): https://codereview.chromium.org/12712002/diff/107001/git_cl.py#newcode24 git_cl.py:24: import glob On 2013/07/30 22:01:00, Dirk Pranke wrote: > ...
7 years, 4 months ago (2013-08-12 22:43:12 UTC) #28
scheib
... really looking forward to this patch ... maruel, dpranke, can you take another look?
7 years, 3 months ago (2013-09-16 20:19:12 UTC) #29
M-A Ruel
https://codereview.chromium.org/12712002/diff/126001/git_cl.py File git_cl.py (right): https://codereview.chromium.org/12712002/diff/126001/git_cl.py#newcode2103 git_cl.py:2103: cl = Changelist() Move it above line 2100, so ...
7 years, 3 months ago (2013-09-16 20:33:13 UTC) #30
scheib
maruel, these sounds like we're down to nits, other than these does the patch get ...
7 years, 3 months ago (2013-09-16 21:21:21 UTC) #31
Dirk Pranke
I'm sorry, This keeps falling off my radar. I will try to take another look ...
7 years, 3 months ago (2013-09-16 21:25:29 UTC) #32
Dirk Pranke
This basically looks okay, and I think we're getting close. I think there's one outright ...
7 years, 3 months ago (2013-09-16 23:56:10 UTC) #33
Bei Zhang
https://codereview.chromium.org/12712002/diff/126001/git_cl.py File git_cl.py (right): https://codereview.chromium.org/12712002/diff/126001/git_cl.py#newcode2103 git_cl.py:2103: cl = Changelist() On 2013/09/16 20:33:13, M-A Ruel wrote: ...
7 years, 3 months ago (2013-09-19 23:21:42 UTC) #34
Dirk Pranke
lgtm (finally! :) ). https://codereview.chromium.org/12712002/diff/126001/owners_finder.py File owners_finder.py (right): https://codereview.chromium.org/12712002/diff/126001/owners_finder.py#newcode162 owners_finder.py:162: self.files_to_owners[file_name].add(owner) On 2013/09/19 23:21:43, Bei ...
7 years, 3 months ago (2013-09-20 02:06:39 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ikarienator@chromium.org/12712002/138001
7 years, 3 months ago (2013-09-20 02:09:51 UTC) #36
M-A Ruel
https://codereview.chromium.org/12712002/diff/138001/owners_finder.py File owners_finder.py (right): https://codereview.chromium.org/12712002/diff/138001/owners_finder.py#newcode18 owners_finder.py:18: COLOR_LINK = '\033[4m' Please use colorama.
7 years, 3 months ago (2013-09-20 02:11:30 UTC) #37
commit-bot: I haz the power
Change committed as 224264
7 years, 3 months ago (2013-09-20 02:11:50 UTC) #38
M-A Ruel
On 2013/09/20 02:11:50, I haz the power (commit-bot) wrote: > Change committed as 224264 Please ...
7 years, 3 months ago (2013-09-20 02:12:46 UTC) #39
Dirk Pranke
7 years, 3 months ago (2013-09-20 03:05:12 UTC) #40
Message was sent while issue was closed.
On 2013/09/20 02:12:46, M-A Ruel wrote:
> On 2013/09/20 02:11:50, I haz the power (commit-bot) wrote:
> > Change committed as 224264
> 
> Please do a follow up CL to fix my comment.

Sorry, M-A, I wasn't ignoring your feedback, I was already expecting him to
address this in a follow-up CL as per comment #34.

Powered by Google App Engine
This is Rietveld 408576698