| OLD | NEW |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 import collections | 5 import collections |
| 6 import datetime | 6 import datetime |
| 7 import math | 7 import math |
| 8 import re | 8 import re |
| 9 | 9 |
| 10 from infra.libs.infra_types import freeze | 10 from infra.libs.infra_types import freeze |
| 11 from slave import recipe_api | 11 from recipe_engine import recipe_api |
| 12 from . import builders | 12 from . import builders |
| 13 | 13 |
| 14 | 14 |
| 15 # Regular expressions for v8 branch names. | 15 # Regular expressions for v8 branch names. |
| 16 RELEASE_BRANCH_RE = re.compile(r'^\d+\.\d+$') | 16 RELEASE_BRANCH_RE = re.compile(r'^\d+\.\d+$') |
| 17 ROLL_BRANCH_RE = re.compile(r'^\d+\.\d+\.\d+$') | 17 ROLL_BRANCH_RE = re.compile(r'^\d+\.\d+\.\d+$') |
| 18 | 18 |
| 19 # With more than 23 letters, labels are to big for buildbot's popup boxes. | 19 # With more than 23 letters, labels are to big for buildbot's popup boxes. |
| 20 MAX_LABEL_SIZE = 23 | 20 MAX_LABEL_SIZE = 23 |
| 21 | 21 |
| (...skipping 916 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 938 properties = { | 938 properties = { |
| 939 'revision': self.revision, | 939 'revision': self.revision, |
| 940 'parent_got_revision': self.revision, | 940 'parent_got_revision': self.revision, |
| 941 'parent_got_revision_cp': self.revision_cp, | 941 'parent_got_revision_cp': self.revision_cp, |
| 942 } | 942 } |
| 943 properties.update(**additional_properties) | 943 properties.update(**additional_properties) |
| 944 self.m.trigger(*[{ | 944 self.m.trigger(*[{ |
| 945 'builder_name': builder_name, | 945 'builder_name': builder_name, |
| 946 'properties': properties, | 946 'properties': properties, |
| 947 } for builder_name in triggers]) | 947 } for builder_name in triggers]) |
| OLD | NEW |