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

Issue 9264065: Add minimal Gerrit support to 'git cl config' and 'git cl upload' (Closed)

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

Description

Add minimal Gerrit support to 'git cl config' and 'git cl upload' This is the bare beginnings of Gerrit support for (non-repo) depot_tools, based on Roland's work. Differnt from http://codereview.chromium.org/8826015/ it read codereview.settings and if it has GERRTI_HOST and GERRIT_PORT, then "git cl config" configured it for gerrit. installs hooks/commit-msg git config gerrit.host $GERRIT_HOST git config gerrit.port $GERRIT_PORT if it has gerrit.host config, "git cl upload" will upload a change to gerrit as "git push --receive-pack=... origin master" it scans description and extract reviewers from R= line. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=120276

Patch Set 1 #

Total comments: 9

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 8

Patch Set 5 : '' #

Total comments: 7

Patch Set 6 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+196 lines, -54 lines) Patch
M git_cl.py View 1 2 3 4 5 8 chunks +124 lines, -54 lines 0 comments Download
M tests/git_cl_test.py View 1 2 3 4 5 2 chunks +72 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
ukai
As evan's comment on 8826015, I add gerrit support in git-cl in this CL. Or ...
8 years, 10 months ago (2012-01-31 10:46:43 UTC) #1
Evan Martin
http://codereview.chromium.org/9264065/diff/1/git_cl.py File git_cl.py (right): http://codereview.chromium.org/9264065/diff/1/git_cl.py#newcode150 git_cl.py:150: self.is_gerrit = False Set this to None here... http://codereview.chromium.org/9264065/diff/1/git_cl.py#newcode271 ...
8 years, 10 months ago (2012-01-31 19:07:56 UTC) #2
Roland McGrath
http://codereview.chromium.org/9264065/diff/1/git_cl.py File git_cl.py (right): http://codereview.chromium.org/9264065/diff/1/git_cl.py#newcode915 git_cl.py:915: git_command.append('--receive-pack=git receive-pack ' + On 2012/01/31 19:07:56, Evan Martin ...
8 years, 10 months ago (2012-01-31 19:24:20 UTC) #3
ukai
http://codereview.chromium.org/9264065/diff/1/git_cl.py File git_cl.py (right): http://codereview.chromium.org/9264065/diff/1/git_cl.py#newcode150 git_cl.py:150: self.is_gerrit = False On 2012/01/31 19:07:56, Evan Martin wrote: ...
8 years, 10 months ago (2012-02-01 05:57:14 UTC) #4
M-A Ruel
personal nit: I prefer to keep the internal logic symmetric between both workflow as much ...
8 years, 10 months ago (2012-02-01 15:50:35 UTC) #5
ukai
http://codereview.chromium.org/9264065/diff/6002/git_cl.py File git_cl.py (right): http://codereview.chromium.org/9264065/diff/6002/git_cl.py#newcode886 git_cl.py:886: # It is probably not worthwhile to support different ...
8 years, 10 months ago (2012-02-02 04:21:59 UTC) #6
M-A Ruel
lgtm with nits, no need to wait for me again, use the CQ. http://codereview.chromium.org/9264065/diff/3005/git_cl.py File ...
8 years, 10 months ago (2012-02-02 14:16:23 UTC) #7
ukai
http://codereview.chromium.org/9264065/diff/3005/git_cl.py File git_cl.py (right): http://codereview.chromium.org/9264065/diff/3005/git_cl.py#newcode906 git_cl.py:906: cc = filter(None, (cl.GetCCList(), cc)) On 2012/02/02 14:16:23, Marc-Antoine ...
8 years, 10 months ago (2012-02-03 03:34:27 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ukai@chromium.org/9264065/10001
8 years, 10 months ago (2012-02-03 03:35:41 UTC) #9
commit-bot: I haz the power
Change committed as 120276
8 years, 10 months ago (2012-02-03 03:41:48 UTC) #10
ukai
8 years, 10 months ago (2012-02-03 04:36:25 UTC) #11
I found a bug with this CL.
Please take a look at http://codereview.chromium.org/9325018/

Powered by Google App Engine
This is Rietveld 408576698