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

Issue 118432: Add watchlists to 'gcl upload'... (Closed)

Created:
11 years, 6 months ago by Nirnimesh
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Add watchlists to 'gcl upload' Watchlists provides an opportunity for someone interested in a particular code section to make comments before commit. One can subscribe to watchlists depending on filepath (regular expressions) and she'll automatically get cc-ed to changes when the watchlist is triggered. Additional examples of watchlist_rules in diff repo: http://codereview.chromium.org/118431 http://codereview.chromium.org/119356 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=18209

Patch Set 1 #

Total comments: 15

Patch Set 2 : '' #

Total comments: 20

Patch Set 3 : '' #

Total comments: 4

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+154 lines, -0 lines) Patch
A WATCHLISTS View 1 chunk +24 lines, -0 lines 0 comments Download
M gcl.py View 1 2 3 3 chunks +13 lines, -0 lines 0 comments Download
A watchlists.py View 1 2 1 chunk +117 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
John Grabowski
Glad to see this coming together! http://codereview.chromium.org/118432/diff/1/4 File gcl.py (right): http://codereview.chromium.org/118432/diff/1/4#newcode777 Line 777: # Watchlist ...
11 years, 6 months ago (2009-06-09 17:55:46 UTC) #1
Nirnimesh
Thanks John for your comments. Uploaded new changeset. Marc-Antoine, please suggest if you'd like this ...
11 years, 6 months ago (2009-06-10 17:24:07 UTC) #2
M-A Ruel
General comments; 1) Could you rename watchlist_rules.py to WATCHLIST to be clear it's not actually ...
11 years, 6 months ago (2009-06-10 17:38:21 UTC) #3
John Grabowski
> 2) I think you implementation covers most use case except that it'll fail with ...
11 years, 6 months ago (2009-06-10 18:23:34 UTC) #4
John Grabowski
LGTM but please wait for an LGTM from at least one other person. How about ...
11 years, 6 months ago (2009-06-10 18:36:18 UTC) #5
M-A Ruel
On 2009/06/10 18:23:34, John Grabowski wrote: > > 2) I think you implementation covers most ...
11 years, 6 months ago (2009-06-10 18:37:34 UTC) #6
Randall Spangler
http://codereview.chromium.org/118432/diff/7/10 File gcl.py (right): http://codereview.chromium.org/118432/diff/7/10#newcode791 Line 791: cc_list += ',' + ','.join(watchers) Does this work ...
11 years, 6 months ago (2009-06-10 19:55:49 UTC) #7
Nirnimesh
>> 1) Could you rename watchlist_rules.py to WATCHLIST to be clear it's not actually a ...
11 years, 6 months ago (2009-06-11 19:27:24 UTC) #8
M-A Ruel
lgtm with nits. Without a unit test, there's no guarantee it'll still work in a ...
11 years, 6 months ago (2009-06-11 19:32:20 UTC) #9
Randall Spangler
lgtm
11 years, 6 months ago (2009-06-11 20:55:03 UTC) #10
Nirnimesh
http://codereview.chromium.org/118432/diff/2001/2004 File gcl.py (right): http://codereview.chromium.org/118432/diff/2001/2004#newcode745 Line 745: import watchlists On 2009/06/11 19:32:21, Marc-Antoine Ruel wrote: ...
11 years, 6 months ago (2009-06-11 21:05:14 UTC) #11
M-A Ruel
11 years, 6 months ago (2009-06-11 21:15:17 UTC) #12
On 2009/06/11 21:05:14, Nirnimesh wrote:
> http://codereview.chromium.org/118432/diff/2001/2004
> File gcl.py (right):
> 
> http://codereview.chromium.org/118432/diff/2001/2004#newcode745
> Line 745: import watchlists
> On 2009/06/11 19:32:21, Marc-Antoine Ruel wrote:
> > You can defer the import at line 786
> 
> Done.
> 
> http://codereview.chromium.org/118432/diff/2001/2004#newcode792
> Line 792: cc_list = ','.join(map(lambda x: x, [cc_list] + watchers))
> On 2009/06/11 19:32:21, Marc-Antoine Ruel wrote:
> > Note that filter(None, [cc_list] + watchers) would work too instead of
> map(...).
> 
> Done.

you already have my lgtm

Powered by Google App Engine
This is Rietveld 408576698