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

Side by Side Diff: tools/submit_try

Issue 691203002: Cleanup: Remove svn.py script. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 1 month 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 | « tools/buildbot_globals.py ('k') | tools/svn.py » ('j') | 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/python 1 #!/usr/bin/python
borenet 2014/10/31 13:21:55 I think we can get rid of this too. AFAIK nobody
2 2
3 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 7
8 """ 8 """
9 submit_try: Submit a try request. 9 submit_try: Submit a try request.
10 10
11 This is a thin wrapper around the try request utilities in depot_tools which 11 This is a thin wrapper around the try request utilities in depot_tools which
12 adds some validation and supports both git and svn. 12 adds some validation and supports both git and svn.
13 """ 13 """
14 14
15 15
16 import httplib 16 import httplib
17 import json 17 import json
18 import os 18 import os
19 import re 19 import re
20 import shutil 20 import shutil
21 import subprocess 21 import subprocess
22 import svn
23 import sys 22 import sys
24 import tempfile 23 import tempfile
25 24
26 import retrieve_from_googlesource 25 import retrieve_from_googlesource
27 26
28 27
29 # Alias which can be used to run a try on every builder. 28 # Alias which can be used to run a try on every builder.
30 ALL_BUILDERS = 'all' 29 ALL_BUILDERS = 'all'
31 # Alias which can be used to run a try on all compile builders. 30 # Alias which can be used to run a try on all compile builders.
32 COMPILE_BUILDERS = 'compile' 31 COMPILE_BUILDERS = 'compile'
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 # Parse and validate the command-line arguments. 284 # Parse and validate the command-line arguments.
286 args = ValidateArgs(sys.argv[1:], trybots=trybots, cq_trybots=cq_trybots, 285 args = ValidateArgs(sys.argv[1:], trybots=trybots, cq_trybots=cq_trybots,
287 is_svn=is_svn) 286 is_svn=is_svn)
288 287
289 # Submit the try request. 288 # Submit the try request.
290 SubmitTryRequest(args.bots, args.revision) 289 SubmitTryRequest(args.bots, args.revision)
291 290
292 291
293 if __name__ == '__main__': 292 if __name__ == '__main__':
294 sys.exit(main()) 293 sys.exit(main())
OLDNEW
« no previous file with comments | « tools/buildbot_globals.py ('k') | tools/svn.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698