| OLD | NEW |
| 1 # Copyright (C) 2013 Google Inc. All rights reserved. | 1 # Copyright (C) 2013 Google Inc. All rights reserved. |
| 2 # | 2 # |
| 3 # Redistribution and use in source and binary forms, with or without | 3 # Redistribution and use in source and binary forms, with or without |
| 4 # modification, are permitted provided that the following conditions are | 4 # modification, are permitted provided that the following conditions are |
| 5 # met: | 5 # met: |
| 6 # | 6 # |
| 7 # * Redistributions of source code must retain the above copyright | 7 # * Redistributions of source code must retain the above copyright |
| 8 # notice, this list of conditions and the following disclaimer. | 8 # notice, this list of conditions and the following disclaimer. |
| 9 # * Redistributions in binary form must reproduce the above | 9 # * Redistributions in binary form must reproduce the above |
| 10 # copyright notice, this list of conditions and the following disclaimer | 10 # copyright notice, this list of conditions and the following disclaimer |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 {'name': 'ChromiumWin', 'url': 'http://build.chromium.org/p/chromium.win', '
groups': ['@ToT Chromium']}, | 40 {'name': 'ChromiumWin', 'url': 'http://build.chromium.org/p/chromium.win', '
groups': ['@ToT Chromium']}, |
| 41 {'name': 'ChromiumMac', 'url': 'http://build.chromium.org/p/chromium.mac', '
groups': ['@ToT Chromium']}, | 41 {'name': 'ChromiumMac', 'url': 'http://build.chromium.org/p/chromium.mac', '
groups': ['@ToT Chromium']}, |
| 42 {'name': 'ChromiumLinux', 'url': 'http://build.chromium.org/p/chromium.linux
', 'groups': ['@ToT Chromium']}, | 42 {'name': 'ChromiumLinux', 'url': 'http://build.chromium.org/p/chromium.linux
', 'groups': ['@ToT Chromium']}, |
| 43 {'name': 'ChromiumChromiumOS', 'url': 'http://build.chromium.org/p/chromium.
chromiumos', 'groups': ['@ToT ChromeOS']}, | 43 {'name': 'ChromiumChromiumOS', 'url': 'http://build.chromium.org/p/chromium.
chromiumos', 'groups': ['@ToT ChromeOS']}, |
| 44 {'name': 'ChromiumGPU', 'url': 'http://build.chromium.org/p/chromium.gpu', '
groups': ['@ToT Chromium']}, | 44 {'name': 'ChromiumGPU', 'url': 'http://build.chromium.org/p/chromium.gpu', '
groups': ['@ToT Chromium']}, |
| 45 {'name': 'ChromiumGPUFYI', 'url': 'http://build.chromium.org/p/chromium.gpu.
fyi', 'groups': ['@ToT Chromium FYI']}, | 45 {'name': 'ChromiumGPUFYI', 'url': 'http://build.chromium.org/p/chromium.gpu.
fyi', 'groups': ['@ToT Chromium FYI']}, |
| 46 {'name': 'ChromiumPerfAv', 'url': 'http://build.chromium.org/p/chromium.perf
_av', 'groups': ['@ToT Chromium']}, | 46 {'name': 'ChromiumPerfAv', 'url': 'http://build.chromium.org/p/chromium.perf
_av', 'groups': ['@ToT Chromium']}, |
| 47 {'name': 'ChromiumWebkit', 'url': 'http://build.chromium.org/p/chromium.webk
it', 'groups': ['@ToT Chromium', '@ToT Blink']}, | 47 {'name': 'ChromiumWebkit', 'url': 'http://build.chromium.org/p/chromium.webk
it', 'groups': ['@ToT Chromium', '@ToT Blink']}, |
| 48 {'name': 'ChromiumFYI', 'url': 'http://build.chromium.org/p/chromium.fyi', '
groups': ['@ToT Chromium FYI']}, | 48 {'name': 'ChromiumFYI', 'url': 'http://build.chromium.org/p/chromium.fyi', '
groups': ['@ToT Chromium FYI']}, |
| 49 {'name': 'V8', 'url': 'http://build.chromium.org/p/client.v8', 'groups': ['@
ToT V8']}, | 49 {'name': 'V8', 'url': 'http://build.chromium.org/p/client.v8', 'groups': ['@
ToT V8']}, |
| 50 {'name': 'WebRTC', 'url': 'http://build.chromium.org/p/client.webrtc', 'grou
ps': ['@ToT WebRTC']}, |
| 50 ] | 51 ] |
| 51 | 52 |
| 52 | 53 |
| 53 class FetchBuildersException(Exception): pass | 54 class FetchBuildersException(Exception): pass |
| 54 | 55 |
| 55 | 56 |
| 56 def master_json_url(master_url): | 57 def master_json_url(master_url): |
| 57 return master_url + '/json/builders' | 58 return master_url + '/json/builders' |
| 58 | 59 |
| 59 | 60 |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 buildbot_data = fetch_buildbot_data(MASTERS, True) | 196 buildbot_data = fetch_buildbot_data(MASTERS, True) |
| 196 try: | 197 try: |
| 197 memcache.set('buildbot_data', buildbot_data) | 198 memcache.set('buildbot_data', buildbot_data) |
| 198 except ValueError, err: | 199 except ValueError, err: |
| 199 logging.error(str(err)) | 200 logging.error(str(err)) |
| 200 | 201 |
| 201 if callback: | 202 if callback: |
| 202 buildbot_data = callback + '(' + buildbot_data + ');' | 203 buildbot_data = callback + '(' + buildbot_data + ');' |
| 203 | 204 |
| 204 self.response.out.write(buildbot_data) | 205 self.response.out.write(buildbot_data) |
| OLD | NEW |