Lines Matching full:depot
66 # from: Parent depot that must be bisected before this is bisected.
148 """Adds additional depot info to the global depot variables."""
455 def Build(self, depot, opts):
464 def Build(self, depot, opts):
469 depot: Current depot being bisected.
502 def Build(self, depot, opts):
507 depot: Current depot being bisected.
563 def BuildPackages(self, opts, depot):
568 depot: The depot being bisected.
575 if depot != 'cros':
581 if depot != 'cros':
590 def BuildImage(self, opts, depot):
595 depot: The depot being bisected.
602 if depot != 'cros':
608 if depot != 'cros':
618 def Build(self, depot, opts):
622 depot: Current depot being bisected.
628 if self.BuildPackages(opts, depot):
629 if self.BuildImage(opts, depot):
719 def ResolveToRevision(self, revision_to_check, depot, search, cwd=None):
725 depot: The depot the revision_to_check is from.
734 if depot == 'android-chrome':
737 if depot != 'cros':
743 if depot != 'chromium':
744 depot_svn = DEPOT_DEPS_NAME[depot]['svn']
911 # The working directory of each depot is just the path to the depot, but
926 def GetRevisionList(self, depot, bad_revision, good_revision):
932 if depot == 'cros':
957 cwd = self._GetDepotDirectory(depot)
1028 def Get3rdPartyRevisionsFromCurrentRevision(self, depot, revision):
1032 A dict in the format {depot:revision} if successful, otherwise None.
1036 self.ChangeToDepotWorkingDirectory(depot)
1040 if depot == 'chromium' or depot == 'android-chrome':
1055 depot in DEPOT_DEPS_NAME[d]['from']):
1078 elif depot == 'cros':
1112 elif depot == 'v8':
1120 def BuildCurrentRevision(self, depot):
1132 build_success = self.builder.Build(depot, self.opts)
1387 def FindAllRevisionsToSync(self, revision, depot):
1389 given revision. This is only useful in the git workflow, as an svn depot
1398 depot: The depot in use at the moment (probably skia).
1401 A list of [depot, revision] pairs that need to be synced.
1403 revisions_to_sync = [[depot, revision]]
1405 is_base = ((depot == 'chromium') or (depot == 'cros') or
1406 (depot == 'android-chrome'))
1413 DEPOT_DEPS_NAME[depot]['depends'] and\
1417 for d in DEPOT_DEPS_NAME[depot]['depends']:
1426 num_needed = len(DEPOT_DEPS_NAME[depot]['depends'])
1428 self.ChangeToDepotWorkingDirectory(depot)
1502 def PerformPreSyncCleanup(self, revision, depot):
1508 if depot == 'chromium':
1512 elif depot == 'cros':
1516 def RunPostSync(self, depot):
1527 if depot == 'cros':
1533 def ShouldSkipRevision(self, depot, revision):
1538 depot: The depot being bisected.
1544 if depot == 'chromium':
1556 def SyncBuildAndRunRevision(self, revision, depot, command_to_run, metric,
1562 depot: The depot that's being used at the moment (src, webkit, etc.)
1571 if depot == 'chromium' or depot == 'android-chrome':
1573 elif depot == 'cros':
1576 revisions_to_sync = self.FindAllRevisionsToSync(revision, depot)
1581 if not self.PerformPreSyncCleanup(revision, depot):
1593 depot you
1598 current_revision = '%s@%s' % (DEPOT_DEPS_NAME[depot]['src'],
1607 success = self.RunPostSync(depot)
1610 if skippable and self.ShouldSkipRevision(depot, revision):
1615 if self.BuildCurrentRevision(depot):
1622 depot, revision)
1668 assert False, 'Unknown depot [ %s ] encountered. Possibly a new one'\
1673 """Given a depot, changes to the appropriate working directory.
1676 depot_name: The name of the depot (see DEPOT_NAMES).
1699 """Given the state of the bisect, decides which depot the script should
1703 current_depot: Current depot being bisected.
1709 The depot to bisect next, or None.
1718 min_revision_data['depot'] in DEPOT_DEPS_NAME[next_depot]['from']):
1748 current_depot: The depot we want to bisect.
1751 previous_depot: The depot we were previously bisecting.
1824 def AddRevisionsIntoRevisionData(self, revisions, depot, sort, revision_data):
1829 depot: Depot that's currently in use (src, webkit, etc...)
1845 'depot' : depot,
1852 def PrintRevisionsToBisectMessage(self, revision_list, depot):
1859 print 'Revisions to bisect on [%s]:' % depot
1961 'depot': The depot that this revision is from (ie. WebKit)
1974 'depot':'chromium',
1988 # Choose depot to bisect first
2040 # depot it came from, the webkit/V8 revision at that time,
2054 'depot' : target_depot,
2128 current_depot = min_revision_data['depot']
2192 next_revision_depot = next_revision_data['depot']
2262 def _PrintRevisionInfo(self, cl, info, depot=None):
2271 if depot and DEPOT_DEPS_NAME[depot].has_key('viewvc'):
2277 print 'Link : %s' % DEPOT_DEPS_NAME[depot]['viewvc'] + svn_revision
2291 print ' %20s %40s %12s %14s %13s' % ('Depot'.center(20, ' '),
2313 current_data['depot'].center(20, ' '), current_id, mean,
2341 previous_data['depot'], previous_id, 100 * percent_change, deviations)
2342 print ' %8s %s' % (current_data['depot'], current_id)
2438 revision_data[last_broken_revision]['depot'])
2440 if revision_data[last_broken_revision]['depot'] == 'cros':
2477 self.ChangeToDepotWorkingDirectory(v['depot'])
2479 culprit_revisions.append((k, info, v['depot']))
2565 print ' %20s %40s %s' % (current_data['depot'],
2578 cl, info, depot = culprit
2579 self._PrintRevisionInfo(cl, info, depot)
2744 'will do an initial checkout of the chromium depot. The '
2748 'supplied, the script will work from the current depot.')