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

Issue 6657028: Actually check Rietveld for LGTMs in CheckOwners() (Closed)

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

Description

Actually check Rietveld for LGTMs ... This change requires us to change the previous signature for the CheckOwners() hook to provide the server address and email regexp to use for parsing approvals from Rietveld. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=77891

Patch Set 1 #

Patch Set 2 : roll in the rietveld changes #

Patch Set 3 : minor formatting cleanup #

Total comments: 2

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

Total comments: 2

Patch Set 5 : rename is_tbr to tbr, remove optional email_regexp param from CheckOwners() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -27 lines) Patch
M PRESUBMIT.py View 1 2 3 2 chunks +6 lines, -3 lines 0 comments Download
M owners.py View 1 chunk +1 line, -2 lines 0 comments Download
M presubmit_canned_checks.py View 1 2 3 4 3 chunks +34 lines, -5 lines 0 comments Download
M presubmit_support.py View 1 2 3 4 3 chunks +6 lines, -5 lines 0 comments Download
M tests/presubmit_unittest.py View 1 2 3 4 6 chunks +35 lines, -12 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Dirk Pranke
The presubmit hooks have no direct knowledge of the rietveld server; it appears to normally ...
9 years, 9 months ago (2011-03-10 03:06:17 UTC) #1
Dirk Pranke
Okay, it was too complicated to juggle the changes between the two patches, so I've ...
9 years, 9 months ago (2011-03-10 03:50:23 UTC) #2
M-A Ruel
http://codereview.chromium.org/6657028/diff/4001/PRESUBMIT.py File PRESUBMIT.py (right): http://codereview.chromium.org/6657028/diff/4001/PRESUBMIT.py#newcode43 PRESUBMIT.py:43: # CODEREVIEW_SERVER, I'm not sure there, git-cl and gcl ...
9 years, 9 months ago (2011-03-10 13:37:54 UTC) #3
Dirk Pranke
On Thu, Mar 10, 2011 at 5:37 AM, <maruel@chromium.org> wrote: > > http://codereview.chromium.org/6657028/diff/4001/PRESUBMIT.py > File ...
9 years, 9 months ago (2011-03-10 19:30:56 UTC) #4
Dirk Pranke
9 years, 9 months ago (2011-03-10 22:00:10 UTC) #5
Dirk Pranke
Changes in the latest patch: 1) Move CODEREVIEW_SERVER to InputApi.host_url. 2) Implement first part of ...
9 years, 9 months ago (2011-03-10 22:01:22 UTC) #6
Dirk Pranke
ping
9 years, 9 months ago (2011-03-11 21:06:17 UTC) #7
M-A Ruel
http://codereview.chromium.org/6657028/diff/7001/presubmit_canned_checks.py File presubmit_canned_checks.py (right): http://codereview.chromium.org/6657028/diff/7001/presubmit_canned_checks.py#newcode635 presubmit_canned_checks.py:635: owners_db.email_regexp = input_api.re.compile(email_regexp) If there is: a/PRESUBMIT.py a/b/PRESUBMIT.py both ...
9 years, 9 months ago (2011-03-11 21:19:09 UTC) #8
Dirk Pranke
On Fri, Mar 11, 2011 at 1:19 PM, <maruel@chromium.org> wrote: > > http://codereview.chromium.org/6657028/diff/7001/presubmit_canned_checks.py > File ...
9 years, 9 months ago (2011-03-11 21:26:26 UTC) #9
Dirk Pranke
On Fri, Mar 11, 2011 at 1:26 PM, Dirk Pranke <dpranke@chromium.org> wrote: > On Fri, ...
9 years, 9 months ago (2011-03-11 21:27:53 UTC) #10
M-A Ruel
lgtm Probably not worth on gerrit?
9 years, 9 months ago (2011-03-11 21:35:18 UTC) #11
Dirk Pranke
On Fri, Mar 11, 2011 at 1:35 PM, <maruel@chromium.org> wrote: > lgtm > > Probably ...
9 years, 9 months ago (2011-03-11 21:47:04 UTC) #12
M-A Ruel
Le 11 mars 2011 16:46, Dirk Pranke <dpranke@chromium.org> a écrit : > On Fri, Mar ...
9 years, 9 months ago (2011-03-11 22:29:04 UTC) #13
anush
9 years, 9 months ago (2011-03-11 22:59:52 UTC) #14
On Gerrit the owners file is enforced via a "+2" code review. Only certain
ACL groups have a "+2" and can approve the change. This is configurable on a
per repo basis.

On Fri, Mar 11, 2011 at 2:28 PM, Marc-Antoine Ruel <maruel@chromium.org>wrote:

> Le 11 mars 2011 16:46, Dirk Pranke <dpranke@chromium.org> a écrit :
>
> On Fri, Mar 11, 2011 at 1:35 PM,  <maruel@chromium.org> wrote:
>> > lgtm
>> >
>> > Probably not worth on gerrit?
>>
>> I didn't follow you. You mean some aspect of this isn't worth
>> enforcing on gerrit? Like ensuring that approvers are from certain
>> domains? Does Gerrit have other ways to enforce who is approving the
>> changes (I don't know much about it).
>>
>
> Yes, there's administration controls on gerrit.
>
> M-A
>

Powered by Google App Engine
This is Rietveld 408576698