| OLD | NEW |
| 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 from buildbot.changes import svnpoller | 5 from buildbot.changes import svnpoller |
| 6 from buildbot.scheduler import Scheduler | 6 from buildbot.scheduler import Scheduler |
| 7 | 7 |
| 8 from master import build_utils | 8 from master import build_utils |
| 9 from master import master_utils | 9 from master import master_utils |
| 10 from master import slaves_list | 10 from master import slaves_list |
| 11 from master.factory import pagespeed_factory | 11 from master.factory import pagespeed_factory |
| 12 | 12 |
| 13 import config | 13 import config |
| 14 import master_site_config |
| 14 | 15 |
| 15 ActiveMaster = config.Master.PageSpeed | 16 ActiveMaster = master_site_config.PageSpeed |
| 16 | 17 |
| 17 TREE_GATE_KEEPER = ActiveMaster.is_production_host | 18 TREE_GATE_KEEPER = ActiveMaster.is_production_host |
| 18 GOOD_REVISIONS = ActiveMaster.is_production_host | 19 GOOD_REVISIONS = ActiveMaster.is_production_host |
| 19 | 20 |
| 20 # This is the dictionary that the buildmaster pays attention to. We also use | 21 # This is the dictionary that the buildmaster pays attention to. We also use |
| 21 # a shorter alias to save typing. | 22 # a shorter alias to save typing. |
| 22 c = BuildmasterConfig = {} | 23 c = BuildmasterConfig = {} |
| 23 | 24 |
| 24 | 25 |
| 25 ####### DATABASE | 26 ####### DATABASE |
| (...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 364 good_revs[builder['name']] = categories_steps[builder['category']] | 365 good_revs[builder['name']] = categories_steps[builder['category']] |
| 365 c['status'].append(goodrevisions.GoodRevisions( | 366 c['status'].append(goodrevisions.GoodRevisions( |
| 366 good_revision_steps=good_revs, | 367 good_revision_steps=good_revs, |
| 367 store_revisions_url=ActiveMaster.store_revisions_url, | 368 store_revisions_url=ActiveMaster.store_revisions_url, |
| 368 use_getname=True)) | 369 use_getname=True)) |
| 369 | 370 |
| 370 ####### PROJECT IDENTITY | 371 ####### PROJECT IDENTITY |
| 371 | 372 |
| 372 # Buildbot master url: | 373 # Buildbot master url: |
| 373 c['buildbotURL'] = 'http://build.chromium.org/p/client.pagespeed/' | 374 c['buildbotURL'] = 'http://build.chromium.org/p/client.pagespeed/' |
| OLD | NEW |