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 ], | |
89 'client.gyp': [ | 86 'client.gyp': [ |
90 'http://build.chromium.org/p/client.gyp/json/builders' | 87 'http://build.chromium.org/p/client.gyp/json/builders' |
91 ], | 88 ], |
92 'client.skia': [ | 89 'client.skia': [ |
93 'http://build.chromium.org/p/client.skia/json/trybots' | 90 'http://build.chromium.org/p/client.skia/json/trybots' |
94 ], | 91 ], |
95 'client.skia.android': [ | 92 'client.skia.android': [ |
96 'http://build.chromium.org/p/client.skia.android/json/trybots' | 93 'http://build.chromium.org/p/client.skia.android/json/trybots' |
97 ], | 94 ], |
98 'client.skia.compile': [ | 95 'client.skia.compile': [ |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 if 'bisect' in builder: | 184 if 'bisect' in builder: |
188 continue | 185 continue |
189 | 186 |
190 category = parsed_json[builder].get('category', 'None') | 187 category = parsed_json[builder].get('category', 'None') |
191 new_json_contents.setdefault(tryserver, {}).setdefault( | 188 new_json_contents.setdefault(tryserver, {}).setdefault( |
192 category, []).append(builder) | 189 category, []).append(builder) |
193 | 190 |
194 instance = cls.get_instance() | 191 instance = cls.get_instance() |
195 instance.json_contents = json.dumps(new_json_contents) | 192 instance.json_contents = json.dumps(new_json_contents) |
196 instance.put() | 193 instance.put() |
OLD | NEW |