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

Issue 1777603002: Gerrit git cl upload: record issue id for a branch. (Closed)

Created:
4 years, 9 months ago by tandrii(chromium)
Modified:
4 years, 9 months ago
CC:
chromium-reviews, dpranke+depot_tools_chromium.org, iannucci+depot_tools_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/tools/depot_tools.git@G050
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Gerrit git cl upload: record issue id for a branch. BUG= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=299312

Patch Set 1 #

Patch Set 2 : streaming #

Patch Set 3 : streaming2 #

Patch Set 4 : streaming2 #

Patch Set 5 : mroe #

Patch Set 6 : mroe #

Patch Set 7 : re-parent #

Patch Set 8 : u #

Patch Set 9 : u #

Patch Set 10 : u #

Patch Set 11 : u #

Patch Set 12 : u #

Patch Set 13 : u #

Patch Set 14 : u #

Patch Set 15 : u #

Patch Set 16 : u #

Patch Set 17 : Working. #

Total comments: 2

Patch Set 18 : Fix presubmit + improve error message. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -10 lines) Patch
M git_cl.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 7 chunks +36 lines, -7 lines 2 comments Download
M tests/git_cl_test.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 6 chunks +18 lines, -3 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 23 (10 generated)
tandrii(chromium)
PTAL this finally works. Parsing Gerrit output is ugly, but it should be working.
4 years, 9 months ago (2016-03-15 14:32:41 UTC) #3
tandrii(chromium)
+machenbach@ for EMEA review. https://codereview.chromium.org/1777603002/diff/320001/git_cl.py File git_cl.py (right): https://codereview.chromium.org/1777603002/diff/320001/git_cl.py#newcode2315 git_cl.py:2315: if options.squash: only in squash ...
4 years, 9 months ago (2016-03-15 14:38:56 UTC) #5
tandrii(chromium)
Ah, and forgot to mention, this works on 3 platforms. Proof: https://codereview.chromium.org/1662993002/#ps930001
4 years, 9 months ago (2016-03-15 14:40:22 UTC) #6
Paweł Hajdan Jr.
LGTM
4 years, 9 months ago (2016-03-15 15:06:06 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1777603002/320001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1777603002/320001
4 years, 9 months ago (2016-03-15 15:08:33 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: Depot Tools Presubmit on tryserver.infra (JOB_FAILED, https://build.chromium.org/p/tryserver.infra/builders/Depot%20Tools%20Presubmit/builds/50)
4 years, 9 months ago (2016-03-15 15:13:24 UTC) #11
Bons
lgtm
4 years, 9 months ago (2016-03-15 15:24:11 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1777603002/340001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1777603002/340001
4 years, 9 months ago (2016-03-15 22:16:52 UTC) #14
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-15 22:19:27 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1777603002/340001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1777603002/340001
4 years, 9 months ago (2016-03-16 07:05:51 UTC) #19
commit-bot: I haz the power
Committed patchset #18 (id:340001) as http://src.chromium.org/viewvc/chrome?view=rev&revision=299312
4 years, 9 months ago (2016-03-16 07:08:27 UTC) #21
Michael Achenbach
lgtm https://codereview.chromium.org/1777603002/diff/340001/git_cl.py File git_cl.py (right): https://codereview.chromium.org/1777603002/diff/340001/git_cl.py#newcode2174 git_cl.py:2174: return new_log_desc Where is this used? It's a ...
4 years, 9 months ago (2016-03-16 09:44:29 UTC) #22
tandrii(chromium)
4 years, 9 months ago (2016-03-16 10:09:24 UTC) #23
Message was sent while issue was closed.
https://codereview.chromium.org/1777603002/diff/340001/git_cl.py
File git_cl.py (right):

https://codereview.chromium.org/1777603002/diff/340001/git_cl.py#newcode2174
git_cl.py:2174: return new_log_desc
On 2016/03/16 09:44:28, Michael Achenbach wrote:
> Where is this used? It's a bit odd that the method doesn't return in all
> control-flow cases. Or is this pythonish as the default will be None?

it's not pythonic, but yes default is None. I'll fix this in the next CL, thanks
for comment. That said, that codepath still fails anyway immediately afterwards.

Powered by Google App Engine
This is Rietveld 408576698