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

Issue 348473003: Added support for git cl upload automatic trybot determination. (Closed)

Created:
6 years, 6 months ago by martiniss
Modified:
6 years, 6 months ago
Reviewers:
dpranke, iannucci
CC:
chromium-reviews, Dirk Pranke, cmp-cc_chromium.org, iannucci+depot_tools_chromium.org, ilevy-cc_chromium.org, navabi1, Sergey Berezin
Visibility:
Public.

Description

Added support for git cl upload automatic trybot determination. This is part of my intern project, which is detailed here: "https://docs.google.com/a/google.com/document/d/10bkzag1UUbtESPkEWHYaZtGMEEbCN5Zad72PuoRpwZE/edit#" The idea is to have "git cl upload" annotate the CL description with a flag like "CQ_TRYBOTS=...", which CQ will then look at to determine which trybots to run the the given CL. The CL for the change for CQ is at "https://chromereviews.googleplex.com/51757013/". R=dpranke@google.com, iannucci@google.com BUG=378097 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=280039

Patch Set 1 #

Total comments: 10

Patch Set 2 : Fixed nits, made mocking functions explicit. #

Total comments: 1

Patch Set 3 : Fixed presubmit errors. #

Patch Set 4 : Moved around pylint disable comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+135 lines, -3 lines) Patch
M git_cl.py View 1 4 chunks +20 lines, -2 lines 0 comments Download
M tests/git_cl_test.py View 1 2 3 3 chunks +115 lines, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
martiniss
Hi, This CL modifies "git cl upload" to add a new flag "--auto-bots", which causes ...
6 years, 6 months ago (2014-06-18 22:53:00 UTC) #1
iannucci
looks generally good, just a few nits https://chromiumcodereview.appspot.com/348473003/diff/1/git_cl.py File git_cl.py (right): https://chromiumcodereview.appspot.com/348473003/diff/1/git_cl.py#newcode1582 git_cl.py:1582: if options.auto_bots: ...
6 years, 6 months ago (2014-06-24 23:24:00 UTC) #2
martiniss
Fixed nits. Also, I listed out the mocked out functions. https://chromiumcodereview.appspot.com/348473003/diff/1/git_cl.py File git_cl.py (right): https://chromiumcodereview.appspot.com/348473003/diff/1/git_cl.py#newcode1582 ...
6 years, 6 months ago (2014-06-24 23:55:56 UTC) #3
iannucci
lgtm https://codereview.chromium.org/348473003/diff/20001/git_cl.py File git_cl.py (right): https://codereview.chromium.org/348473003/diff/20001/git_cl.py#newcode1728 git_cl.py:1728: parser.add_option('--auto-bots', default=False, action='store_true', auto-bots, roll out?
6 years, 6 months ago (2014-06-26 17:22:23 UTC) #4
martiniss
The CQ bit was checked by martiniss@chromium.org
6 years, 6 months ago (2014-06-26 17:26:14 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/martiniss@chromium.org/348473003/20001
6 years, 6 months ago (2014-06-26 17:27:27 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-26 17:29:04 UTC) #7
commit-bot: I haz the power
Presubmit check for 348473003-20001 failed and returned exit status 1. Running presubmit commit checks ...
6 years, 6 months ago (2014-06-26 17:29:05 UTC) #8
martiniss
The CQ bit was checked by martiniss@chromium.org
6 years, 6 months ago (2014-06-26 17:34:44 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/martiniss@chromium.org/348473003/40001
6 years, 6 months ago (2014-06-26 17:35:23 UTC) #10
commit-bot: I haz the power
6 years, 6 months ago (2014-06-26 17:38:40 UTC) #11
Message was sent while issue was closed.
Change committed as 280039

Powered by Google App Engine
This is Rietveld 408576698