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

Side by Side Diff: bootstrap/update_vendoring.py

Issue 2991053002: Vendor 'luci_context' library. (Closed)
Patch Set: Created 3 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 | recipe_engine/third_party/client-py/libs/luci_context/OWNERS » ('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/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 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 273
274 c.check_call([c.tool('protoc'), '-I', d, '--python_out', outdir] + 274 c.check_call([c.tool('protoc'), '-I', d, '--python_out', outdir] +
275 all_proto) 275 all_proto)
276 276
277 277
278 _ACTIONS = ( 278 _ACTIONS = (
279 _VendoredPipPackage( 279 _VendoredPipPackage(
280 'bootstrap/virtualenv', 280 'bootstrap/virtualenv',
281 name='virtualenv', 281 name='virtualenv',
282 version='15.1.0'), 282 version='15.1.0'),
283 )
284 283
285 _VendoredPipPackage( 284 _VendoredPipPackage(
286 'recipe_engine/third_party/six', 285 'recipe_engine/third_party/six',
287 name='six', 286 name='six',
288 version='1.10.0'), 287 version='1.10.0'),
289 288
290 _VendoredPipPackage( 289 _VendoredPipPackage(
291 'recipe_engine/third_party/requests', 290 'recipe_engine/third_party/requests',
292 name='requests', 291 name='requests',
293 version='2.10.0'), 292 version='2.10.0'),
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
343 vdir = os.path.join(td, 'vendor_%d' % (i,)) 342 vdir = os.path.join(td, 'vendor_%d' % (i,))
344 os.makedirs(vdir) 343 os.makedirs(vdir)
345 344
346 # Execute the vendor script. 345 # Execute the vendor script.
347 act.run(c, vdir, opts) 346 act.run(c, vdir, opts)
348 347
349 348
350 if __name__ == '__main__': 349 if __name__ == '__main__':
351 logging.basicConfig(level=logging.DEBUG) 350 logging.basicConfig(level=logging.DEBUG)
352 sys.exit(main(sys.argv[1:])) 351 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « no previous file | recipe_engine/third_party/client-py/libs/luci_context/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698