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

Issue 3390013: Reuse gcl.py's code review settings when running [gcl try], as gcl is ... (Closed)

Created:
10 years, 3 months ago by Jói
Modified:
9 years, 7 months ago
Reviewers:
M-A Ruel
CC:
chromium-reviews, M-A Ruel
Visibility:
Public.

Description

Reuse gcl.py's code review settings when running [gcl try], as gcl is smarter about finding the most appropriate settings file. Before this change, I inadvertently did a [gcl try] on a chrome-internal change (it was a trivial change and not really secret, so no harm done). After this change, that won't be possible. Also, change breakpad to not upload the exception that is thrown when the user fails to provide correct log-on credentials. TEST=none BUG=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=61738

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 6

Patch Set 3 : '' #

Total comments: 10

Patch Set 4 : '' #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -24 lines) Patch
M gcl.py View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M git-try View 3 2 chunks +12 lines, -7 lines 0 comments Download
M tests/trychange_unittest.py View 1 2 3 1 chunk +6 lines, -6 lines 0 comments Download
M trychange.py View 1 2 3 2 chunks +23 lines, -11 lines 4 comments Download

Messages

Total messages: 10 (0 generated)
Jói
10 years, 3 months ago (2010-09-17 16:11:02 UTC) #1
Jói
Did you want me to change the approach based on what you mentioned at lunch ...
10 years, 3 months ago (2010-09-17 21:55:16 UTC) #2
M-A Ruel
http://codereview.chromium.org/3390013/diff/3001/4001 File breakpad.py (right): http://codereview.chromium.org/3390013/diff/3001/4001#newcode60 breakpad.py:60: isinstance(last_value, third_party.upload.ClientLoginError)): It's be saner to just catch it ...
10 years, 3 months ago (2010-09-17 22:29:02 UTC) #3
Jói
Finally getting back to this thing after being buried alive in a flood of issues. ...
10 years, 2 months ago (2010-10-06 15:56:33 UTC) #4
M-A Ruel
I'm fine with the design, just a few nits. http://codereview.chromium.org/3390013/diff/10001/11001 File gcl.py (right): http://codereview.chromium.org/3390013/diff/10001/11001#newcode873 gcl.py:873: ...
10 years, 2 months ago (2010-10-06 16:42:21 UTC) #5
Jói
Here's a new version. I've tested manually using gcl and the unit tests pass, but ...
10 years, 2 months ago (2010-10-06 18:52:23 UTC) #6
Jói
I found a rudimentary way to test my changes using git-try as well, seems to ...
10 years, 2 months ago (2010-10-06 18:59:40 UTC) #7
Jói
ping On Wed, Oct 6, 2010 at 2:59 PM, <joi@chromium.org> wrote: > I found a ...
10 years, 2 months ago (2010-10-06 22:09:23 UTC) #8
M-A Ruel
lgtm with nits http://codereview.chromium.org/3390013/diff/14002/18004 File trychange.py (right): http://codereview.chromium.org/3390013/diff/14002/18004#newcode37 trychange.py:37: GclGetCodeReviewSetting = None I'd prefer gcl ...
10 years, 2 months ago (2010-10-06 23:43:18 UTC) #9
Jói
10 years, 2 months ago (2010-10-06 23:54:03 UTC) #10
Thanks. Nits fixed and committed as discussed.

http://codereview.chromium.org/3390013/diff/14002/18004
File trychange.py (right):

http://codereview.chromium.org/3390013/diff/14002/18004#newcode37
trychange.py:37: GclGetCodeReviewSetting = None
On 2010/10/06 23:43:18, Marc-Antoine Ruel wrote:
> I'd prefer gcl = None and use if gcl: return gcl.GetCodeReviewSetting(key)
> around line 119.

Done.

http://codereview.chromium.org/3390013/diff/14002/18004#newcode41
trychange.py:41: except:
On 2010/10/06 23:43:18, Marc-Antoine Ruel wrote:
> except ImportError:

Done.

Powered by Google App Engine
This is Rietveld 408576698