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

Issue 6646009: update git-cl for OWNERS file support via .git/hooks/pre-cl-* (Closed)

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

Description

UPDATE: closing this for now to reduce confusion, I'm assuming we'll go the http://codereview.chromium.org/6674014/ route and remove the extra hooks step. update git-cl for changes to hook output needed to support OWNERS files and to propagate --tbr and --host-url (the host+scheme+port of the rietveld server to use) into presubmit_support and the presubmit hooks. This patch propagates all of the data through the .git/hooks/pre-cl-* mechanism. However, it has not addressed how to ensure that the hooks are updated properly so it is not safe to land as-is. We do not need both this patch and http://codereview.chromium.org/6674014/.

Patch Set 1 #

Patch Set 2 : fix parsing of teed output from RunCommand() #

Patch Set 3 : propagate --tbr, --host-url through git-cl #

Patch Set 4 : use OptionParser().get_prog_name() #

Patch Set 5 : rebasing #

Patch Set 6 : fix method parameter name #

Total comments: 3

Patch Set 7 : make ChangeOptions() a new-style object #

Patch Set 8 : add git-cl tests, fix bugs #

Total comments: 2

Patch Set 9 : clean up after running owners-related git-cl tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+328 lines, -94 lines) Patch
M git-cl-upload-hook View 1 2 3 4 5 2 chunks +14 lines, -6 lines 0 comments Download
M git_cl/git_cl.py View 1 2 3 4 5 6 7 12 chunks +128 lines, -37 lines 0 comments Download
A git_cl/test/git-cl-test-hook View 1 2 3 4 5 6 7 1 chunk +60 lines, -0 lines 0 comments Download
A git_cl/test/owners.sh View 1 2 3 4 5 6 7 8 1 chunk +51 lines, -0 lines 0 comments Download
M git_cl_hooks.py View 1 2 3 4 5 6 3 chunks +18 lines, -5 lines 0 comments Download
M presubmit_canned_checks.py View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M presubmit_support.py View 1 2 3 4 5 6 7 8 chunks +21 lines, -20 lines 0 comments Download
M tests/presubmit_unittest.py View 1 2 3 4 15 chunks +35 lines, -25 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Dirk Pranke
This was split off from http://codereview.chromium.org/6623074/ . There are no changes since version that was ...
9 years, 9 months ago (2011-03-09 02:29:14 UTC) #1
Dirk Pranke
Okay, this change now depends on http://codereview.chromium.org/6657028/ to really work, but it should handle the ...
9 years, 9 months ago (2011-03-11 00:03:16 UTC) #2
Dirk Pranke
On 2011/03/11 00:03:16, dpranke wrote: > Okay, this change now depends on http://codereview.chromium.org/6657028/ to > ...
9 years, 9 months ago (2011-03-11 00:22:44 UTC) #3
M-A Ruel
On 2011/03/11 00:22:44, dpranke wrote: > Running the git-cl PRESUBMIT hooks on this warns me ...
9 years, 9 months ago (2011-03-11 00:48:41 UTC) #4
Dirk Pranke
On 2011/03/11 00:48:41, Marc-Antoine Ruel wrote: > On 2011/03/11 00:22:44, dpranke wrote: > > Running ...
9 years, 9 months ago (2011-03-11 01:21:48 UTC) #5
Dirk Pranke
On Thu, Mar 10, 2011 at 5:21 PM, <dpranke@chromium.org> wrote: > On 2011/03/11 00:48:41, Marc-Antoine ...
9 years, 9 months ago (2011-03-11 01:32:54 UTC) #6
Dirk Pranke
Okay, this set of changes is finally read to be landed, if we decide we ...
9 years, 9 months ago (2011-03-11 04:33:46 UTC) #7
Dirk Pranke
9 years, 9 months ago (2011-03-11 21:09:48 UTC) #8
closing this issue for now ... I'll assume we'll go the other route and remove
the extra hooks step.

Powered by Google App Engine
This is Rietveld 408576698