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

Issue 1882583003: Gerrit git cl upload: add check for missing credentials. (Closed)

Created:
4 years, 8 months ago by tandrii(chromium)
Modified:
4 years, 8 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@R250
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Gerrit git cl upload: add check for missing credentials. Checks creds before uploading and running presubmit, generalizing the case of Rietveld. If they are missing, suggests a URL to generate them. R=andybons@chromium.org,phajdan.jr@chromium.org BUG=583153 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=299883

Patch Set 1 : rebase #

Patch Set 2 : fianlly, with tests #

Patch Set 3 : rebase #

Patch Set 4 : fix #

Patch Set 5 : pylint + mocks #

Patch Set 6 : and fix pylint + proper mocks #

Total comments: 14

Patch Set 7 : review #

Patch Set 8 : argh,fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+204 lines, -31 lines) Patch
M gerrit_util.py View 1 2 3 4 5 6 7 3 chunks +41 lines, -11 lines 0 comments Download
M git_cl.py View 1 2 3 4 5 7 chunks +55 lines, -9 lines 0 comments Download
M tests/git_cl_test.py View 1 2 3 4 5 10 chunks +108 lines, -11 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 35 (17 generated)
tandrii(chromium)
PTAL
4 years, 8 months ago (2016-04-12 16:56:08 UTC) #3
Bons
lgtm
4 years, 8 months ago (2016-04-12 16:59:52 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1882583003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1882583003/60001
4 years, 8 months ago (2016-04-12 17:26:22 UTC) #6
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/190)
4 years, 8 months ago (2016-04-12 17:31:12 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1882583003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1882583003/100001
4 years, 8 months ago (2016-04-12 17:50:22 UTC) #10
commit-bot: I haz the power
Dry run: 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/192)
4 years, 8 months ago (2016-04-12 17:55:13 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/1882583003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1882583003/120001
4 years, 8 months ago (2016-04-12 19:42:37 UTC) #14
commit-bot: I haz the power
Dry run: 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/196)
4 years, 8 months ago (2016-04-12 19:47:27 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1882583003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1882583003/140001
4 years, 8 months ago (2016-04-13 09:33:28 UTC) #18
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-13 09:35:59 UTC) #20
tandrii(chromium)
+machenbach@ for recent changes. https://codereview.chromium.org/1882583003/diff/140001/git_cl.py File git_cl.py (left): https://codereview.chromium.org/1882583003/diff/140001/git_cl.py#oldcode1788 git_cl.py:1788: # TODO(tandrii): refactor this ugliness ...
4 years, 8 months ago (2016-04-13 09:37:53 UTC) #22
Michael Achenbach
lgtm with suggestions https://codereview.chromium.org/1882583003/diff/140001/gerrit_util.py File gerrit_util.py (right): https://codereview.chromium.org/1882583003/diff/140001/gerrit_util.py#newcode104 gerrit_util.py:104: parts[0] = parts[0] + '-review' I'm ...
4 years, 8 months ago (2016-04-13 10:29:13 UTC) #23
Paweł Hajdan Jr.
LGTM https://codereview.chromium.org/1882583003/diff/140001/gerrit_util.py File gerrit_util.py (right): https://codereview.chromium.org/1882583003/diff/140001/gerrit_util.py#newcode104 gerrit_util.py:104: parts[0] = parts[0] + '-review' On 2016/04/13 at ...
4 years, 8 months ago (2016-04-13 11:41:52 UTC) #24
tandrii(chromium)
https://codereview.chromium.org/1882583003/diff/140001/gerrit_util.py File gerrit_util.py (right): https://codereview.chromium.org/1882583003/diff/140001/gerrit_util.py#newcode104 gerrit_util.py:104: parts[0] = parts[0] + '-review' On 2016/04/13 10:29:13, Michael ...
4 years, 8 months ago (2016-04-13 11:55:59 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1882583003/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1882583003/160001
4 years, 8 months ago (2016-04-13 11:56:06 UTC) #28
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/198)
4 years, 8 months ago (2016-04-13 12:00:50 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1882583003/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1882583003/180001
4 years, 8 months ago (2016-04-13 12:12:28 UTC) #33
commit-bot: I haz the power
4 years, 8 months ago (2016-04-13 12:15:06 UTC) #35
Message was sent while issue was closed.
Committed patchset #8 (id:180001) as
http://src.chromium.org/viewvc/chrome?view=rev&revision=299883

Powered by Google App Engine
This is Rietveld 408576698