1. 23 Mar, 2022 4 commits
  2. 22 Mar, 2022 3 commits
  3. 21 Mar, 2022 4 commits
  4. 20 Mar, 2022 1 commit
    • Chenlin Fan's avatar
      New vpython in depot_tools · f0bc2d24
      Chenlin Fan authored
      This is a reland of crrev/c/3461263 with fix for crbug/1298289
      
      This change includes commits:
      0a242ce3e02a0e7d9c519601ed4fafb073fc98da Update vpython tests to use py3
      fc06fd6815873bc40819476f88808b61ac447739 Change vpython spec search order
      c6a2eb6ed31e0c815d7f28a42d7f12ee4cb47119 Update to latest virtualenv package.
      038156fc1ffffa56b19c2c60674415eceb95f6bc New virtualenv to vpython.
      ef44f81748a55c3aaf028ccfa2ee11876cee1285 Fix vpython filelock
      275c4196540e1ca41384031b292ad0b89393a5dc Revert "Fix vpython filelock"
      8aadd8b60a6d3801f62c7e5cebdfe3dc828a1546 Fix vpython filelock
      43c99d88a24870240c9ca50d67dcfade40b516cc Use resolved path when searching spec
      ffda9381bc01fd33e3c5a889e2ed374312c64ec6 Don't eval python symbol link on windows
      30a66930f4037fff949d36c45b12f60a40ec524b Include GOARCH to verify cached environment
      748dcd23529b6b138424914f1e6e265ed70d377b [vpython] Add period to log
      
      Bug:1279621,1158462,1278132,1279684
      Change-Id: I224d6abf6e106116da83aa2c34447e8601e48c67
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3530470Reviewed-by: 's avatarJosip Sokcevic <sokcevic@google.com>
      Commit-Queue: Chenlin Fan <fancl@chromium.org>
      f0bc2d24
  5. 18 Mar, 2022 3 commits
  6. 16 Mar, 2022 1 commit
  7. 15 Mar, 2022 2 commits
  8. 14 Mar, 2022 1 commit
  9. 10 Mar, 2022 5 commits
  10. 09 Mar, 2022 2 commits
    • Chris Blume's avatar
      Only call GetVSPath() once · fba3a306
      Chris Blume authored
      Currently, GetVSPath() is called twice. The result if that call is used
      locally in both situations.
      
      This commit makes only one call, passing the result to where it is
      needed.
      
      Change-Id: I186bd7f0387091ad16c2791de99d1de8a89f266c
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3510528
      Auto-Submit: Chris Blume <cblume@chromium.org>
      Reviewed-by: 's avatarBruce Dawson <brucedawson@chromium.org>
      Commit-Queue: Bruce Dawson <brucedawson@chromium.org>
      fba3a306
    • Darshan Sen's avatar
      Fix vpython3 version mismatch error · 1b4881c9
      Darshan Sen authored
      I ran into this error coming from the gclient.py script when I was
      trying to run it on a Cygwin setup on Windows:
      
      ...
      ________ running 'vpython.bat -vpython-spec src/.vpython -vpython-tool install' in '/c/Users/circleci/project'
      Hook 'vpython.bat -vpython-spec src/.vpython -vpython-tool install' took 34.10 secs
      ________ running 'vpython3 -vpython-spec src/.vpython3 -vpython-tool install' in '/c/Users/circleci/project'
      [E2022-02-17T07:07:56.374746Z 10204 0 annotate.go:273] goroutine 1:
      #0 go.chromium.org/luci/vpython/venv/config.go:309 - venv.(*Config).resolvePythonInterpreter()
        reason: none of [C:/Users/circleci/project/vendor/depot_tools/bootstrap-2@3_8_10_chromium_23_binpython3bin/python3] matched specification 3.8.0
      
      #1 go.chromium.org/luci/vpython/venv/config.go:153 - venv.(*Config).resolveRuntime()
        reason: failed to resolve system Python interpreter
      
      #2 go.chromium.org/luci/vpython/venv/venv.go:143 - venv.With()
        reason: failed to resolve python runtime
      
      #3 go.chromium.org/luci/vpython/application/subcommand_install.go:61 - application.(*installCommandRun).Run.func1()
        reason: failed to setup the environment
      ...
      
      Similar to the Windows-only "vpython" -> "vpython.bat" modification, I
      added the necessary code to do it for vpython3 too, i.e.,
      "vpython3" -> "vpython3.bat", and it fixed the problem for me.
      Signed-off-by: 's avatarDarshan Sen <raisinten@gmail.com>
      Change-Id: Iac167ffe61b04a2836b03e620b98ee97b56965e1
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3513473Reviewed-by: 's avatarJosip Sokcevic <sokcevic@google.com>
      Commit-Queue: Josip Sokcevic <sokcevic@google.com>
      1b4881c9
  11. 08 Mar, 2022 3 commits
  12. 05 Mar, 2022 1 commit
    • Bruce Dawson's avatar
      Revert "Support multiple VS installations" · 9ce8be33
      Bruce Dawson authored
      This reverts commit 36d41cef.
      
      Reason for revert: Script references VS_VERSION variable that was
      renamed in the prior change, so it doesn't work.
      
      Original change's description:
      > Support multiple VS installations
      >
      > Currently, package_from_installed.py assumes only one version of VS is
      > installed. It takes the path of the first installation.
      >
      > This could be incorrect in several ways:
      > - Maybe both 2017 and 2019 (the supported versions) are installed and
      >   although the user specified using 2019, the 2017 path comes first.
      > - Maybe 2019 and 2022 are installed, and the 2022 path is used even
      >   though it isn't supported.
      >
      > This CL fixes that issue by parsing the vswhere.exe output to confirm
      > the VS version matches what the user specified, using its corresponding
      > path.
      >
      > Change-Id: I2029a4f7126d0a45b5370ad58ab257df55571b3b
      > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3458722
      > Reviewed-by: Gavin Mak <gavinmak@google.com>
      > Reviewed-by: Chris Blume <cblume@chromium.org>
      > Commit-Queue: Chris Blume <cblume@chromium.org>
      > Auto-Submit: Chris Blume <cblume@chromium.org>
      
      Change-Id: I3d9147a7786f7f54f861087d16967b75d4afe2c5
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3504193
      Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
      Commit-Queue: Bruce Dawson <brucedawson@chromium.org>
      9ce8be33
  13. 04 Mar, 2022 6 commits
  14. 03 Mar, 2022 2 commits
  15. 02 Mar, 2022 2 commits