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

Issue 6581030: Add first changes needed for OWNERS file support. (Closed)

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

Description

Add first changes needed for OWNERS file support. This changes adds the first pass of code needed for OWNERS files. In total there should probably be maybe four user-visible changes: * new gcl/git-cl "suggest-reviewers" command * a presubmit hook on upload to automatically add the reviewers * an addition to gcl/git-cl status command that tells you which files still need review/approval. * a presubmit hook on commit to ensure all of the needed reviewers have approved the file. This change implements a core "owners Database" object with the dumbest possible algorithm for determining a covering set of reviewers, and the skeleton of the presubmit hooks. This code will not be used by anything yet, and is also missing unit tests. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=76342

Patch Set 1 #

Total comments: 11

Patch Set 2 : update w/ review feedback, fix unit tests #

Patch Set 3 : lint #

Patch Set 4 : move approvers, suggested reviewers to input_api.change #

Patch Set 5 : minor cleanup, linting #

Patch Set 6 : more linting #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+145 lines, -17 lines) Patch
A owners.py View 1 2 3 4 1 chunk +90 lines, -0 lines 3 comments Download
M presubmit_canned_checks.py View 1 2 3 4 1 chunk +20 lines, -0 lines 0 comments Download
M presubmit_support.py View 1 2 3 3 chunks +10 lines, -0 lines 0 comments Download
M tests/presubmit_unittest.py View 1 2 3 4 5 7 chunks +25 lines, -17 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Dirk Pranke
9 years, 10 months ago (2011-02-24 09:36:19 UTC) #1
M-A Ruel
This change will break tests. http://codereview.chromium.org/6581030/diff/1/owners.py File owners.py (right): http://codereview.chromium.org/6581030/diff/1/owners.py#newcode1 owners.py:1: # Copyright (c) 2010 ...
9 years, 10 months ago (2011-02-24 16:25:57 UTC) #2
Dirk Pranke
On 2011/02/24 16:25:57, Marc-Antoine Ruel wrote: > This change will break tests. > I will ...
9 years, 10 months ago (2011-02-25 01:17:39 UTC) #3
M-A Ruel
On 2011/02/25 01:17:39, dpranke wrote: > On 2011/02/24 16:25:57, Marc-Antoine Ruel wrote: > > http://codereview.chromium.org/6581030/diff/1/owners.py#newcode82 ...
9 years, 10 months ago (2011-02-25 20:41:54 UTC) #4
Dirk Pranke
On 2011/02/25 20:41:54, Marc-Antoine Ruel wrote: > On 2011/02/25 01:17:39, dpranke wrote: > > On ...
9 years, 9 months ago (2011-03-01 00:22:21 UTC) #5
M-A Ruel
lgtm
9 years, 9 months ago (2011-03-01 16:40:56 UTC) #6
M-A Ruel
9 years, 9 months ago (2011-03-01 16:41:07 UTC) #7
On 2011/03/01 16:40:56, Marc-Antoine Ruel wrote:
> lgtm

(err, ignore me)

Powered by Google App Engine
This is Rietveld 408576698