# Copyright (c) 2012, the Dart project authors.  Please see the AUTHORS file
# for details. All rights reserved. Use of this source code is governed by a
# BSD-style license that can be found in the LICENSE file.

"""Top-level presubmit script for Dart.

See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts
for more details about the presubmit API built into gcl.
"""

def CheckChangeOnCommit(input_api, output_api):
  results = []
  status_check = input_api.canned_checks.CheckTreeIsOpen(
      input_api,
      output_api,
      json_url='http://dart-status.appspot.com/current?format=json')
  results.extend(status_check)
  return results

# Copyright (c) 2012, the Dart project authors.  Please see the AUTHORS file
# for details. All rights reserved. Use of this source code is governed by a
# BSD-style license that can be found in the LICENSE file.

"""Top-level presubmit script for Dart.

See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts
for more details about the presubmit API built into gcl.
"""

def CheckChangeOnCommit(input_api, output_api):
  results = []
  status_check = input_api.canned_checks.CheckTreeIsOpen(
      input_api,
      output_api,
      json_url='http://dart-status.appspot.com/current?format=json')
  # TODO(ricow): reenable when status page is back in shape
  # results.extend(status_check)
  return results

Disable status tree check until we figure out what is wrong with dart-status.appspot.com
Disable status tree check until we figure out what is wrong with dart-status.appspot.com

R=kustermann@google.com, ngeoffray@google.com

Review URL: https://codereview.chromium.org//23270003

git-svn-id: c93d8a2297af3b929165606efe145742a534bc71@26257 260f80e4-7a28-3924-810f-c04153c831b5
