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

Issue 461001: Add watchlist support to git-cl. (Closed)

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

Description

Add watchlist support to git-cl. Add test for said support. Update some git-gl tests to work on OSX (hopefully without breaking the tests for Linux).

Patch Set 1 #

Patch Set 2 : >80 #

Patch Set 3 : pushing #

Patch Set 4 : ph's feedback #

Total comments: 1

Patch Set 5 : use a hook instead #

Patch Set 6 : remove more #

Patch Set 7 : new name #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -5 lines) Patch
M README.testing View 1 1 chunk +7 lines, -1 line 0 comments Download
M git-cl View 1 2 3 4 5 6 3 chunks +9 lines, -2 lines 1 comment Download
test/basic.sh View 1 chunk +2 lines, -1 line 0 comments Download
test/push-basic.sh View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 21 (0 generated)
John Grabowski
rietveld seems a little unhappy at the moment; you might have to "view raw patch ...
11 years ago (2009-12-02 01:32:50 UTC) #1
Paweł Hajdan Jr.
I'd prefer that --no-hooks doesn't disable watchlists, and it is possible in this patch, as ...
11 years ago (2009-12-02 07:14:43 UTC) #2
M-A Ruel
I have no opinion, as long as Evan and Mandeep are fine with the patch.
11 years ago (2009-12-02 15:43:04 UTC) #3
John Grabowski
Moved condition so disabling hooks does not disable watchlists; new diffs up. One problem with ...
11 years ago (2009-12-02 18:49:04 UTC) #4
Paweł Hajdan Jr.
After fixing the nit, LGTM! http://codereview.chromium.org/461001/diff/5001/2008 File git-cl (right): http://codereview.chromium.org/461001/diff/5001/2008#newcode58 git-cl:58: self.watchlist_cc = None # ...
11 years ago (2009-12-02 18:57:28 UTC) #5
Evan Martin
Historically I've been against adding this to git-cl since it is used by projects that ...
11 years ago (2009-12-02 19:04:54 UTC) #6
John Grabowski
We want this to be part of the upload stage, not the commit stage, so ...
11 years ago (2009-12-02 20:47:44 UTC) #7
M-A Ruel
On 2009/12/02 20:47:44, John Grabowski wrote: > We want this to be part of the ...
11 years ago (2009-12-02 20:53:17 UTC) #8
John Grabowski
trychange.py is imported directly by gcl. This is very much like how watchlists.py is directly ...
11 years ago (2009-12-02 21:06:36 UTC) #9
chase
On 2009/12/02 20:47:44, John Grabowski wrote: > We want this to be part of the ...
11 years ago (2009-12-02 21:06:40 UTC) #10
John Grabowski
Simplified git-cl change based on feedback; most of the guts moved into a hook. Also ...
11 years ago (2009-12-02 23:28:48 UTC) #11
M-A Ruel
Can you explain the difference between rietveld.cc and branch.master.cc?
11 years ago (2009-12-03 00:27:05 UTC) #12
John Grabowski
rietveld.cc comes from http://src.chromium.org/svn/codereview.settings and is fixed at tree creation time. It does not change. ...
11 years ago (2009-12-03 00:58:15 UTC) #13
M-A Ruel
This change is now fairly trivial so lgtm to me. I guess it should be ...
11 years ago (2009-12-03 01:30:47 UTC) #14
Evan Martin
Doesn't branch.master.* get deleted if you delete your master branch? I don't exactly understand this.
11 years ago (2009-12-03 01:45:13 UTC) #15
John Grabowski
I don't know; I am new to git. Do you have an idea for a ...
11 years ago (2009-12-03 01:49:59 UTC) #16
John Grabowski
Final data name negotiated with Evan.
11 years ago (2009-12-03 02:45:18 UTC) #17
Evan Martin
thanks, all in
11 years ago (2009-12-03 20:15:01 UTC) #18
Mandeep Singh Baines
http://codereview.chromium.org/461001/diff/3005/6004 File git-cl (right): http://codereview.chromium.org/461001/diff/3005/6004#newcode82 git-cl:82: more_cc = self._GetConfig('rietveld.extra_cc', error_ok=True) What is the use case ...
11 years ago (2009-12-04 19:28:16 UTC) #19
John Grabowski
The use case is a value dumped in for cc by the upload hook processing ...
11 years ago (2009-12-04 23:18:18 UTC) #20
chase
11 years ago (2009-12-07 21:50:16 UTC) #21
Haven't had time to troubleshoot but saw this on my vista system the first time
I ran an updated git-cl to upload a patch today:

error: invalid key: rietveld.extra_cc

My guess is some code path is trying to read the config key when it's not yet
been written.  'git config -l' in my git checkout after the git-cl upload
completed doesn't show a rietveld.extra_cc config entry.

Powered by Google App Engine
This is Rietveld 408576698