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

Issue 14383021: Break config_default into master_site_configs. (Closed)

Created:
7 years, 8 months ago by agable
Modified:
7 years, 2 months ago
CC:
chromium-reviews, xusydoc+watch_chromium.org, cmp-cc_chromium.org, ilevy+cc_chromium.org, kjellander+cc_chromium.org
Visibility:
Public.

Description

Break config_default into master_site_configs. This CL takes data out of build/site_config/config_default and puts it in a bunch of master-specific master_site_config.py files. This allows for greater modularity and ease of development. We leave config_default containing just a collection of shared base classes that master_site_configs can import and inherit from. This CL also contains minor edits to other files (the presubmit tests and a couple factories) to accomodate this change. TEST=masters_test, masters_cfg_test, and mastermap all pass and give sane results both with and without a build_internal checkout. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=201052

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fixup for Skia msc. #

Patch Set 3 : Fixup for Gatekeeper and Experimental #

Patch Set 4 : Removing Distributed. #

Patch Set 5 : Rebase #

Total comments: 8

Patch Set 6 : Resolve all minor diffs. #

Patch Set 7 : Restore Distributed. #

Patch Set 8 : Re-remove '.unused' masters. #

Patch Set 9 : config -> config_bootstrap for masters_test import #

Unified diffs Side-by-side diffs Delta from patch set Stats (+957 lines, -616 lines) Patch
M masters/master.chromium.chrome/master.cfg View 1 chunk +2 lines, -1 line 0 comments Download
A masters/master.chromium.chrome/master_site_config.py View 1 2 3 4 5 6 7 8 1 chunk +13 lines, -0 lines 0 comments Download
M masters/master.chromium.chromebot/master.cfg View 1 chunk +2 lines, -1 line 0 comments Download
A masters/master.chromium.chromebot/master_site_config.py View 1 2 3 4 5 6 7 8 1 chunk +13 lines, -0 lines 0 comments Download
M masters/master.chromium.chromedriver/master.cfg View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
A masters/master.chromium.chromedriver/master_site_config.py View 1 2 3 4 5 6 7 8 1 chunk +13 lines, -0 lines 0 comments Download
M masters/master.chromium.chromiumos/master.cfg View 2 chunks +3 lines, -5 lines 0 comments Download
M masters/master.chromium.chromiumos/master_gatekeeper_cfg.py View 1 2 3 4 5 2 chunks +4 lines, -3 lines 0 comments Download
A masters/master.chromium.chromiumos/master_site_config.py View 1 2 3 4 5 6 7 8 1 chunk +13 lines, -0 lines 0 comments Download
M masters/master.chromium.endure/master.cfg View 2 chunks +2 lines, -1 line 0 comments Download
A masters/master.chromium.endure/master_site_config.py View 1 2 3 4 5 6 7 8 1 chunk +13 lines, -0 lines 0 comments Download
M masters/master.chromium.flaky/master.cfg View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
A masters/master.chromium.flaky/master_site_config.py View 1 2 3 4 5 6 7 8 1 chunk +13 lines, -0 lines 0 comments Download
M masters/master.chromium.fyi/master.cfg View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
A masters/master.chromium.fyi/master_site_config.py View 1 2 3 4 5 6 7 8 1 chunk +13 lines, -0 lines 0 comments Download
M masters/master.chromium.gatekeeper/master.cfg View 1 chunk +2 lines, -1 line 0 comments Download
A masters/master.chromium.gatekeeper/master_site_config.py View 1 2 3 4 5 6 7 8 1 chunk +14 lines, -0 lines 0 comments Download
M masters/master.chromium.git/master.cfg View 1 chunk +2 lines, -1 line 0 comments Download
A masters/master.chromium.git/master_site_config.py View 1 2 3 4 5 6 7 8 1 chunk +13 lines, -0 lines 0 comments Download
M masters/master.chromium.gpu.fyi/master.cfg View 1 chunk +2 lines, -1 line 0 comments Download
A masters/master.chromium.gpu.fyi/master_site_config.py View 1 2 3 4 5 6 7 8 1 chunk +13 lines, -0 lines 0 comments Download
M masters/master.chromium.gpu/master.cfg View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
A masters/master.chromium.gpu/master_site_config.py View 1 2 3 4 5 6 7 8 1 chunk +13 lines, -0 lines 0 comments Download
M masters/master.chromium.linux/master_site_config.py View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -10 lines 0 comments Download
M masters/master.chromium.lkgr/master.cfg View 1 chunk +2 lines, -1 line 0 comments Download
M masters/master.chromium.lkgr/master_lkgr_cfg.py View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
A masters/master.chromium.lkgr/master_site_config.py View 1 2 3 4 5 6 7 8 1 chunk +13 lines, -0 lines 0 comments Download
M masters/master.chromium.mac/master_site_config.py View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -10 lines 0 comments Download
M masters/master.chromium.memory.fyi/master.cfg View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
A masters/master.chromium.memory.fyi/master_site_config.py View 1 2 3 4 5 6 7 8 1 chunk +13 lines, -0 lines 0 comments Download
M masters/master.chromium.memory/master.cfg View 1 chunk +2 lines, -1 line 0 comments Download
A masters/master.chromium.memory/master_site_config.py View 1 2 3 4 5 6 7 8 1 chunk +13 lines, -0 lines 0 comments Download
M masters/master.chromium.perf/master.cfg View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
A masters/master.chromium.perf/master_site_config.py View 1 2 3 4 5 6 7 8 1 chunk +13 lines, -0 lines 0 comments Download
M masters/master.chromium.perf_av/master.cfg View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
A masters/master.chromium.perf_av/master_site_config.py View 1 2 3 4 5 6 7 8 1 chunk +13 lines, -0 lines 0 comments Download
A masters/master.chromium.pyauto/master_site_config.py View 1 2 3 4 5 6 7 8 1 chunk +13 lines, -0 lines 0 comments Download
M masters/master.chromium.swarm/master.cfg View 1 chunk +2 lines, -1 line 0 comments Download
A masters/master.chromium.swarm/master_site_config.py View 1 2 3 4 5 6 7 8 1 chunk +13 lines, -0 lines 0 comments Download
M masters/master.chromium.webkit/master.cfg View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M masters/master.chromium.webkit/master_android_contentshell_latest_cfg.py View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M masters/master.chromium.webkit/master_android_webkit_latest_cfg.py View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M masters/master.chromium.webkit/master_linux_contentshell_latest_cfg.py View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M masters/master.chromium.webkit/master_linux_webkit_latest_cfg.py View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M masters/master.chromium.webkit/master_linux_webkit_pinned_cfg.py View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M masters/master.chromium.webkit/master_mac_contentshell_latest_cfg.py View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M masters/master.chromium.webkit/master_mac_webkit_latest_cfg.py View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M masters/master.chromium.webkit/master_mac_webkit_pinned_cfg.py View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
A masters/master.chromium.webkit/master_site_config.py View 1 2 3 4 5 6 7 8 1 chunk +15 lines, -0 lines 0 comments Download
M masters/master.chromium.webkit/master_win_contentshell_latest_cfg.py View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M masters/master.chromium.webkit/master_win_webkit_latest_cfg.py View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M masters/master.chromium.webkit/master_win_webkit_pinned_cfg.py View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M masters/master.chromium.webrtc.fyi/master.cfg View 1 chunk +2 lines, -1 line 0 comments Download
A masters/master.chromium.webrtc.fyi/master_site_config.py View 1 2 3 4 5 6 7 8 1 chunk +17 lines, -0 lines 0 comments Download
M masters/master.chromium.webrtc/master.cfg View 1 chunk +2 lines, -1 line 0 comments Download
A masters/master.chromium.webrtc/master_site_config.py View 1 2 3 4 5 6 7 8 1 chunk +17 lines, -0 lines 0 comments Download
M masters/master.chromium.win/master_site_config.py View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -10 lines 0 comments Download
M masters/master.chromium/master.cfg View 1 chunk +2 lines, -1 line 0 comments Download
M masters/master.chromium/master_full_cfg.py View 1 chunk +2 lines, -2 lines 0 comments Download
A masters/master.chromium/master_site_config.py View 1 2 3 4 5 6 7 8 1 chunk +13 lines, -0 lines 0 comments Download
M masters/master.chromiumos/master.cfg View 1 chunk +2 lines, -1 line 0 comments Download
A masters/master.chromiumos/master_site_config.py View 1 2 3 4 5 6 7 8 1 chunk +13 lines, -0 lines 0 comments Download
M masters/master.client.dart.fyi/master.cfg View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
A masters/master.client.dart.fyi/master_site_config.py View 1 2 3 4 5 6 7 8 1 chunk +16 lines, -0 lines 0 comments Download
M masters/master.client.dart/master.cfg View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
A masters/master.client.dart/master_site_config.py View 1 2 3 4 5 6 7 8 1 chunk +20 lines, -0 lines 0 comments Download
M masters/master.client.drmemory/master.cfg View 1 chunk +2 lines, -1 line 0 comments Download
A masters/master.client.drmemory/master_site_config.py View 1 2 3 4 5 6 7 8 1 chunk +13 lines, -0 lines 0 comments Download
M masters/master.client.dynamorio/master.cfg View 1 chunk +2 lines, -1 line 0 comments Download
A masters/master.client.dynamorio/master_site_config.py View 1 2 3 4 5 6 7 8 1 chunk +13 lines, -0 lines 0 comments Download
M masters/master.client.libjingle/master.cfg View 1 chunk +2 lines, -1 line 0 comments Download
A masters/master.client.libjingle/master_site_config.py View 1 2 3 4 5 6 7 8 1 chunk +16 lines, -0 lines 0 comments Download
M masters/master.client.libyuv/master.cfg View 1 chunk +2 lines, -1 line 0 comments Download
A masters/master.client.libyuv/master_site_config.py View 1 2 3 4 5 6 7 8 1 chunk +16 lines, -0 lines 0 comments Download
M masters/master.client.nacl.chrome/master.cfg View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
A masters/master.client.nacl.chrome/master_site_config.py View 1 2 3 4 5 6 7 8 1 chunk +13 lines, -0 lines 0 comments Download
M masters/master.client.nacl.llvm/master.cfg View 1 chunk +2 lines, -1 line 0 comments Download
A masters/master.client.nacl.llvm/master_site_config.py View 1 2 3 4 5 6 7 8 1 chunk +13 lines, -0 lines 0 comments Download
M masters/master.client.nacl.ports/master.cfg View 1 chunk +2 lines, -1 line 0 comments Download
A masters/master.client.nacl.ports/master_site_config.py View 1 2 3 4 5 6 7 8 1 chunk +17 lines, -0 lines 0 comments Download
M masters/master.client.nacl.ragel/master.cfg View 1 chunk +2 lines, -1 line 0 comments Download
A masters/master.client.nacl.ragel/master_site_config.py View 1 2 3 4 5 6 7 8 1 chunk +13 lines, -0 lines 0 comments Download
M masters/master.client.nacl.sdk.addin/master.cfg View 1 chunk +2 lines, -1 line 0 comments Download
A masters/master.client.nacl.sdk.addin/master_site_config.py View 1 2 3 4 5 6 7 8 1 chunk +13 lines, -0 lines 0 comments Download
M masters/master.client.nacl.sdk.mono/master.cfg View 1 chunk +2 lines, -1 line 0 comments Download
A masters/master.client.nacl.sdk.mono/master_site_config.py View 1 2 3 4 5 6 7 8 1 chunk +13 lines, -0 lines 0 comments Download
M masters/master.client.nacl.sdk/master.cfg View 1 chunk +2 lines, -1 line 0 comments Download
A masters/master.client.nacl.sdk/master_site_config.py View 1 2 3 4 5 6 7 8 1 chunk +17 lines, -0 lines 0 comments Download
M masters/master.client.nacl.toolchain/master.cfg View 1 chunk +2 lines, -1 line 0 comments Download
A masters/master.client.nacl.toolchain/master_site_config.py View 1 2 3 4 5 6 7 8 1 chunk +13 lines, -0 lines 0 comments Download
M masters/master.client.nacl/master.cfg View 1 chunk +2 lines, -1 line 0 comments Download
A masters/master.client.nacl/master_site_config.py View 1 2 3 4 5 6 7 8 1 chunk +13 lines, -0 lines 0 comments Download
M masters/master.client.omaha/master.cfg View 1 chunk +2 lines, -1 line 0 comments Download
A masters/master.client.omaha/master_site_config.py View 1 2 3 4 5 6 7 8 1 chunk +14 lines, -0 lines 0 comments Download
M masters/master.client.pagespeed/master.cfg View 1 chunk +2 lines, -1 line 0 comments Download
A masters/master.client.pagespeed/master_site_config.py View 1 2 3 4 5 6 7 8 1 chunk +20 lines, -0 lines 0 comments Download
M masters/master.client.sfntly/master.cfg View 3 chunks +3 lines, -2 lines 0 comments Download
A masters/master.client.sfntly/master_site_config.py View 1 2 3 4 5 6 7 8 1 chunk +14 lines, -0 lines 0 comments Download
M masters/master.client.skia/master.cfg View 1 chunk +2 lines, -1 line 0 comments Download
A masters/master.client.skia/master_site_config.py View 1 2 3 4 5 6 7 8 1 chunk +21 lines, -0 lines 0 comments Download
M masters/master.client.syzygy/master_site_config.py View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -6 lines 0 comments Download
M masters/master.client.toolkit/master_site_config.py View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -6 lines 0 comments Download
M masters/master.client.v8/master.cfg View 1 2 3 4 5 2 chunks +2 lines, -1 line 0 comments Download
A masters/master.client.v8/master_site_config.py View 1 2 3 4 5 6 7 8 1 chunk +15 lines, -0 lines 0 comments Download
M masters/master.client.webrtc/master.cfg View 1 chunk +2 lines, -1 line 0 comments Download
A masters/master.client.webrtc/master_site_config.py View 1 2 3 4 5 6 7 8 1 chunk +17 lines, -0 lines 0 comments Download
M masters/master.devtools/master.cfg View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
A masters/master.devtools/master_site_config.py View 1 2 3 4 5 6 7 8 1 chunk +13 lines, -0 lines 0 comments Download
M masters/master.experimental/master.cfg View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
A masters/master.experimental/master_site_config.py View 1 2 3 4 5 6 7 8 1 chunk +14 lines, -0 lines 0 comments Download
M masters/master.tryserver.chromium.linux/master.cfg View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M masters/master.tryserver.chromium.linux/master_site_config.py View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -15 lines 0 comments Download
M masters/master.tryserver.chromium/master.cfg View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
A masters/master.tryserver.chromium/master_site_config.py View 1 2 3 4 5 6 7 8 1 chunk +22 lines, -0 lines 0 comments Download
M masters/master.tryserver.libyuv/master_site_config.py View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -5 lines 0 comments Download
M masters/master.tryserver.nacl/master.cfg View 2 chunks +5 lines, -4 lines 0 comments Download
A masters/master.tryserver.nacl/master_site_config.py View 1 2 3 4 5 6 7 8 1 chunk +16 lines, -0 lines 0 comments Download
M masters/master.tryserver.webrtc/master.cfg View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
A masters/master.tryserver.webrtc/master_site_config.py View 1 2 3 4 5 6 7 8 1 chunk +20 lines, -0 lines 0 comments Download
M scripts/master/factory/gclient_factory.py View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M scripts/master/factory/nacl_commands.py View 1 chunk +0 lines, -6 lines 0 comments Download
M scripts/master/factory/v8_commands.py View 1 chunk +0 lines, -4 lines 0 comments Download
M site_config/config_bootstrap.py View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M site_config/config_default.py View 1 2 3 4 5 6 2 chunks +84 lines, -448 lines 0 comments Download
M test/masters_cfg_test.py View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M test/masters_test.py View 1 2 3 4 5 6 7 1 chunk +5 lines, -5 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
agable
Wheeee.
7 years, 8 months ago (2013-04-27 02:49:28 UTC) #1
Isaac (away)
nice CL! Some comments inline. https://codereview.chromium.org/14383021/diff/1/masters/master.chromium.chrome/master.cfg File masters/master.chromium.chrome/master.cfg (right): https://codereview.chromium.org/14383021/diff/1/masters/master.chromium.chrome/master.cfg#newcode16 masters/master.chromium.chrome/master.cfg:16: import config This existing ...
7 years, 7 months ago (2013-04-29 01:27:57 UTC) #2
agable
https://chromiumcodereview.appspot.com/14383021/diff/1/masters/master.chromium.chrome/master.cfg File masters/master.chromium.chrome/master.cfg (right): https://chromiumcodereview.appspot.com/14383021/diff/1/masters/master.chromium.chrome/master.cfg#newcode16 masters/master.chromium.chrome/master.cfg:16: import config The existing master_site_configs have been changed to ...
7 years, 7 months ago (2013-04-29 17:40:20 UTC) #3
Isaac (away)
This is the output I get when I run masters_test: http://pastebin.com/7UVE6beL Does this CL need ...
7 years, 7 months ago (2013-04-30 04:14:05 UTC) #4
agable
Yep, and I just wrapped it up and mailed it out. PTAL at that one ...
7 years, 7 months ago (2013-04-30 21:10:32 UTC) #5
Isaac (away)
OK, I audited changes to the config objects using sed to rename is_production_host lines to ...
7 years, 7 months ago (2013-05-04 06:31:48 UTC) #6
agable
Latest patchset addresses all of your comments, as well as resolves some other minor diffs. ...
7 years, 7 months ago (2013-05-17 03:08:19 UTC) #7
iannucci
lgtm. Let's land this already. I'm assuming if something goes wrong a rollback will fix ...
7 years, 7 months ago (2013-05-17 04:28:09 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/agable@chromium.org/14383021/32001
7 years, 7 months ago (2013-05-18 02:09:13 UTC) #9
commit-bot: I haz the power
Presubmit check for 14383021-32001 failed and returned exit status 1. INFO:root:Found 124 file(s). INFO:PRESUBMIT:Running pylint ...
7 years, 7 months ago (2013-05-18 02:10:25 UTC) #10
Isaac (away)
[lgtm] Re breaking this CL into parts: I'm not convinced these need to be broken ...
7 years, 7 months ago (2013-05-19 23:37:28 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/agable@chromium.org/14383021/51001
7 years, 7 months ago (2013-05-20 06:23:12 UTC) #12
commit-bot: I haz the power
Presubmit check for 14383021-51001 failed and returned exit status 1. INFO:root:Found 124 file(s). INFO:PRESUBMIT:Running pylint ...
7 years, 7 months ago (2013-05-20 06:24:22 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/agable@chromium.org/14383021/56001
7 years, 7 months ago (2013-05-20 07:28:44 UTC) #14
commit-bot: I haz the power
Change committed as 201052
7 years, 7 months ago (2013-05-20 07:31:14 UTC) #15
Nico
This (re)created the masters/master.chromium.pyauto directory, which doesn't seem to have anything interesting in it. Can ...
7 years, 2 months ago (2013-10-20 23:07:59 UTC) #16
agable
7 years, 2 months ago (2013-10-21 16:30:02 UTC) #17
Message was sent while issue was closed.
On 2013/10/20 23:07:59, Nico wrote:
> This (re)created the masters/master.chromium.pyauto directory, which doesn't
> seem to have anything interesting in it. Can that directory be deleted again?

https://codereview.chromium.org/32943002

Powered by Google App Engine
This is Rietveld 408576698