Commit Graph

7295 Commits (fc79097fa2f94e4c9eb39cff859df9ad7e475dfd)
 

Author SHA1 Message Date
Weiwei Lin 821aa2a037 [lucicfg] Update v1.15.1 -> v1.15.2
Add builder description.

Bug: 1066815
Change-Id: I2d2bba2f5b446d352a16744f6270e01a65c2d88a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2249204
Auto-Submit: Weiwei Lin <weiweilin@google.com>
Reviewed-by: Vadim Shtayura <vadimsh@chromium.org>
Commit-Queue: Vadim Shtayura <vadimsh@chromium.org>
5 years ago
Yoshisato Yanagisawa 70c2cfd615 Roll out new goma client binary VERSION=202
Bug: b/157868630
Change-Id: I888989c22517453255a9b5f12e03354d62f7f2c8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2248941
Reviewed-by: Ye Kuang <yekuang@google.com>
Reviewed-by: Fumitoshi Ukai <ukai@google.com>
Commit-Queue: Yoshisato Yanagisawa <yyanagisawa@chromium.org>
5 years ago
Nodir Turakulov a071cce7fd Roll lucicfg to 1.15.1
Target version: git_revision:67ceed4aae0ede5126c57d2b43b41020eb9560b1

R=vadimsh@chromium.org

Change-Id: Iad1fc2349be6d2b67bdb2422910e1ae06b5738e3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2248917
Auto-Submit: Nodir Turakulov <nodir@chromium.org>
Commit-Queue: Vadim Shtayura <vadimsh@chromium.org>
Reviewed-by: Vadim Shtayura <vadimsh@chromium.org>
5 years ago
recipe-roller 3eb899a1e5 Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (recipe_engine) into this repository.

recipe_engine:
  https://crrev.com/cd7b0d3bd66d697759ea2e0f0f4f6bf39b09e8d6 (yiwzhang@google.com)
    [luciexe] Provide ability to run a LUCI executable as sub-build

More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.

TBR=iannucci@chromium.org

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: Id9f6db935fbb09885933b149a63cb31048ccc528
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2247055
Reviewed-by: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
5 years ago
recipe-roller d49aa6fb8b Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (recipe_engine) into this repository.

recipe_engine:
  https://crrev.com/6a7ba7688281a8bbf46fdeb8cb0fd628b196890d (olivernewman@google.com)
    [recipes_cfg] Add no_cc_authors roll option

More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.

TBR=iannucci@chromium.org

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: Ifaf92ae6ee95a4cf9650de48fa9c8789aa96830f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2247053
Reviewed-by: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
5 years ago
recipe-roller 08213f4279 Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (recipe_engine) into this repository.

recipe_engine:
  https://crrev.com/34f49e8290e45a4c3c0ddd1e607e77dfac5d0f30 (iannucci@chromium.org)
    [led] Update led module to use JSONPB for intermediate result format.

More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.

TBR=iannucci@chromium.org

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: I0455adfcb5d5113e066dc3660a28852fd45c3d4e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2248409
Reviewed-by: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
5 years ago
recipe-roller 38accb0f03 Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (recipe_engine) into this repository.

recipe_engine:
  https://crrev.com/156812241c03473af810c215981e482fb44ca42a (yiwzhang@google.com)
    [step] Refactor step api: moves resuable logic to small helper methods

More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.

TBR=iannucci@chromium.org

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: If5cea44aab38db3945d9ad1cdb4b20544a51e458
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2247050
Reviewed-by: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
5 years ago
Nodir Turakulov d4872ceba4 Roll rdb
To pick up https://chromium-review.googlesource.com/c/infra/luci/luci-go/+/2248398

R=vadimsh@chromium.org

Change-Id: If63702af3f8cacde6f2565ecec88ac069f5095a6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2248249
Commit-Queue: Nodir Turakulov <nodir@chromium.org>
Commit-Queue: Vadim Shtayura <vadimsh@chromium.org>
Auto-Submit: Nodir Turakulov <nodir@chromium.org>
Reviewed-by: Vadim Shtayura <vadimsh@chromium.org>
5 years ago
Liviu Rau f82b08b1e2 Revert "Support formatting python3 scripts"
This reverts commit 2ba05f1672.

Reason for revert: yapf formatting broken on windows  https://crbug.com/1095581

Change-Id: Ifad1009ab8d83a05cd5763bb95910647940cbaf1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2246152
Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
Reviewed-by: Edward Lesmes <ehmaldonado@chromium.org>
5 years ago
Nodir Turakulov e364dd820b Roll rdb binary
This picks up quite a few bugfixes, but primarily this CL
https://chromium-review.googlesource.com/c/infra/luci/luci-go/+/2244467

Change-Id: I1af9af4c53e23346844df5949b5dd3314da106ec
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2245805
Reviewed-by: Chan Li <chanli@chromium.org>
Reviewed-by: Scott Lee <ddoman@chromium.org>
Commit-Queue: Nodir Turakulov <nodir@chromium.org>
5 years ago
recipe-roller 774f09ba90 Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (recipe_engine) into this repository.

recipe_engine:
  https://crrev.com/ecd8c5c8799c5bb7113b9fea62226beb3727001b (chanli@chromium.org)
    [ResultDB] Exonerate test variants in bactches if too many.

More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.

TBR=iannucci@chromium.org

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: I20776dd8eb1ed2dd894ba5b9aee2978b6156fe55
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2246480
Reviewed-by: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
5 years ago
Peter Wen 2ba05f1672 Support formatting python3 scripts
Use vpython or vpython3 to invoke yapf depending on the shebang line for
each file.

Bug: 1062053
Change-Id: I497fa48c08aa6052a2b06df7cc7f18e2154ab898
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2241792
Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
Reviewed-by: Edward Lesmes <ehmaldonado@chromium.org>
Auto-Submit: Peter Wen <wnwen@chromium.org>
5 years ago
Yoshisato Yanagisawa 23bd174fea Download amd64 Goma client regardless of arch.
There is a case that people use 32bit shell on 64bit OSes.
Since Goma client cipd package is made only on amd64, people who
use i386 cannot use Goma cipd packages.
To allow such a case to use Goma, let me make amd64 Goma client
installed regardless of the current architecture.

Bug: b/158498375
Change-Id: I2ccc9411e41894e0031b943123bfac45f74c24a0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2240985
Auto-Submit: Yoshisato Yanagisawa <yyanagisawa@chromium.org>
Commit-Queue: Fumitoshi Ukai <ukai@google.com>
Reviewed-by: Simon Que <sque@chromium.org>
Reviewed-by: Fumitoshi Ukai <ukai@google.com>
5 years ago
recipe-roller 03705f60de Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (recipe_engine) into this repository.

recipe_engine:
  https://crrev.com/47bf103bbbb402f59481bd71feb9e403e683d08e (yiwzhang@google.com)
    [engine] Remove deprecated `step` property from StepData object

More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.

TBR=iannucci@chromium.org

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: Ic4633d2a91c7eba48637214eecd4a1f556588922
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2243914
Reviewed-by: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
5 years ago
Leandro Lovisolo 44de5e3f65 presubmit_canned_checks.py: Ignore long TypeScript imports.
Change-Id: If9e133002e2cdcff42917a487a677f3ed73d4d3a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2241184
Reviewed-by: Edward Lesmes <ehmaldonado@chromium.org>
Commit-Queue: Leandro Lovisolo <lovisolo@google.com>
5 years ago
Manh Nguyen 77463bb188 Preserve raw commit message
Commit messages are now sent to input_api in the exact format that user
has used

Bug: angleproject:4714
Change-Id: I30592aec75d57618f5c028bb63a18f95239976e0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2239039
Reviewed-by: Edward Lesmes <ehmaldonado@chromium.org>
Commit-Queue: Manh Nguyen <nguyenmh@google.com>
5 years ago
Takuto Ikuta 59622a5b31 use CREATE_NEW_PROCESS_GROUP to invoke ninjalog_uploader
This is necessary to make ninjalog_uploader_wrapper.py exit without
waitinng finish of ninjalog_uploader.py in windows.

Bug: 992282
Change-Id: I69d11074bcbe5d0958468a9c8ec8391b0741a839
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2237269
Auto-Submit: Takuto Ikuta <tikuta@chromium.org>
Reviewed-by: Yoshisato Yanagisawa <yyanagisawa@chromium.org>
Commit-Queue: Takuto Ikuta <tikuta@chromium.org>
5 years ago
recipe-roller 1dcaaa7aab Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (recipe_engine) into this repository.

recipe_engine:
  https://crrev.com/32c872f7d43a7f42c6726836da8826689beb874a (yiwzhang@google.com)
    [luciexe] Fix the build.proto stream name for merge step

More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.

TBR=iannucci@chromium.org

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: I3c7ba38c9e4ef6fee3b9743031f21321c9279bb1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2238466
Reviewed-by: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
5 years ago
Takuto Ikuta a2e91dbb61 apply yapf for ninjalog*.py
This is preparation to fix the issue.

Bug: 992282
Change-Id: I64b237670bf460ff765df3eaf069b0e0bdcfb31d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2237268
Commit-Queue: Ye Kuang <yekuang@google.com>
Reviewed-by: Ye Kuang <yekuang@google.com>
Auto-Submit: Takuto Ikuta <tikuta@chromium.org>
5 years ago
recipe-roller 37e562110f Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (recipe_engine) into this repository.

recipe_engine:
  https://crrev.com/9f75ac984e9170fc64276b1034e0989792a69676 (yuanjunh@google.com)
    Remove the EXPERIMENTAL in API docstrings

More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.

TBR=iannucci@chromium.org

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: Ia223ff6b5593363a89e923b80d27813155a83a1b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2236610
Reviewed-by: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
5 years ago
Vadim Shtayura dcb5c85b51 [lucicfg] Update to 1.15.0.
Switches generated text protos to use {...} instead of <...>.
No other observable changes.

TBR=yiwzhang@google.com

Change-Id: Ifcbb6f0ba891c23676bc1562fcf65aa54b00e9d6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2235969
Reviewed-by: Vadim Shtayura <vadimsh@chromium.org>
Commit-Queue: Vadim Shtayura <vadimsh@chromium.org>
5 years ago
Bruce Dawson 355e6449e7 Python 3 support for get_toolchain_if_necessary.py
get_toolchain_if_necessary.py would fail on Python 3 when passing a
string to digest.update - this string needs to be encoded to bytes.
This even stops packaging of new toolchains from working.

With this change digest.update get_toolchain_if_necessary.py works with
Python 2 and Python 3.

As a test the current toolchain directory was repackaged - the same hash
was generated.

Change-Id: Ia682d15be42521a35f4df2e14d1f715d9e42d96f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2234586
Reviewed-by: Edward Lesmes <ehmaldonado@chromium.org>
Commit-Queue: Bruce Dawson <brucedawson@chromium.org>
5 years ago
Andrii Shyshkalov a85d58e50e Roll bb tool to @ 616b3dd4
Old revision: f82f4f39

Change logs:
  infra/infra:
    f82f4f39..616b3dd4
  luci-go
    e79b7edf..d1ad596d

Bug: 1081075
Change-Id: Ice734c5bb1c65d833651f2db3307e41a9eaba553
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2219273
Reviewed-by: Scott Lee <ddoman@chromium.org>
Commit-Queue: Andrii Shyshkalov <tandrii@google.com>
5 years ago
Andrii Shyshkalov b00fea7fe4 Roll lucicfg tool to @ ad203535 v1.14.6.
Old revision: cf895902

Change logs:
  infra/infra:
    cf895902..ad203535
  luci-go
    152976aa..39c0f2d9/lucicfg

Bug: 1091337
Change-Id: Ib34b8f07db005b28b340c31113bfadec53b932e5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2231971
Reviewed-by: Vadim Shtayura <vadimsh@chromium.org>
Commit-Queue: Andrii Shyshkalov <tandrii@google.com>
5 years ago
recipe-roller cf2d770d51 Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (recipe_engine) into this repository.

recipe_engine:
  https://crrev.com/68e1c8d542b3d1b5ff2f2454784566fc3b730460 (gbeaty@chromium.org)
    Allow for configuring the task output stdout location in collect.

More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.

TBR=iannucci@chromium.org

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: Ie895587ac056919239b4d0b97a625494e62e1042
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2233204
Reviewed-by: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
5 years ago
Mike Frysinger d27e40cf55 CROS_OWNERS: add Michael
And allow us to self-service this file in the future.

Change-Id: I699480919bcb41250552123e691ddf1432077003
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2231900
Reviewed-by: Jochen Eisinger <jochen@chromium.org>
Reviewed-by: Michael Mortensen <mmortensen@google.com>
Commit-Queue: Mike Frysinger <vapier@chromium.org>
5 years ago
recipe-roller 02dbd01781 Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (recipe_engine) into this repository.

recipe_engine:
  https://crrev.com/85de6e48a32889aa7dd9ea7e38f459873a930f30 (gbeaty@chromium.org)
    Add swarming.ensure_client().

More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.

TBR=iannucci@chromium.org

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: Ic491411394bd3094510ca2474e9334132c25484a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2231901
Reviewed-by: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
5 years ago
recipe-roller 1e0410e356 Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (recipe_engine) into this repository.

recipe_engine:
  https://crrev.com/85c3458f65122aec9e09d17f0b10960bfff5b701 (yiwzhang@google.com)
    [lucictx] Allow setting luciexe in LUCI_CONTEXT through context module

More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.

TBR=iannucci@chromium.org

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: I9c209e4272e31891eb7b79e1080afc8355b26fa7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2231822
Reviewed-by: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
5 years ago
recipe-roller f1f1f9b78d Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (recipe_engine) into this repository.

recipe_engine:
  https://crrev.com/05d027c83af7935f7fd9af3905ee22acc0e13835 (yiwzhang@google.com)
    [thrid_party] Introduce script to update third party libraries

More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.

TBR=iannucci@chromium.org

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: I876e0c25ff08487eef86db0ccb71c9981c707d32
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2231819
Reviewed-by: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
5 years ago
Arthur Wang 3f0096a72a Set DEPOT_TOOLS_UPDATE='0' assuming depot_tool do not auto update on bot
Bug: 1090603
Change-Id: Ib42c778c69588e44ce95b58eda5bc06b12550e9e
Recipe-Nontrivial-Roll: build
Recipe-Nontrivial-Roll: build_limited_scripts_slave
Recipe-Nontrivial-Roll: chrome_release
Recipe-Nontrivial-Roll: chromiumos
Recipe-Nontrivial-Roll: infra
Recipe-Nontrivial-Roll: skia
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2228810
Commit-Queue: Arthur Wang <wuwang@chromium.org>
Reviewed-by: Josip Sokcevic <sokcevic@google.com>
Reviewed-by: Edward Lesmes <ehmaldonado@chromium.org>
Reviewed-by: Stephen Martinis <martiniss@chromium.org>
5 years ago
recipe-roller 88b4a168c3 Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (recipe_engine) into this repository.

recipe_engine:
  https://crrev.com/9437c958bbdd1c36cdf30996037243048d6a826c (yuanjunh@google.com)
    Parse tags from output prop and set into build.proto for bbagent

More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.

TBR=iannucci@chromium.org

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: I39c88c06fed433f5d60e20fd3d384f151513a790
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2231766
Reviewed-by: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
5 years ago
Bruce Dawson e65444f91d Fix Python3 bugs in package_from_installed.py
The package_from_installed.py script didn't run under Python 3. This
change fixes that and this script now _requires_ Python 3. Requiring
Python 3 was simpler than supporting both, and there is no need to
maintain Python 2.7 support. This script is only ever invoked manually
and all machines it is run on should have Python 3.

Changes included using universal_newlines=True so that
subprocess.check_output returns a string instead of bytes, and
by explicitly converting dict.items() to a list.

Similarly, open(name, 'wb') was changed to open(name,'wt', newline='')
to avoid byte/str problems while still avoiding CR/LF translations.

This also changes the default Windows 10 SDK version to something more
recent - the current version that we build with.

To test:

  python3 package_from_installed.py -d 2019

The use of '-d' makes the script run in test mode which is much faster.

Change-Id: I2e3fc4d464f2914ba5ae36f0a78570ea7e5d4f03
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2224506
Reviewed-by: Edward Lesmes <ehmaldonado@chromium.org>
Commit-Queue: Bruce Dawson <brucedawson@chromium.org>
5 years ago
Edward Lesmes 84620d395a gsutil.py.bat: Skip updating depot_tools if DEPOT_TOOLS_UPDATE=0.
Bug: 1090603
Change-Id: I05ce5628320b36bf81fe7028d8c84427758395f8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2229064
Reviewed-by: Arthur Wang <wuwang@google.com>
Reviewed-by: Josip Sokcevic <sokcevic@google.com>
Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
5 years ago
Mike Frysinger cf77d6e387 repo: update to 2.8 launcher
Bug: None
Test: `repo sync` still works
Change-Id: Idfd893d3e7a81a4a2526eb61b9d45641988c32c0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2212957
Reviewed-by: Sean McAllister <smcallis@google.com>
Commit-Queue: Mike Frysinger <vapier@chromium.org>
5 years ago
Vadim Shtayura 76a2918f55 [lucicfg] Update to 1.14.5.
Adds experimental LUCI Realms support. Fixes minor bug in
luci.builder(...) properties validation.

TBR=tandrii@chromium.org
BUG=1085650, 1082296

Change-Id: I0060bab379dd47580160a15cd39ebca7d18b9961
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2227073
Reviewed-by: Vadim Shtayura <vadimsh@chromium.org>
Commit-Queue: Vadim Shtayura <vadimsh@chromium.org>
5 years ago
recipe-roller e5cd744fe4 Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (recipe_engine) into this repository.

recipe_engine:
  https://crrev.com/ba2e549fc2f9cc837deb0a69789067c74021e38e (zamorzaev@chromium.org)
    cipd: Fix set_ref, set_tag JSON parsing

More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.

TBR=iannucci@chromium.org

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: I428e810dce7bf36f43cf238a58d786e104dfd22a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2227069
Reviewed-by: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
5 years ago
Edward Lesmes 393b040fb4 Add sokcevic@google.com to owners
Change-Id: Iac0797ddb6331d5b07f9919932560519d78c640a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2226049
Reviewed-by: Edward Lesmes <ehmaldonado@chromium.org>
Reviewed-by: Josip Sokcevic <sokcevic@google.com>
Auto-Submit: Edward Lesmes <ehmaldonado@chromium.org>
Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
5 years ago
Andrii Shyshkalov 03a0d5b08c git-cache: delete support for internal repos.
It worked only because of an all-powerful service account on each bot,
which isn't the case any more.

R=sokcevic@google.com

Change-Id: Id66f9cc44cd416e5b61745c0f690d5a91b3b4c67
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2225976
Auto-Submit: Andrii Shyshkalov <tandrii@google.com>
Reviewed-by: Josip Sokcevic <sokcevic@google.com>
Reviewed-by: Edward Lesmes <ehmaldonado@chromium.org>
Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
5 years ago
recipe-roller 24e74c9857 Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (recipe_engine) into this repository.

recipe_engine:
  https://crrev.com/5c575266cf91a14adf9b17c71f4e4e03ad964c24 (olivernewman@google.com)
    [post_process] Make failure output less noisy

More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.

TBR=iannucci@chromium.org

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: I918700ffe59e76b00705da20cb44084e7d87cda9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2225919
Reviewed-by: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
5 years ago
recipe-roller 9d9af18318 Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (recipe_engine) into this repository.

recipe_engine:
  https://crrev.com/8305d8fd87b19e4f63db30ac7ea9d52f1fc2093c (iannucci@chromium.org)
    [cipd] Make ensure_tool concurrency-safe.

More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.

TBR=iannucci@chromium.org

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: I9233b62ff781841ddeb0b92f7704b24f733a0850
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2225917
Reviewed-by: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
5 years ago
Josip Sokcevic 252ff1fead Remove rev-parse --verify FETCH_HEAD
It's not used and causes some problems if refs on clone aren't set
properly.

R=ehmaldonado@chromium.org

Bug: 1049610
Change-Id: I71c1215c9a3355dd54e2d66860d755c6fe8032db
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2224853
Reviewed-by: Edward Lesmes <ehmaldonado@chromium.org>
Commit-Queue: Josip Sokcevic <sokcevic@google.com>
5 years ago
recipe-roller 5c91cb1c2f Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (recipe_engine) into this repository.

recipe_engine:
  https://crrev.com/5da0f45b944e9d5ea50d05d8c52a729a6a085ade (iannucci@chromium.org)
    Always set gevent tracing during simulations.

More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.

TBR=iannucci@chromium.org

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: Ib699b7c09b11cf7ee30393967b3d772e0ded737c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2224850
Reviewed-by: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
5 years ago
Bruce Dawson 3fb1d569de Fix command prompt title after update_depot_tools
Windows has a bug where it sometimes doesn't reset the command prompt
title when a batch file finishes executing. A simple repro is shown
here:

b1.bat:
echo In b1
if 1 == 1 (
  b2.bat
)

b2.bat:
echo In b2

If you run b1.bat then "b1" will stay as the title when the batch files
finish running. The solution is to use "call" followed by "exit".

This bug is particularly annoying when using tabs in the new Windows
Terminal. By working around the bug this makes it so that the tab titles
return to being useful indicators of when a batch file is completed.

A previous fix of this bug (in a different batch file) can be seen in
crrev.com/c/2133303.

Change-Id: Id563f3102751a91f46c5b25ce610af9ec7ab240a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2225340
Reviewed-by: Edward Lesmes <ehmaldonado@chromium.org>
Commit-Queue: Bruce Dawson <brucedawson@chromium.org>
5 years ago
Fumitoshi Ukai 394c4a94db Roll out new goma client binary VERSION=201
80401d72a6

Bug: b/156993891
Change-Id: Ia66e682ac8c86fbc766a281e948073a5a56f23b1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2224616
Reviewed-by: Ye Kuang <yekuang@google.com>
Reviewed-by: Yoshisato Yanagisawa <yyanagisawa@google.com>
Commit-Queue: Fumitoshi Ukai <ukai@google.com>
5 years ago
recipe-roller 99044852de Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (recipe_engine) into this repository.

recipe_engine:
  https://crrev.com/8d23e817d0aa858ca3032a6576a3903caf90e4bf (yiwzhang@google.com)
    Update protos from luci-go

More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.

TBR=iannucci@chromium.org

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: I8425cb61417821d36789bb34ce1608279dc4a7bc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2219822
Reviewed-by: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
5 years ago
recipe-roller b41a5cec3d Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (recipe_engine) into this repository.

recipe_engine:
  https://crrev.com/b52da73829e2147d8473eb84ed9b76b02dce09d0 (olivernewman@google.com)
    Reland "[swarming] Use ensure_tool() to install swarming"

More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.

TBR=iannucci@chromium.org

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: I2949de76a69a747948e412f24c68a94b4f9c3cbb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2223241
Reviewed-by: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
5 years ago
Robert Iannucci b19e1213cf [led] Update to latest version.
This should resolve issues with kitchen tasks complaining about
'impossible' errors.

R=yiwzhang@google.com

Bug: 1015181
Change-Id: Idf8abea7b8585173b6609514a47c81ae00dc1935
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2223101
Commit-Queue: Robbie Iannucci <iannucci@chromium.org>
Commit-Queue: Yiwei Zhang <yiwzhang@google.com>
Auto-Submit: Robbie Iannucci <iannucci@chromium.org>
Reviewed-by: Yiwei Zhang <yiwzhang@google.com>
5 years ago
Nodir Turakulov d5be5daff9 Roll prpc and rdb tools to the latest version
R=vadimsh@chromium.org

Change-Id: I8a0df0566e174e9d688daf8ba3ed4172c90a2af3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2220784
Auto-Submit: Nodir Turakulov <nodir@chromium.org>
Commit-Queue: Vadim Shtayura <vadimsh@chromium.org>
Reviewed-by: Vadim Shtayura <vadimsh@chromium.org>
5 years ago
recipe-roller 721a721d08 Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (recipe_engine) into this repository.

recipe_engine:
  https://crrev.com/58f654b6ca5f282aa70a5ec0a1510e9a6c318ff5 (yiwzhang@google.com)
    [luciexe] support output flag with differnt encoding based on extension

More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.

TBR=iannucci@chromium.org

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: I86e8ac2007e710af32e20c2d3535f047d1be60f7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2219300
Reviewed-by: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
5 years ago
Ryan Harrison 399b81d274 Add standalone tint gclient config
BUG=tint:1

Change-Id: Ie24a17c0d52ade62a4f2eb02d513f33011615113
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2219573
Auto-Submit: Ryan Harrison <rharrison@chromium.org>
Commit-Queue: Jochen Eisinger <jochen@chromium.org>
Reviewed-by: Jochen Eisinger <jochen@chromium.org>
5 years ago