OLD | NEW |
1 # Copyright 2008 Google Inc. | 1 # Copyright 2008 Google Inc. |
2 # | 2 # |
3 # Licensed under the Apache License, Version 2.0 (the "License"); | 3 # Licensed under the Apache License, Version 2.0 (the "License"); |
4 # you may not use this file except in compliance with the License. | 4 # you may not use this file except in compliance with the License. |
5 # You may obtain a copy of the License at | 5 # You may obtain a copy of the License at |
6 # | 6 # |
7 # http://www.apache.org/licenses/LICENSE-2.0 | 7 # http://www.apache.org/licenses/LICENSE-2.0 |
8 # | 8 # |
9 # Unless required by applicable law or agreed to in writing, software | 9 # Unless required by applicable law or agreed to in writing, software |
10 # distributed under the License is distributed on an "AS IS" BASIS, | 10 # distributed under the License is distributed on an "AS IS" BASIS, |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 ], | 76 ], |
77 'tryserver.chromium.mac': [ | 77 'tryserver.chromium.mac': [ |
78 'http://build.chromium.org/p/tryserver.chromium.mac/json/builders' | 78 'http://build.chromium.org/p/tryserver.chromium.mac/json/builders' |
79 ], | 79 ], |
80 'tryserver.chromium.linux': [ | 80 'tryserver.chromium.linux': [ |
81 'http://build.chromium.org/p/tryserver.chromium.linux/json/builders' | 81 'http://build.chromium.org/p/tryserver.chromium.linux/json/builders' |
82 ], | 82 ], |
83 'tryserver.chromium.win': [ | 83 'tryserver.chromium.win': [ |
84 'http://build.chromium.org/p/tryserver.chromium.win/json/builders' | 84 'http://build.chromium.org/p/tryserver.chromium.win/json/builders' |
85 ], | 85 ], |
| 86 'tryserver.infra': [ |
| 87 'http://build.chromium.org/p/tryserver.infra/json/builders' |
| 88 ], |
86 'client.gyp': [ | 89 'client.gyp': [ |
87 'http://build.chromium.org/p/client.gyp/json/builders' | 90 'http://build.chromium.org/p/client.gyp/json/builders' |
88 ], | 91 ], |
89 'client.skia': [ | 92 'client.skia': [ |
90 'http://build.chromium.org/p/client.skia/json/trybots' | 93 'http://build.chromium.org/p/client.skia/json/trybots' |
91 ], | 94 ], |
92 'client.skia.android': [ | 95 'client.skia.android': [ |
93 'http://build.chromium.org/p/client.skia.android/json/trybots' | 96 'http://build.chromium.org/p/client.skia.android/json/trybots' |
94 ], | 97 ], |
95 'client.skia.compile': [ | 98 'client.skia.compile': [ |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 if 'bisect' in builder: | 187 if 'bisect' in builder: |
185 continue | 188 continue |
186 | 189 |
187 category = parsed_json[builder].get('category', 'None') | 190 category = parsed_json[builder].get('category', 'None') |
188 new_json_contents.setdefault(tryserver, {}).setdefault( | 191 new_json_contents.setdefault(tryserver, {}).setdefault( |
189 category, []).append(builder) | 192 category, []).append(builder) |
190 | 193 |
191 instance = cls.get_instance() | 194 instance = cls.get_instance() |
192 instance.json_contents = json.dumps(new_json_contents) | 195 instance.json_contents = json.dumps(new_json_contents) |
193 instance.put() | 196 instance.put() |
OLD | NEW |