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

Side by Side Diff: bootstrap/update_vendoring.py

Issue 2265673002: Add LogDog / annotation protobuf support. (Closed) Base URL: https://github.com/luci/recipes-py@step-formal-struct
Patch Set: Updated with comments, added test, proto 3.0.2. Created 4 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
« no previous file with comments | « no previous file | recipe_engine/arguments.proto » ('j') | recipe_engine/stream_logdog.py » ('J')
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 2016 The LUCI Authors. All rights reserved. 2 # Copyright 2016 The LUCI Authors. All rights reserved.
3 # Use of this source code is governed under the Apache License, Version 2.0 3 # Use of this source code is governed under the Apache License, Version 2.0
4 # that can be found in the LICENSE file. 4 # that can be found in the LICENSE file.
5 5
6 """Regenerates vendored components and derivative files from external sources. 6 """Regenerates vendored components and derivative files from external sources.
7 7
8 This is a utililty script that is intended to be run on a Linux-based system. 8 This is a utililty script that is intended to be run on a Linux-based system.
9 Other operating systems may work, but are not supported. 9 Other operating systems may work, but are not supported.
10 10
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 _VendoredGitRepo( 258 _VendoredGitRepo(
259 'recipe_engine/third_party/client-py/libs', 259 'recipe_engine/third_party/client-py/libs',
260 repo='https://github.com/luci/client-py', 260 repo='https://github.com/luci/client-py',
261 ref='origin/master', 261 ref='origin/master',
262 subpath='libs'), 262 subpath='libs'),
263 263
264 # All actions that rely on "protoc" must happen after this one. 264 # All actions that rely on "protoc" must happen after this one.
265 _VendoredPythonProtobuf( 265 _VendoredPythonProtobuf(
266 'recipe_engine/third_party/google', 266 'recipe_engine/third_party/google',
267 repo='https://github.com/google/protobuf', 267 repo='https://github.com/google/protobuf',
268 ref='v3.0.0'), 268 ref='v3.0.2'),
269 269
270 _VendoredLuciGoProto( 270 _VendoredLuciGoProto(
271 'recipe_engine/third_party', 271 'recipe_engine/third_party',
272 relsrc='common/proto/milo', 272 relsrc='common/proto/milo',
273 ref='origin/master'), 273 ref='origin/master'),
274 274
275 _RegenerateLocalProtobufs(), 275 _RegenerateLocalProtobufs(),
276 ) 276 )
277 277
278 278
(...skipping 11 matching lines...) Expand all
290 vdir = os.path.join(td, 'vendor_%d' % (i,)) 290 vdir = os.path.join(td, 'vendor_%d' % (i,))
291 os.makedirs(vdir) 291 os.makedirs(vdir)
292 292
293 # Execute the vendor script. 293 # Execute the vendor script.
294 act.run(c, vdir) 294 act.run(c, vdir)
295 295
296 296
297 if __name__ == '__main__': 297 if __name__ == '__main__':
298 logging.basicConfig(level=logging.DEBUG) 298 logging.basicConfig(level=logging.DEBUG)
299 sys.exit(main(sys.argv[1:])) 299 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « no previous file | recipe_engine/arguments.proto » ('j') | recipe_engine/stream_logdog.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698