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

Issue 6730020: Clean up the parsing of approvals for OWNERS checks. (Closed)

Created:
9 years, 9 months ago by Dirk Pranke
Modified:
9 years, 7 months ago
Reviewers:
M-A Ruel
CC:
chromium-reviews
Visibility:
Public.

Description

Clean up the parsing of approvals for OWNERS checks. This fixes bugs 76724. We will now allow approvals from only non-owners to be sufficient if the patch is from an OWNER. Also, this strips out the code for suggesting reviewers during upload completely. I've come to believe that this should be done by gcl and git-cl directly rather than through a presubmit hook, when the change is being initially created. CheckOwners() is now a no-op on upload. (We might need to add a new value to the codereview.settings file instead to indicate if we want this to happen). Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=79339

Patch Set 1 #

Total comments: 4

Patch Set 2 : update w/ review feedback from maruel #

Total comments: 1

Patch Set 3 : use owner_email instead of owner, disallow quoted lines containing 'lgtm' #

Patch Set 4 : lint #

Patch Set 5 : rebase to head #

Unified diffs Side-by-side diffs Delta from patch set Stats (+163 lines, -93 lines) Patch
M presubmit_canned_checks.py View 1 2 3 4 3 chunks +70 lines, -33 lines 0 comments Download
M tests/presubmit_unittest.py View 1 2 3 4 3 chunks +93 lines, -60 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
Dirk Pranke
Marc-Antoine, Among other things, this change restructures the parsing logic for LGTM approval. I've split ...
9 years, 9 months ago (2011-03-24 03:46:38 UTC) #1
M-A Ruel
http://codereview.chromium.org/6730020/diff/1/presubmit_canned_checks.py File presubmit_canned_checks.py (right): http://codereview.chromium.org/6730020/diff/1/presubmit_canned_checks.py#newcode653 presubmit_canned_checks.py:653: return [output_api.PresubmitError('Missing LGTM from someone other than ' nit: ...
9 years, 9 months ago (2011-03-24 15:09:23 UTC) #2
M-A Ruel
And the reason I don't like the lg & looks good is that the check ...
9 years, 9 months ago (2011-03-24 15:10:00 UTC) #3
M-A Ruel
On 2011/03/24 15:10:00, Marc-Antoine Ruel wrote: > And the reason I don't like the lg ...
9 years, 9 months ago (2011-03-24 15:10:16 UTC) #4
Dirk Pranke
On Thu, Mar 24, 2011 at 8:10 AM, <maruel@chromium.org> wrote: > On 2011/03/24 15:10:00, Marc-Antoine ...
9 years, 9 months ago (2011-03-24 19:22:09 UTC) #5
M-A Ruel
On 2011/03/24 19:22:09, dpranke wrote: > On Thu, Mar 24, 2011 at 8:10 AM, <mailto:maruel@chromium.org> ...
9 years, 9 months ago (2011-03-24 19:24:25 UTC) #6
Dirk Pranke
On Thu, Mar 24, 2011 at 8:09 AM, <maruel@chromium.org> wrote: > > http://codereview.chromium.org/6730020/diff/1/presubmit_canned_checks.py > File ...
9 years, 9 months ago (2011-03-24 19:28:01 UTC) #7
M-A Ruel
can you upload a new patchset?
9 years, 9 months ago (2011-03-24 19:46:37 UTC) #8
Dirk Pranke
Yup, just haven't gotten to it yet :) -- Dirk On Thu, Mar 24, 2011 ...
9 years, 9 months ago (2011-03-24 19:49:07 UTC) #9
Dirk Pranke
updated.
9 years, 9 months ago (2011-03-24 20:23:56 UTC) #10
M-A Ruel
lgtm http://codereview.chromium.org/6730020/diff/9/presubmit_canned_checks.py File presubmit_canned_checks.py (right): http://codereview.chromium.org/6730020/diff/9/presubmit_canned_checks.py#newcode693 presubmit_canned_checks.py:693: if 'lgtm' in l: nit: Should we strip ...
9 years, 9 months ago (2011-03-24 20:27:19 UTC) #11
Dirk Pranke
That would be fine. Also, there's gonna be at least one more patch for this; ...
9 years, 9 months ago (2011-03-24 20:30:50 UTC) #12
Dirk Pranke
On Thu, Mar 24, 2011 at 1:30 PM, Dirk Pranke <dpranke@chromium.org> wrote: > That would ...
9 years, 9 months ago (2011-03-24 20:32:36 UTC) #13
Dirk Pranke
On Thu, Mar 24, 2011 at 1:32 PM, Dirk Pranke <dpranke@chromium.org> wrote: > On Thu, ...
9 years, 9 months ago (2011-03-24 20:33:14 UTC) #14
M-A Ruel
9 years, 9 months ago (2011-03-24 22:50:06 UTC) #15
lgtm

Powered by Google App Engine
This is Rietveld 408576698