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

Side by Side Diff: tools/autoroller/roll_chromium_revision.py

Issue 2259933002: Remove pbos@webrtc.org from autoroll TBRs. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. 2 # Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
3 # 3 #
4 # Use of this source code is governed by a BSD-style license 4 # Use of this source code is governed by a BSD-style license
5 # that can be found in the LICENSE file in the root of the source 5 # that can be found in the LICENSE file in the root of the source
6 # tree. An additional intellectual property rights grant can be found 6 # tree. An additional intellectual property rights grant can be found
7 # in the file PATENTS. All contributing project authors may 7 # in the file PATENTS. All contributing project authors may
8 # be found in the AUTHORS file in the root of the source tree. 8 # be found in the AUTHORS file in the root of the source tree.
9 9
10 """Script to roll chromium_revision in the WebRTC DEPS file.""" 10 """Script to roll chromium_revision in the WebRTC DEPS file."""
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 commit_msg.append('DEPS diff: %s\n' % change_url) 280 commit_msg.append('DEPS diff: %s\n' % change_url)
281 else: 281 else:
282 commit_msg.append('No dependencies changed.') 282 commit_msg.append('No dependencies changed.')
283 283
284 if clang_change.current_rev != clang_change.new_rev: 284 if clang_change.current_rev != clang_change.new_rev:
285 commit_msg.append('Clang version changed %s:%s' % 285 commit_msg.append('Clang version changed %s:%s' %
286 (clang_change.current_rev, clang_change.new_rev)) 286 (clang_change.current_rev, clang_change.new_rev))
287 change_url = CHROMIUM_FILE_TEMPLATE % (rev_interval, 287 change_url = CHROMIUM_FILE_TEMPLATE % (rev_interval,
288 CLANG_UPDATE_SCRIPT_URL_PATH) 288 CLANG_UPDATE_SCRIPT_URL_PATH)
289 commit_msg.append('Details: %s\n' % change_url) 289 commit_msg.append('Details: %s\n' % change_url)
290 tbr_authors += 'pbos@webrtc.org'
291 else: 290 else:
292 commit_msg.append('No update to Clang.\n') 291 commit_msg.append('No update to Clang.\n')
293 292
294 commit_msg.append('TBR=%s' % tbr_authors) 293 commit_msg.append('TBR=%s' % tbr_authors)
295 return '\n'.join(commit_msg) 294 return '\n'.join(commit_msg)
296 295
297 296
298 def UpdateDeps(deps_filename, old_cr_revision, new_cr_revision): 297 def UpdateDeps(deps_filename, old_cr_revision, new_cr_revision):
299 """Update the DEPS file with the new revision.""" 298 """Update the DEPS file with the new revision."""
300 with open(deps_filename, 'rb') as deps_file: 299 with open(deps_filename, 'rb') as deps_file:
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 _CreateRollBranch(opts.dry_run) 436 _CreateRollBranch(opts.dry_run)
438 UpdateDeps(deps_filename, current_cr_rev, new_cr_rev) 437 UpdateDeps(deps_filename, current_cr_rev, new_cr_rev)
439 _LocalCommit(commit_msg, opts.dry_run) 438 _LocalCommit(commit_msg, opts.dry_run)
440 _UploadCL(opts.dry_run, opts.rietveld_email) 439 _UploadCL(opts.dry_run, opts.rietveld_email)
441 _SendToCQ(opts.dry_run, opts.skip_cq) 440 _SendToCQ(opts.dry_run, opts.skip_cq)
442 return 0 441 return 0
443 442
444 443
445 if __name__ == '__main__': 444 if __name__ == '__main__':
446 sys.exit(main()) 445 sys.exit(main())
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698