1. 16 Jun, 2022 2 commits
  2. 15 Jun, 2022 3 commits
  3. 14 Jun, 2022 2 commits
  4. 13 Jun, 2022 2 commits
    • Aravind Vasudevan's avatar
      Add protocol_override entry to .gclient · 810598d1
      Aravind Vasudevan authored
      The meta quest browser has an issue with the initial design where the all the dependencies within the same tree are overridden with the solution URL's scheme. This fix updates fetch to add a .gclient entry instead of implicitly overriding the URL's scheme.
      
      Bug: 1336027
      Change-Id: Iabe5b9017f6eb9e682a0c721f43dd5f347ffcbfb
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3703942Reviewed-by: 's avatarJosip Sokcevic <sokcevic@google.com>
      Commit-Queue: Aravind Vasudevan <aravindvasudev@google.com>
      810598d1
    • Aleksey Khoroshilov's avatar
      Reland "Make depot_tools scripts return exit codes properly on all platforms." · 544594e0
      Aleksey Khoroshilov authored
      This reverts commit 6754c49e.
      
      Reason for revert: will be relanded with fixed batch comments that triggered parser error.
      
      Original change's description:
      > Revert "Make depot_tools scripts return exit codes properly on all platforms."
      >
      > This reverts commit 7c4f7ec4.
      >
      > Reason for revert: bugs reported by users (see comments in Gerrit).
      > error: block. was unexpected at this time.
      >
      > Original change's description:
      > > Make depot_tools scripts return exit codes properly on all platforms.
      > >
      > > Changes:
      > > 1. Windows: exit /b %errorlevel% should be used instead of goto :EOF to get valid exit codes during cmd /c <script>.bat invocation.
      > > 2. Windows: delayed var expansion is required in update_depot_tools.bat exit code generation.
      > > 3. Posix: update_depot_tools returns exit code from update_git_repo function in case of a failure.
      > >
      > > A rule of thumb on Windows: goto :EOF should not be used if %errorlevel% must be returned for all possible invocations.
      > >
      > > Test case for update_depot_tools changes:
      > > 1. Make a change to depot_tools sources that will conflict with next depot_tools update
      > > 2. Run update_depot_tools either directly or via gclient
      > > 3. Expect a git error is triggered
      > > 4. Inspect %errorlevel% or $? depending on platform
      > > 5. Expected 1, but the actual result is 0.
      > >
      > > Test case for changes in other .bat files:
      > > 1. Make a change to depot_tools sources that will conflict with next depot_tools update
      > > 2. Run cmd /c gclient
      > > 3. Expect a git error is triggered
      > > 4. Inspect %errorlevel%
      > > 5. Expected 1, but the actual result is 0.
      > >
      > > Change-Id: I64459982bcd9cc3db1319a9b39224b7a7af8c5aa
      > > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3688632
      > > Reviewed-by: Josip Sokcevic <sokcevic@google.com>
      > > Commit-Queue: Josip Sokcevic <sokcevic@google.com>
      > > Auto-Submit: Aleksey Khoroshilov <akhoroshilov@brave.com>
      > > Reviewed-by: Bruce Dawson <brucedawson@chromium.org>
      >
      > Change-Id: I85d598af01d75588cdee77165d6af22270ee031d
      > No-Presubmit: true
      > No-Tree-Checks: true
      > No-Try: true
      > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3694139
      > Auto-Submit: Josip Sokcevic <sokcevic@google.com>
      > Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
      > Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
      
      Change-Id: I377f966ea1b1a567de815caca703b5e124a76b64
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3696396Reviewed-by: 's avatarJosip Sokcevic <sokcevic@google.com>
      Reviewed-by: 's avatarBruce Dawson <brucedawson@chromium.org>
      Commit-Queue: Josip Sokcevic <sokcevic@google.com>
      Auto-Submit: Aleksey Khoroshilov <akhoroshilov@brave.com>
      544594e0
  5. 10 Jun, 2022 2 commits
    • recipe-roller's avatar
      Roll recipe dependencies (trivial). · 6fbb7442
      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/8811716339900330657
      
      recipe_engine:
      https://chromium.googlesource.com/infra/luci/recipes-py.git/+/dfb53acac971bed26ea89cbeeedd748de5ca7938
        dfb53ac (jkusuma@google.com)
            Update resultdb recipe module to support gcs uri.
      
      More info is at https://goo.gl/zkKdpD. 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: I873e31a9bd0d955f7f04b11305874c6f083840e3
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3699409
      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>
      6fbb7442
    • Bruce Dawson's avatar
      Report when vpython (Python 2) is run during presubmits · f2b0421f
      Bruce Dawson authored
      While all Chromium PRESUBMIT.py scripts have been running on Python 2
      for a long time they continue to invoke child scripts under Python 2.
      Part of the reason for slow progress on this transition is that it is
      not easy to tell that this is happening, and most developers probably
      assume that Python 3 presubmits implies a lack of Python 2.
      
      This change adds a warning when it detects Python 2 scripts being run.
      Typical output (edited for clarity) looks like this:
      
        git cl presubmit --files "chrome/updater/tools/*;ppapi/generators/*"
      ...
        Python 2 scripts were run during Python 3 presubmits. Please ask ??? if help is needed in preventing this.
         "depot_tools\pylint-1.5" --args-on-stdin from chrome\updater\tools \
         "depot_tools\pylint-1.5" --args-on-stdin from chrome\updater\tools \
         idl_tests.py from ppapi\generators
      
      If Python 2 scripts launch child scripts, especially if they use
      sys.executable, then they will not be reported. However this is a good
      thing because it means that the report focuses on the top-level scripts
      that drive Python 2 usage.
      
      This change works by modifying vpython.bat to write invocation
      information to a text file. The data in this text file is picked up by
      presubmit_support.py when it finishes running a set of presubmits.
      
      Bug: 1313804
      Change-Id: Ic632b38eae07eca2e02e94358305cc9c998818e9
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3699002Reviewed-by: 's avatarGavin Mak <gavinmak@google.com>
      Commit-Queue: Bruce Dawson <brucedawson@chromium.org>
      f2b0421f
  6. 09 Jun, 2022 4 commits
  7. 08 Jun, 2022 7 commits
  8. 07 Jun, 2022 6 commits
  9. 04 Jun, 2022 1 commit
    • Bruce Dawson's avatar
      Print full path and upgrade details in PyLint warning · 89b222db
      Bruce Dawson authored
      A run of "git cl presubmit --all" shows that PyLint 1.5 is being run
      from nine locations, however the deprecation warnings don't say where.
      This makes it difficult to file bugs or fix the remaining instances.
      This changes the message to list the path to the presubmit that is
      running PyLint 1.5.
      
      This also adds instructions on how to change to version 2.7.
      
      Before:
      
        pylint-1.5 is deprecated, please switch to 2.7 before 2022-07-11
      
      After (with word wrapping):
      
        pylint-1.5 is being run on ...src\tools\find_runtime_symbols
        and is deprecated, please switch to 2.7 before 2022-07-11 (add
        version='2.7' to RunPylint call)
      
      Change-Id: Iece2cb904f5d26ad66e3ab78f7ce7aef1878bfd1
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3688839Reviewed-by: 's avatarJosip Sokcevic <sokcevic@google.com>
      Commit-Queue: Bruce Dawson <brucedawson@chromium.org>
      89b222db
  10. 03 Jun, 2022 5 commits
  11. 02 Jun, 2022 5 commits
  12. 01 Jun, 2022 1 commit