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

Issue 1579423004: git cl try: load trybot list from cq.cfg by default. (Closed)

Created:
4 years, 11 months ago by tandrii(chromium)
Modified:
4 years, 11 months ago
CC:
chromium-reviews, dpranke+depot_tools_chromium.org, iannucci+depot_tools_chromium.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

git cl try: load trybot list from cq.cfg by default. This allows "git cl try" to just work for projects without any PRESUBMIT but with cq.cfg in default location (infra/config/cq.cfg). This also ships all presubmit bots, since these usually fail LGTM checks anyway. BUG=522909 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=298251

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -14 lines) Patch
M commit_queue.py View 2 chunks +19 lines, -14 lines 0 comments Download
M git_cl.py View 2 chunks +19 lines, -0 lines 4 comments Download

Messages

Total messages: 13 (5 generated)
tandrii(chromium)
PTAL turns out I wrote it when I filed a bug, but for some reason ...
4 years, 11 months ago (2016-01-13 14:50:05 UTC) #3
Sergiy Byelozyorov
lgtm https://codereview.chromium.org/1579423004/diff/1/git_cl.py File git_cl.py (right): https://codereview.chromium.org/1579423004/diff/1/git_cl.py#newcode45 git_cl.py:45: import commit_queue not sure it's a good idea. ...
4 years, 11 months ago (2016-01-13 14:53:18 UTC) #4
tandrii(chromium)
https://codereview.chromium.org/1579423004/diff/1/git_cl.py File git_cl.py (right): https://codereview.chromium.org/1579423004/diff/1/git_cl.py#newcode45 git_cl.py:45: import commit_queue On 2016/01/13 14:53:18, Sergiy Byelozyorov wrote: > ...
4 years, 11 months ago (2016-01-13 15:16:36 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1579423004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1579423004/1
4 years, 11 months ago (2016-01-13 15:16:48 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1) as http://src.chromium.org/viewvc/chrome?view=rev&revision=298251
4 years, 11 months ago (2016-01-13 15:18:45 UTC) #9
smut
https://codereview.chromium.org/1579423004/diff/1/git_cl.py File git_cl.py (right): https://codereview.chromium.org/1579423004/diff/1/git_cl.py#newcode3215 git_cl.py:3215: 'infra', 'config', 'cq.cfg') You can't hard code this path. ...
4 years, 11 months ago (2016-01-25 21:16:39 UTC) #11
Michael Achenbach
Note, V8 does by now depend on this patch. If it'd just get reverted, our ...
4 years, 11 months ago (2016-01-26 08:10:52 UTC) #12
tandrii(chromium)
4 years, 11 months ago (2016-01-26 11:41:33 UTC) #13
Message was sent while issue was closed.
https://codereview.chromium.org/1579423004/diff/1/git_cl.py
File git_cl.py (right):

https://codereview.chromium.org/1579423004/diff/1/git_cl.py#newcode3215
git_cl.py:3215: 'infra', 'config', 'cq.cfg')
On 2016/01/25 21:16:38, smut wrote:
> You can't hard code this path. Downstream iOS's cq.cfg is located at
> ios_internal/infra/cq.cfg. With this change +
> https://codereview.chromium.org/1620343003, our "git cl try" doesn't fetch try
> bots from the right place at all anymore.

what do you mean I can't? I sure can and just did :)
kidding aside, I was aware of other projects, but they are a minority. For most
projects, particularly news ones, this CL is a great default behavior which does
not require action from project owners.

I don't have a solution for other projects with non-standard infra config
location. Maybe going to luci-config and loading the CQ config from there? I do
accept patches though :)

Powered by Google App Engine
This is Rietveld 408576698