Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(254)

Side by Side Diff: scripts/slave/recipe_modules/v8/api.py

Issue 1241323004: Cross-repo recipe package system. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Roll to latest recipes-py Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 import urllib 9 import urllib
10 10
11 from infra.libs.infra_types import freeze 11 from recipe_engine.types import freeze
12 from recipe_engine import recipe_api 12 from recipe_engine import recipe_api
13 from . import bisection 13 from . import bisection
14 from . import builders 14 from . import builders
15 15
16 16
17 COMMIT_TEMPLATE = 'https://chromium.googlesource.com/v8/v8/+/%s' 17 COMMIT_TEMPLATE = 'https://chromium.googlesource.com/v8/v8/+/%s'
18 18
19 # Regular expressions for v8 branch names. 19 # Regular expressions for v8 branch names.
20 RELEASE_BRANCH_RE = re.compile(r'^\d+\.\d+$') 20 RELEASE_BRANCH_RE = re.compile(r'^\d+\.\d+$')
21 ROLL_BRANCH_RE = re.compile(r'^\d+\.\d+\.\d+$') 21 ROLL_BRANCH_RE = re.compile(r'^\d+\.\d+\.\d+$')
(...skipping 1243 matching lines...) Expand 10 before | Expand all | Expand 10 after
1265 def report_culprits(self, culprit_range): 1265 def report_culprits(self, culprit_range):
1266 assert culprit_range 1266 assert culprit_range
1267 if len(culprit_range) > 1: 1267 if len(culprit_range) > 1:
1268 text = 'Suspecting multiple commits' 1268 text = 'Suspecting multiple commits'
1269 else: 1269 else:
1270 text = 'Suspecting %s' % culprit_range[0][:8] 1270 text = 'Suspecting %s' % culprit_range[0][:8]
1271 1271
1272 step_result = self.m.python.inline(text, '# Empty program') 1272 step_result = self.m.python.inline(text, '# Empty program')
1273 for culprit in culprit_range: 1273 for culprit in culprit_range:
1274 step_result.presentation.links[culprit[:8]] = COMMIT_TEMPLATE % culprit 1274 step_result.presentation.links[culprit[:8]] = COMMIT_TEMPLATE % culprit
OLDNEW
« no previous file with comments | « scripts/slave/recipe_modules/uuid/example.expected/basic.json ('k') | scripts/slave/recipe_modules/v8/builders.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698