- 06 Sep, 2022 4 commits
-
-
Josip Sokcevic authored
This is a reland of commit eb16430c Original change's description: > Use io.open for opening files > > Use io.open which is consistent in py2 and py3. > > Bug: 1357152 > Change-Id: I49a3df503026bc6918362a9b5600f57111111111 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3872429 > Reviewed-by: Gavin Mak <gavinmak@google.com> > Commit-Queue: Josip Sokcevic <sokcevic@google.com> Bug: 1357152 Change-Id: I58881c040ca7333f0247875a0c4abe31cf793b08 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3877645 Commit-Queue: Josip Sokcevic <sokcevic@google.com> Auto-Submit: Josip Sokcevic <sokcevic@google.com> Reviewed-by: Gavin Mak <gavinmak@google.com>
-
Marc-Antoine Ruel authored
On macOS, it failed with: Exception in thread git-retry.tee.stderr: Traceback (most recent call last): File "/path/to/cipd's/3.8/lib/python3.8/threading.py", line 932, in _bootstrap_inner self.run() File "$HOME/depot_tools/git_retry.py", line 36, in run self.out_fd.write(line) TypeError: write() argument must be str, not bytes Change-Id: Ib2a77731dee10b6bb2a2ea2a7ffeaf1165e15df6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3873929 Commit-Queue: Josip Sokcevic <sokcevic@google.com> Auto-Submit: Marc-Antoine Ruel <maruel@chromium.org> Reviewed-by: Josip Sokcevic <sokcevic@google.com>
-
recipe-roller authored
This is an automated CL created by the recipe roller. This CL rolls recipe changes from upstream projects (recipe_engine) into this repository. The build that created this CL was https://ci.chromium.org/b/8803747582707170881 recipe_engine: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/176e032023710ba1586c0edb9772cfc6436d360c 176e032 (zhaoyangli@chromium.org) Add LUCI analysis protos to recipes-py recipe_proto Please check the following references for more information: - autoroller, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/workflow.md#autoroller - rollback, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/workflow.md#rollback - cross-repo dependencies, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/cross_repo.md Use https://goo.gl/noib3a to file a bug. R=iannucci@chromium.org Recipe-Tryjob-Bypass-Reason: Autoroller Ignore-Freeze: Autoroller Bugdroid-Send-Email: False Change-Id: I20879fb3a28697d74f2b68e2d8bdd10d11147f4f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3877642 Bot-Commit: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com> Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
-
Philipp Wollermann authored
Release notes: https://g3doc.corp.google.com/devtools/goma/g3doc/client-release-notes/2022/2022-09-06-version-252.md?cl=head Bug: b/244272972 Change-Id: Ie65af836b9b1ba9cbcd954dbd3e9c3827cf833d1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3873376Reviewed-by: Fumitoshi Ukai <ukai@google.com> Commit-Queue: Philipp Wollermann <philwo@google.com> Reviewed-by: Junji Watanabe <jwata@google.com>
-
- 03 Sep, 2022 1 commit
-
-
Thiago Perrotta authored
Currently multiple reviewers can only be provided with a comma-separated list, for example: -r foo,bar,baz This CL adds support for multiple -r arguments such as: -r foo -r bar -r baz Or even: -r foo,bar -r baz This makes it consistent (and thus less confusing) with `git cl upload` which does accept multiple -r arguments. Bug: none Change-Id: I27d03601b488c0c5b27568d86dcb4ed66df6b76f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3863675 Commit-Queue: Thiago Perrotta <tperrotta@chromium.org> Reviewed-by: Aravind Vasudevan <aravindvasudev@google.com> Auto-Submit: Thiago Perrotta <tperrotta@chromium.org>
-
- 02 Sep, 2022 4 commits
-
-
Gavin Mak authored
This reverts commit eb16430c. Reason for revert: blocking upload of CLs, https://crbug.com/1357152#c8 Original change's description: > Use io.open for opening files > > Use io.open which is consistent in py2 and py3. > > Bug: 1357152 > Change-Id: I49a3df503026bc6918362a9b5600f57111111111 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3872429 > Reviewed-by: Gavin Mak <gavinmak@google.com> > Commit-Queue: Josip Sokcevic <sokcevic@google.com> Bug: 1357152 Change-Id: Iec18fe8fd37f28887507d47d7b35b93ccee72375 No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3872487 Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Auto-Submit: Gavin Mak <gavinmak@google.com> Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
-
Josip Sokcevic authored
Use io.open which is consistent in py2 and py3. Bug: 1357152 Change-Id: I49a3df503026bc6918362a9b5600f57111111111 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3872429Reviewed-by: Gavin Mak <gavinmak@google.com> Commit-Queue: Josip Sokcevic <sokcevic@google.com>
-
Josip Sokcevic authored
There are other retries (e.g. in git wrapper, gclient_scm) so we shouldn't be retrying that much in gclient_utils. In ideal case, we have a dedicated place where retries are determined, and we make a retry decision based on stderr / exit code. R=jojwang@google.com Bug: 1359109 Change-Id: I97daa0d991a7294635e54b7a3d85a349c03c04c6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3871979 Commit-Queue: Josip Sokcevic <sokcevic@google.com> Reviewed-by: Joanna Wang <jojwang@chromium.org>
-
recipe-roller authored
This is an automated CL created by the recipe roller. This CL rolls recipe changes from upstream projects (recipe_engine) into this repository. The build that created this CL was https://ci.chromium.org/b/8804176031314957329 recipe_engine: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/d6c8a7cd71594995ceb324f7e68c49c4b252aef4 d6c8a7c (chromium-autoroll@skia-public.iam.gserviceaccount.com) Roll CAS Client from git_revision:f9c708a28b4630d62f33f325d71a2... Please check the following references for more information: - autoroller, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/workflow.md#autoroller - rollback, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/workflow.md#rollback - cross-repo dependencies, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/cross_repo.md Use https://goo.gl/noib3a to file a bug. R=iannucci@chromium.org Recipe-Tryjob-Bypass-Reason: Autoroller Ignore-Freeze: Autoroller Bugdroid-Send-Email: False Change-Id: I8e3be60d3057f2d9f8df79cfdd4c499cbc457a17 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3869616 Bot-Commit: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com> Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
-
- 01 Sep, 2022 2 commits
-
-
Joanna Wang authored
Bug: 1354709, b/242209562 Change-Id: I48b5575c7a4b8855a8b1f95ced24acadaea39a59 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3865737 Commit-Queue: Aravind Vasudevan <aravindvasudev@google.com> Auto-Submit: Joanna Wang <jojwang@chromium.org> Reviewed-by: Aravind Vasudevan <aravindvasudev@google.com>
-
recipe-roller authored
This is an automated CL created by the recipe roller. This CL rolls recipe changes from upstream projects (recipe_engine) into this repository. The build that created this CL was https://ci.chromium.org/b/8804247752404062257 recipe_engine: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/4e6762a8d370c144f7ea6f3a7aae90132d966028 4e6762a (chromium-autoroll@skia-public.iam.gserviceaccount.com) Roll CAS Client from 28997a29e35b to f9c708a28b46 Please check the following references for more information: - autoroller, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/workflow.md#autoroller - rollback, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/workflow.md#rollback - cross-repo dependencies, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/cross_repo.md Use https://goo.gl/noib3a to file a bug. R=iannucci@chromium.org Recipe-Tryjob-Bypass-Reason: Autoroller Ignore-Freeze: Autoroller Bugdroid-Send-Email: False Change-Id: If2d9b08b17c9c43fcc9740c829803d8d3413110b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3868609 Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com> Bot-Commit: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
-
- 31 Aug, 2022 2 commits
-
-
Josip Sokcevic authored
Our Windows CI machine may take longer than 10s to process hooks resulting in an extra block of information being printed. This change updates the affected test to handle both fast and slow cases. R=gavinmak@google.com Fixed: 1352364 Change-Id: I62edbe49c0efc16cfed2bc218220840120c81c0a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3867544 Commit-Queue: Josip Sokcevic <sokcevic@google.com> Reviewed-by: Gavin Mak <gavinmak@google.com> Commit-Queue: Gavin Mak <gavinmak@google.com> Auto-Submit: Josip Sokcevic <sokcevic@google.com>
-
Josip Sokcevic authored
This is a reland on 988c0af5 R=aravindvasudev@google.com Bug: 1357152 Recipe-Nontrivial-Roll: build Change-Id: I93f8056908b50a7f41df488cfae200408d91e11b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3858159Reviewed-by: Aravind Vasudevan <aravindvasudev@google.com> Commit-Queue: Josip Sokcevic <sokcevic@google.com>
-
- 30 Aug, 2022 3 commits
-
-
Thiago Perrotta authored
Vanilla git has a git-send-email(1) subcommand. `git cl upload` should follow suit by using the same flag name to be consistent and avoid confusion. [1]: https://git-scm.com/docs/git-send-email Bug: none Change-Id: I47ff8e03bd11915e99804fe1695046d874efc4e0 Tested: `git cl upload --send-email` to upload this very own CL Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3854330Reviewed-by: Aravind Vasudevan <aravindvasudev@google.com> Commit-Queue: Aravind Vasudevan <aravindvasudev@google.com> Auto-Submit: Thiago Perrotta <tperrotta@chromium.org>
-
Josip Sokcevic authored
This change also updates version of git documentation to match one used in depot_tools, asciidoc, and ansi2html. It also fixes reset signal. R=gavinmak@google.com Bug: 1357152 Change-Id: I998e7434dde8d82b491376b47a5993c6d91d64a8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3856830Reviewed-by: Gavin Mak <gavinmak@google.com> Commit-Queue: Josip Sokcevic <sokcevic@google.com>
-
Junji Watanabe authored
Release note: https://g3doc.corp.google.com/devtools/goma/g3doc/client-release-notes/2022/2022-08-30-version-251.md?cl=head Bug: b/238955348 Change-Id: I2a13a6982867919e60258c5dd4595a0abd63c436 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3864539 Auto-Submit: Junji Watanabe <jwata@google.com> Commit-Queue: Junji Watanabe <jwata@google.com> Reviewed-by: Takuto Ikuta <tikuta@chromium.org>
-
- 29 Aug, 2022 2 commits
-
-
Garrett Beaty authored
Change-Id: I75be1231fd695459abfdc88af3ccc0ec5cdfde1e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3862407 Auto-Submit: Garrett Beaty <gbeaty@google.com> Commit-Queue: Josip Sokcevic <sokcevic@google.com> Reviewed-by: Josip Sokcevic <sokcevic@google.com>
-
Joanna Wang authored
Bug: 1354709, b/242209562 Change-Id: I4a53efa0e633979f5a38a5618553e0b8fc243cca Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3863963 Auto-Submit: Joanna Wang <jojwang@chromium.org> Reviewed-by: Aravind Vasudevan <aravindvasudev@google.com> Commit-Queue: Aravind Vasudevan <aravindvasudev@google.com>
-
- 26 Aug, 2022 2 commits
-
-
recipe-roller authored
This is an automated CL created by the recipe roller. This CL rolls recipe changes from upstream projects (recipe_engine) into this repository. The build that created this CL was https://ci.chromium.org/b/8804766169701242529 recipe_engine: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/a6f21e9dfe6a20329a4e5a97f569ee7fe0a60263 a6f21e9 (chromium-autoroll@skia-public.iam.gserviceaccount.com) Roll CAS Client from b85c4e34cc95 to 3226112a79a7 Please check the following references for more information: - autoroller, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/workflow.md#autoroller - rollback, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/workflow.md#rollback - cross-repo dependencies, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/cross_repo.md Use https://goo.gl/noib3a to file a bug. R=iannucci@chromium.org Recipe-Tryjob-Bypass-Reason: Autoroller Ignore-Freeze: Autoroller Bugdroid-Send-Email: False Change-Id: Ifd987c01d823061f9313b1e3c9b050367f250681 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3858138 Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com> Bot-Commit: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
-
recipe-roller authored
This is an automated CL created by the recipe roller. This CL rolls recipe changes from upstream projects (recipe_engine) into this repository. The build that created this CL was https://ci.chromium.org/b/8804790076741010753 recipe_engine: https://chromium.googlesource.com/infra/luci/recipes-py.git/+/d9f13ea5698a3b57a32f43ca5c19ba5f8387d992 d9f13ea (tikuta@chromium.org) internal: show more information in exception steps Please check the following references for more information: - autoroller, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/workflow.md#autoroller - rollback, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/workflow.md#rollback - cross-repo dependencies, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/cross_repo.md Use https://goo.gl/noib3a to file a bug. R=iannucci@chromium.org Recipe-Tryjob-Bypass-Reason: Autoroller Ignore-Freeze: Autoroller Bugdroid-Send-Email: False Change-Id: I8a8377edf09ae0749e7e29fe6799e272146a2f24 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3858132 Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com> Bot-Commit: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
-
- 23 Aug, 2022 4 commits
-
-
Mike Frysinger authored
Change-Id: I22ea0516ce3e37d70802d4ba41fe586611360de6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3849004Reviewed-by: Sergey Frolov <sfrolov@google.com> Commit-Queue: Mike Frysinger <vapier@chromium.org>
-
Mike Frysinger authored
Change-Id: I7c05247729f4b569c9d6a95813d8849972c9b985 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3849003Reviewed-by: Cindy Lin <xcl@google.com> Commit-Queue: Cindy Lin <xcl@google.com> Auto-Submit: Mike Frysinger <vapier@chromium.org> Commit-Queue: Mike Frysinger <vapier@chromium.org>
-
Takuto Ikuta authored
This removes backslash from log like ``` Python 2 scripts were run during Python 2 presubmits. Please see https://bugs.chromium.org/p/chromium/issues/detail?id=1313804#c61 for tips on resolving this. scripts/common/env.py print from /usr/local/google/home/tikuta/chrome_infra/build \ /usr/local/google/home/tikuta/chrome_infra/build/recipes/unittests/recipe_test.py from /usr/local/google/home/tikuta/chrome_infra/build \ -u /usr/local/google/home/tikuta/chrome_infra/build/recipes/.recipe_deps/recipe_engine/recipe_engine/main.py --package /usr/local/google/home/tikuta/chrome_infra/build/infra/config/recipes.cfg test run from /usr/local/google/home/tikuta/chrome_infra/build \ -u /usr/local/google/home/tikuta/chrome_infra/build/recipes/.recipe_deps/recipe_engine/recipe_engine/main.py --package /usr/local/google/home/tikuta/chrome_infra/build/infra/config/recipes.cfg --proto-override /usr/local/google/home/tikuta/chrome_infra/build/recipes/.recipe_deps/_pb --log-level ERROR -O depot_too ls=/usr/local/google/home/tikuta/chrome_infra/build/recipes/.recipe_deps/depot_tools -O chromiumos_proto=/usr/local/google/home/tikuta/chrome_infra/build/recipes/.recipe_deps/chromiumos_proto -O infra=/usr/local/google/home/tikuta/chrome_infra/build/recipes/.recipe_deps/infra -O recipe_engine=/usr/local/google/home /tikuta/chrome_infra/build/recipes/.recipe_deps/recipe_engine -O chromeos=/usr/local/google/home/tikuta/chrome_infra/build/recipes/.recipe_deps/chromeos -O chromiumos_config=/usr/local/google/home/tikuta/chrome_infra/build/recipes/.recipe_deps/chromiumos_config test _runner --cov-file /tmp/tmpqNhYvj.recipe_test_cov erage/thread-0.coverage --cover-module-imports from /usr/local/google/home/tikuta/chrome_infra/build \ ``` I think this backslash is bit confusing there. Change-Id: If5911e27808cfcde029d5ea2b34dda06847085ff Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3827922 Commit-Queue: Takuto Ikuta <tikuta@chromium.org> Auto-Submit: Takuto Ikuta <tikuta@chromium.org> Reviewed-by: Bruce Dawson <brucedawson@chromium.org>
-
Takuto Ikuta authored
This improves output from ninja a bit on Windows when NINJA_SUMMARIZE_BUILD is set. The trailing space was removed in https://crrev.com/c/3400399. Change-Id: Ifb14129a436a2673969f529d0c9143118dd87d6b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3833272 Auto-Submit: Takuto Ikuta <tikuta@chromium.org> Reviewed-by: Bruce Dawson <brucedawson@chromium.org> Commit-Queue: Takuto Ikuta <tikuta@chromium.org>
-
- 22 Aug, 2022 1 commit
-
-
Josip Sokcevic authored
It's possible to change DEPS git repository while keeping the same source. This is useful feature, for example if upstream repository moves from github to gitlab. The repositories can be out of sync, or even diverge. We use git alternatives to save disk space. If a builder flip-flops between mirror repositories (e.g. case with different release branches), it's possible that new mirror doesn't contain all necessary objects that are present in the old repositories. That will result in invalid git pointer entries and fetch operations will fail. Instead of replacing git alternatives, we append new git alternatives to avoid such problem. R=bpastene@google.com, jojwang@google.com Bug: b/241802975 Change-Id: I3ef025603af58a84692a68bf3b780c47b6d3ae46 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3843133Reviewed-by: Ben Pastene <bpastene@chromium.org> Reviewed-by: Joanna Wang <jojwang@chromium.org> Commit-Queue: Josip Sokcevic <sokcevic@google.com>
-
- 18 Aug, 2022 3 commits
-
-
Samuel Attard authored
On windows paths with spaces some cipd and depot_tools bootstrap commands were failing due to misquoting or syntax that didn't support such paths. This ensures that a clean bootstrap on a path such as "C:/Foo Bar/depot_tools" works as expected. Change-Id: Ib516d16ed7809635369399f3df0eff2269ff6e2b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3834965Reviewed-by: Josip Sokcevic <sokcevic@google.com> Commit-Queue: Josip Sokcevic <sokcevic@google.com>
-
Michael Savigny authored
At the moment reclient isn't supported for developer builds. Add messaging to autoninja to indicate this if a developer attempts a build with use_remoteexec set. Bug:b/199192766 Change-Id: I9e016a09c98b756018505f661afdb6eaf3db3243 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3839070 Commit-Queue: Michael Savigny <msavigny@google.com> Reviewed-by: Josip Sokcevic <sokcevic@google.com>
-
Takuto Ikuta authored
This will be used in ChromeOS build_packages. Bug: b/242680623, b/203606263 Change-Id: I3eedec7b245405c24091db43a450181a270d1305 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3833266Reviewed-by: Fumitoshi Ukai <ukai@google.com> Commit-Queue: Takuto Ikuta <tikuta@chromium.org>
-
- 16 Aug, 2022 2 commits
-
-
Josip Sokcevic authored
If a wrong command name is used (e.g. typo), cmdhelp is triggered. However, if user specifies any additional arguments (other than -h), then user is presented with not so useful message. This CL calls cmdhelp with no arguments. Fixed: 1352093 Change-Id: I30c0b5f580f18b4fa2cb59d3195b67bb083f3442 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3828794Reviewed-by: Aravind Vasudevan <aravindvasudev@google.com> Commit-Queue: Josip Sokcevic <sokcevic@google.com>
-
Zhaoyang Li authored
The roll in depot_tools enables uploading Xcode in legacy format and not excluding some folders at upload. Bug: 1348212 Change-Id: I2a6b635a6c236bf2eedbbf7855da3c0d58b4abaa Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3834034Reviewed-by: Chan Li <chanli@chromium.org> Commit-Queue: Zhaoyang Li <zhaoyangli@chromium.org>
-
- 12 Aug, 2022 3 commits
-
-
Yuanjun Huang authored
To release https://chromium-review.googlesource.com/c/infra/luci/luci-go/+/3825181 Bug:1347622 Change-Id: Ib5daf9fa35b764b6a3b37e36c7daa8fd94625817 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3825397Reviewed-by: Chan Li <chanli@chromium.org> Commit-Queue: Yuanjun Huang <yuanjunh@google.com>
-
Bruce Dawson authored
When running presubmits you can tell if Python 2 presubmits are running, but it's subtle, and it isn't obvious which presubmits are running under Python 2. This makes it obvious by always printing the path to PRESUBMIT.py scripts that are run under Python 2. This change also fixes a bug in the --verbose logic - it would print that a script was running before evaluating _ShouldRunPresubmit. Bug: 1352347 Change-Id: I45213acdb3b37f7be0713e5caba775841704817c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3826917 Commit-Queue: Bruce Dawson <brucedawson@chromium.org> Reviewed-by: Aravind Vasudevan <aravindvasudev@google.com>
-
Bruce Dawson authored
This reverts commit ba352e00. Reason for revert: Unfortunately this breaks this command when run from a normal cmd.exe prompt: autoninja ..\..\base\win\access_token.cc^^ The escaping of ^^ as it passes through batch files is very finicky, but important. Original change's description: > Update autoninja.bat to work with other shells. > > Other shells, such as TCC, have subtle differences in how batch files are processed. This will not break cmd.exe compatibility. > > Without the "call" command, running a nested batch file should, according to CMD.exe "rules", cancel the current batch file and run the new one. However, the 'FOR /f "usebackq"' command will call the batch file and return. One could argue for both approaches, however, adding the "call" command doesn't seem to affect cmd.exe and fixes the other shell. > > There is a similar issue with the "do" (in the FOR command) block and the use of the '&' separator. The '%a' variable isn't expanded, but adding the '()' block works in both instances. > > Bug: 1351817 > Change-Id: Idd685a64404ea950b71e1f3cc0f5d1e3bf13b8b6 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3824199 > Commit-Queue: Allen Bauer <kylixrd@chromium.org> > Reviewed-by: Bruce Dawson <brucedawson@chromium.org> Bug: 1351817 Change-Id: I9d204a3369c468664c0cff247ed1a53065dfebfd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3829729 Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Commit-Queue: Bruce Dawson <brucedawson@chromium.org>
-
- 11 Aug, 2022 1 commit
-
-
Chan Li authored
To release https://chromium-review.googlesource.com/c/infra/infra/+/3827304 Bug: 1349169 Change-Id: If1ac56926bf97c1ce3b373d67e077d120d78fbbd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3828041Reviewed-by: Robbie Iannucci <iannucci@chromium.org> Commit-Queue: Chan Li <chanli@chromium.org>
-
- 10 Aug, 2022 6 commits
-
-
Gavin Mak authored
ListOwners returns all OWNERS for a file, which is undesirable in cases when only direct OWNERS are needed. Bug: 1351212, 1351519 Change-Id: I693b6645c780aa589e8ab24d0b58691f4aeb30f6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3823299Reviewed-by: Aravind Vasudevan <aravindvasudev@google.com> Commit-Queue: Gavin Mak <gavinmak@google.com>
-
Vadim Shtayura authored
This adds new optional fields to -json-output: { ... "error_code": see cipderr.go for possible values. "error_details": { "package": "package/path/or/prefix", "version": "instance version", "subdir": "installation subdir" } } R=iannucci@chromium.org, ddoman@chromium.org BUG=1348065 Change-Id: I2a2bf01c180330f83fcf6813150ea1d4faef79c0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3824200Reviewed-by: Scott Lee <ddoman@chromium.org> Commit-Queue: Vadim Shtayura <vadimsh@chromium.org>
-
Allen Bauer authored
Other shells, such as TCC, have subtle differences in how batch files are processed. This will not break cmd.exe compatibility. Without the "call" command, running a nested batch file should, according to CMD.exe "rules", cancel the current batch file and run the new one. However, the 'FOR /f "usebackq"' command will call the batch file and return. One could argue for both approaches, however, adding the "call" command doesn't seem to affect cmd.exe and fixes the other shell. There is a similar issue with the "do" (in the FOR command) block and the use of the '&' separator. The '%a' variable isn't expanded, but adding the '()' block works in both instances. Bug: 1351817 Change-Id: Idd685a64404ea950b71e1f3cc0f5d1e3bf13b8b6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3824199 Commit-Queue: Allen Bauer <kylixrd@chromium.org> Reviewed-by: Bruce Dawson <brucedawson@chromium.org>
-
Bruce Dawson authored
Pylint uses parallelism to improve performance, but high startup costs means that this only makes sense if there are lots of files to be processed. So, a while ago a change was made such that if there are fewer than ten files to be analyzed then no parallelism is used. Our Pylint wrapper also has a hack where it does one type of check in serial mode, because that is the only time it is reliable. This requires running Pylint twice, which is expensive. If there are a small enough number of files to analyze then we will be doing serial analysis anyway, so there is no need to do two separate runs. In this test case: git cl presubmit -v --files tools\code_coverage\create_js_source_maps\test\create_js_source_maps_test.py the cost of Pylint is dropped roughly in half, from six seconds to three seconds, by eliminating one of the three-second runs. Bug: 1309977 Change-Id: I2e5e96a86d1d76b127f481af7478d807c042b609 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3812436Reviewed-by: Aravind Vasudevan <aravindvasudev@google.com> Commit-Queue: Bruce Dawson <brucedawson@chromium.org>
-
Thiago Perrotta authored
Bug: None Tested: `fetch gn` Change-Id: Icaa673d3932c220da111166af91d3d30b4b721af Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3818401Reviewed-by: Aravind Vasudevan <aravindvasudev@google.com> Auto-Submit: Thiago Perrotta <tperrotta@chromium.org> Commit-Queue: Thiago Perrotta <tperrotta@chromium.org>
-
Robert Liao authored
This update is per http://crrev.com/1031130 where OSS licensing requested removal of "All rights reserved" from new files. Change-Id: I52a9deab99539ea90403798606c7bbeb261df994 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3811744 Commit-Queue: Bruce Dawson <brucedawson@chromium.org> Auto-Submit: Robert Liao <robliao@chromium.org> Reviewed-by: Bruce Dawson <brucedawson@chromium.org>
-