Commit Graph

246 Commits (main)

Author SHA1 Message Date
Anne Redulla 7c4bd3f94e [win-bootstrap] Update the comments in update_depot_tools.bat
Also adds an echo to win_tools.bat so a user will know when the
bootstrapping script is skipped after a CIPD install error.
This should hopefully help when troubleshooting.

Bug: b/360206460
Change-Id: Ic8bfcbddfe4681a7716ca9f3793d045e0de704cf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6242904
Reviewed-by: Josip Sokcevic <sokcevic@chromium.org>
Commit-Queue: Anne Redulla <aredulla@google.com>
3 weeks ago
Anne Redulla b48765e850 [win-bootstrap] Remove git from CIPD manifest
Bug: b/360206460
Change-Id: I2d61a3b31cea92813fc2ceb6401dd9e70302c764
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6217700
Reviewed-by: Josip Sokcevic <sokcevic@chromium.org>
Commit-Queue: Anne Redulla <aredulla@google.com>
4 weeks ago
Anne Redulla 9f48a4ca85 [win-bootstrap] Update docs for removal of git
Bug: b/360206460
Change-Id: I19da03909a082ac0414b751bf316600fa1bed403
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6205107
Commit-Queue: Anne Redulla <aredulla@google.com>
Reviewed-by: Josip Sokcevic <sokcevic@chromium.org>
1 month ago
Anne Redulla af7eadb024 [win-bootstrap] Remove git from bleeding edge CIPD manifest
Git is no longer installed by depot_tools (it should have been
installed directly). Thus, it can be removed from the bootstrap
manifest.

This CL applies the change to `manifest_bleeding_edge.txt`
first, to canary the change.

Bug: b/360206460
Change-Id: I78ced461bc68c33c9979668df1e275ccba6cd2e8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6205606
Reviewed-by: Josip Sokcevic <sokcevic@chromium.org>
Commit-Queue: Anne Redulla <aredulla@google.com>
1 month ago
Anne Redulla db9a0b01c2 [win-bootstrap] Exit with error if no Git in PATH
Bug: b/360206460
Change-Id: I5da52de0e050f4e6b9e484052d1e9ddacb79e8ad
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6171044
Reviewed-by: Josip Sokcevic <sokcevic@chromium.org>
Reviewed-by: Allen Li <ayatane@chromium.org>
Commit-Queue: Anne Redulla <aredulla@google.com>
1 month ago
Anne Redulla a90906c74d [win-bootstrap] Never add docs to Git
Bug: b/360206460
Change-Id: Ic285b8e3dc38524a184c0e01dbfdaf9b403ce19a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6171043
Reviewed-by: Josip Sokcevic <sokcevic@chromium.org>
Reviewed-by: Allen Li <ayatane@chromium.org>
Commit-Queue: Anne Redulla <aredulla@google.com>
1 month ago
Anne Redulla 426728b6e2 [win-bootstrap] Remove use-system-git flag
Bug: b/360206460
Change-Id: I1654c4cce2da4bd53df90ffdfc13c4f7336ab975
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6171042
Reviewed-by: Josip Sokcevic <sokcevic@chromium.org>
Reviewed-by: Allen Li <ayatane@chromium.org>
Commit-Queue: Anne Redulla <aredulla@google.com>
1 month ago
Anne Redulla 7a9c61df56 [win-bootstrap] Specify date for Git for Windows unbundling
Bug: b/360206460
Change-Id: I6b666ab76d36a268c7de8de7fe11fe49380c6a46
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6171041
Reviewed-by: Allen Li <ayatane@chromium.org>
Reviewed-by: Josip Sokcevic <sokcevic@chromium.org>
Commit-Queue: Anne Redulla <aredulla@google.com>
1 month ago
Anne Redulla 06029eb98c [win-bootstrap] Log warning if reading global Git config fails
Logs a warning if reading the config fails. Still logs a warning for
recommended settings, so the user can create their global config.

Annoyingly, the exit code is the same for missing config file as it is
for an existing but invalid file.

Bug: b/382395049
Change-Id: I81113ff248f7a5eed2f9fd0303e0e81ae80d7d3e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6086756
Reviewed-by: Josip Sokcevic <sokcevic@chromium.org>
Commit-Queue: Anne Redulla <aredulla@google.com>
3 months ago
Anne Redulla 719139c30a [win-bootstrap] Use git config commands supported by older versions
In git 2.41, both `list` and `unset` are only options, `--list` and `--unset` respectively. See https://git-scm.com/docs/git-config/2.41.0

These modes are deprecated in later versions; it is recommended to
migrate to the newer syntax, but the old syntax is still supported.

Bug: b/382395049
Change-Id: I9150983084b91279e4f4587a80737e6813937cd6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6083215
Commit-Queue: Anne Redulla <aredulla@google.com>
Reviewed-by: Peter Boström <pbos@chromium.org>
Owners-Override: Anne Redulla <aredulla@google.com>
3 months ago
Anne Redulla b4382c66d9 [win-bootstrap] Only update mismatching settings in global git config
Change-Id: I781a2b6cb11f8a13f4555bffc522f8dd85c40351
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6073289
Reviewed-by: Allen Li <ayatane@chromium.org>
Commit-Queue: Anne Redulla <aredulla@google.com>
Reviewed-by: Josip Sokcevic <sokcevic@chromium.org>
3 months ago
Anne Redulla dfa51ea88b [win-bootstrap] Include manual instructions in git bootstrap warning
Bug: b/382395049
Change-Id: I61aab102f68b2a30d1095e89d2d3b9ee46aa8480
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6072989
Commit-Queue: Anne Redulla <aredulla@google.com>
Reviewed-by: Josip Sokcevic <sokcevic@chromium.org>
3 months ago
Anne Redulla 675c4e57ea [win-bootstrap] Update warning to specify agreement is to automatic updates
Bug: b/382395049
Change-Id: I6e9aa9521f1f101590b292eb1f8d381cf3c88de8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6072988
Reviewed-by: Josip Sokcevic <sokcevic@chromium.org>
Commit-Queue: Anne Redulla <aredulla@google.com>
Reviewed-by: Allen Li <ayatane@chromium.org>
3 months ago
Anne Redulla b906c107a8 [win-bootstrap] Determine whether any git config values need to be changed
The Windows global Git config bootstrapping shows a warning if you have
not agreed to depot_tools automatically managing your global Git config.

To silence this warning, a user must either:
(1) explicitly allow to automatic management; or
(2) explicitly deny automatic management.

This CL adds a third way to prevent the warning:
(3) The existing global Git config already has the desired values.

Consequently, depot-tools.gitPostprocessVersion is redundant
and has been removed.

Bug: b/382395049
Change-Id: I18260962ee9647578e61993b191e9f76e99b342b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6072987
Commit-Queue: Anne Redulla <aredulla@google.com>
Reviewed-by: Josip Sokcevic <sokcevic@chromium.org>
3 months ago
Anne Redulla a487155ccf [win-bootstrap] Expand comment for auto-configured early exit
Bug: b/382395049
Change-Id: Ic45c472931c438eb16934cb17c13856b06a776bb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6072986
Reviewed-by: Josip Sokcevic <sokcevic@chromium.org>
Reviewed-by: Allen Li <ayatane@chromium.org>
Commit-Queue: Anne Redulla <aredulla@google.com>
3 months ago
Anne Redulla fccf516910 [win-bootstrap] Make using system Git default
This CL makes searching for an existing system installation of Git
the default behavior.

If a direct Git installation is not found, a warning will be
logged and the bundled Git for Windows will be used instead.

Bug: b/360206460
Change-Id: I48d68b2bf193865ca573199b42e7838c28f1e3cb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6068030
Reviewed-by: Allen Li <ayatane@chromium.org>
Commit-Queue: Anne Redulla <aredulla@google.com>
Reviewed-by: Josip Sokcevic <sokcevic@chromium.org>
3 months ago
Henrique Ferreiro 81ec8e2aa5 Stop setting git config protocol.version
Git has been using version 2 of their wire protocol by default since
2.26, released in 2020. Stop setting it explicitely.

Change-Id: Ibc93a672b41c5a8183bc3200c506006f6e08af94
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6070782
Commit-Queue: Josip Sokcevic <sokcevic@chromium.org>
Reviewed-by: Josip Sokcevic <sokcevic@chromium.org>
3 months ago
Anne Redulla c35fbb2ecb [win-bootstrap] Bootstrap Git config global-level instead of system
Modifying the system-level Git config may require admin privileges,
depending on where Git was installed.

This CL makes the bootstrap.py script target a user's Git config
at the global level, instead of system level.

Checks the global Git config for postprocess version and explicit
enabling of global config changing. Logs a warning if out of date
and not enabled so the user knows how to agree to global config
changes.

Bug: b/379888465, b/360206460
Change-Id: I9be395b64d5429f85514397918f4a6140dfe2a1a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6034204
Reviewed-by: Allen Li <ayatane@chromium.org>
Reviewed-by: Josip Sokcevic <sokcevic@chromium.org>
Commit-Queue: Anne Redulla <aredulla@google.com>
3 months ago
Anne Redulla fbb90a5af2 [win-bootstrap] Use flag to enable direct install git
By default it's false and the bundled git is used.

Bug: b/379888465
Change-Id: I7d3d91da2ade6534d5b80479a050d6f608c16b2e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6033861
Reviewed-by: Josip Sokcevic <sokcevic@chromium.org>
Auto-Submit: Anne Redulla <aredulla@google.com>
Commit-Queue: Josip Sokcevic <sokcevic@chromium.org>
3 months ago
Zhonghao Huang b6a5ecc88a Add try-catch for os.path.commonpath to handle paths on different drives
Enhanced the function to use a try-catch block around os.path.commonpath
to gracefully handle cases where file paths are located on different drives.
This ensures compatibility and prevents errors related to drive differences.

R=aredulla@google.com, ayatane@chromium.org, sokcevic@chromium.org

Bug: b/360206460
Change-Id: Iee51ba282fd85d211194d8678765a72783727db5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6018123
Reviewed-by: Josip Sokcevic <sokcevic@chromium.org>
Commit-Queue: Josip Sokcevic <sokcevic@chromium.org>
4 months ago
Anne Redulla 25f9761514 Prefer direct git installation for Windows
Bug: b/360206460
Change-Id: I7068b201b0b976ac619db16ff16d5ffbe5aea362
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5884196
Reviewed-by: Allen Li <ayatane@chromium.org>
Reviewed-by: Josip Sokcevic <sokcevic@chromium.org>
Commit-Queue: Anne Redulla <aredulla@google.com>
4 months ago
Brian Ryner 61a919010a New cpython3 and vpython3 packages to depot_tools.
cpython3 notably has a fix for bug 40148998

vpython3 changes:
85f17b39dc4cd404444e3567371fc2c2ee80b733 cipkg: url action should return error for 4xx, 5xx http response
074c3f38e2059adab777b0fcf38b6861114b0306 vpython: Recognize linux_riscv64 in PlatformForPEP425Tag.

Bug: 40148998
Change-Id: Ie2e136e814cb62d8c5e8e2a380dfc0701a8f761f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5435876
Reviewed-by: Yiwei Zhang <yiwzhang@google.com>
Commit-Queue: Brian Ryner <bryner@google.com>
11 months ago
Brian Ryner 880c680f58 New cpython3 to depot_tools bleeding_edge.
Bug: 40148998
Change-Id: I05fedfb04a83f6759a88771746378857a012e93a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5385017
Commit-Queue: Josip Sokcevic <sokcevic@chromium.org>
Reviewed-by: Josip Sokcevic <sokcevic@chromium.org>
Auto-Submit: Brian Ryner <bryner@google.com>
11 months ago
Josip Sokcevic 312cd0453c Reland^3 "Upgrade python to 3.11"
This is a reland of commit 6a9dd48b27

Bug: 1500415
Change-Id: I9de26bf55de10da15d7c809cc9223b36b7ae31f1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5189582
Reviewed-by: Brian Ryner <bryner@google.com>
Commit-Queue: Josip Sokcevic <sokcevic@chromium.org>
1 year ago
Josip Sokcevic 8d14454ba4 Remove python2 from bootstrap
With this change, python2[.bat] will no longer be available in
depot_tools root. vpython continues to work.

Bug: 1376538
Change-Id: Iabe22e4e33d0d79d258068c90128da8de4d3ece1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5170265
Reviewed-by: Gavin Mak <gavinmak@google.com>
Reviewed-by: Brian Ryner <bryner@google.com>
Commit-Queue: Josip Sokcevic <sokcevic@chromium.org>
1 year ago
Josip Sokcevic 783c919a44 Revert "Upgrade python to 3.11"
This reverts commit 6a9dd48b27.

Reason for revert: breaks release branches

Original change's description:
> Reland "Reland "Upgrade python to 3.11""
>
> This is a reland of commit 32c1207c9e
>
> Original change's description:
> > Reland "Upgrade python to 3.11"
> >
> > This is a reland of commit 6a167d1e1f
> >
> > Original change's description:
> > > Upgrade python to 3.11
> > >
> > > R=bryner
> > >
> > > Bug: 1500415
> > > Change-Id: Ie379744131f7a9ced204a31f21079cb697c889a6
> > > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5030767
> > > Reviewed-by: Brian Ryner <bryner@google.com>
> > > Commit-Queue: Josip Sokcevic <sokcevic@chromium.org>
> >
> > Bug: 1500415
> > Change-Id: I0cce81772186a26c3bdb67c5b49ce383b8a1443e
> > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5118884
> > Commit-Queue: Peter Wen <wnwen@chromium.org>
> > Reviewed-by: Brian Ryner <bryner@google.com>
>
> Bug: 1500415
> Change-Id: I01872caa1bb0bf75e3696edb7bb07dc33aeb6ce6
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5165860
> Reviewed-by: Brian Ryner <bryner@google.com>
> Commit-Queue: Josip Sokcevic <sokcevic@chromium.org>

Bug: 1500415
Change-Id: I55a6f75d1003bcbc2236cf15c6e556f1ed842b92
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5170270
Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Auto-Submit: Josip Sokcevic <sokcevic@chromium.org>
1 year ago
Josip Sokcevic 6a9dd48b27 Reland "Reland "Upgrade python to 3.11""
This is a reland of commit 32c1207c9e

Original change's description:
> Reland "Upgrade python to 3.11"
>
> This is a reland of commit 6a167d1e1f
>
> Original change's description:
> > Upgrade python to 3.11
> >
> > R=bryner
> >
> > Bug: 1500415
> > Change-Id: Ie379744131f7a9ced204a31f21079cb697c889a6
> > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5030767
> > Reviewed-by: Brian Ryner <bryner@google.com>
> > Commit-Queue: Josip Sokcevic <sokcevic@chromium.org>
>
> Bug: 1500415
> Change-Id: I0cce81772186a26c3bdb67c5b49ce383b8a1443e
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5118884
> Commit-Queue: Peter Wen <wnwen@chromium.org>
> Reviewed-by: Brian Ryner <bryner@google.com>

Bug: 1500415
Change-Id: I01872caa1bb0bf75e3696edb7bb07dc33aeb6ce6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5165860
Reviewed-by: Brian Ryner <bryner@google.com>
Commit-Queue: Josip Sokcevic <sokcevic@chromium.org>
1 year ago
Gavin Mak edba22d4eb Fix multiline comment formatting
Many incorrectly formatted comments exist from the switch to
4 space indent: https://crrev.com/c/4836379

Bug: 1514505
Change-Id: I6366f9da812919bd35b999f18fa8a49b7a66c09b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5153633
Commit-Queue: Gavin Mak <gavinmak@google.com>
Reviewed-by: Josip Sokcevic <sokcevic@chromium.org>
1 year ago
Ben Pastene d6aaf4522a Revert "Reland "Upgrade python to 3.11""
This reverts commit 32c1207c9e.

Reason for revert: spec reverting for `FileNotFoundError: shell not found` errors on win-presubmit
https://ci.chromium.org/ui/p/chromium/builders/try/win-presubmit?limit=200
eg
https://ci.chromium.org/ui/p/chromium/builders/try/win-presubmit/377708/overview

Original change's description:
> Reland "Upgrade python to 3.11"
>
> This is a reland of commit 6a167d1e1f
>
> Original change's description:
> > Upgrade python to 3.11
> >
> > R=bryner
> >
> > Bug: 1500415
> > Change-Id: Ie379744131f7a9ced204a31f21079cb697c889a6
> > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5030767
> > Reviewed-by: Brian Ryner <bryner@google.com>
> > Commit-Queue: Josip Sokcevic <sokcevic@chromium.org>
>
> Bug: 1500415
> Change-Id: I0cce81772186a26c3bdb67c5b49ce383b8a1443e
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5118884
> Commit-Queue: Peter Wen <wnwen@chromium.org>
> Reviewed-by: Brian Ryner <bryner@google.com>

Bug: 1500415
Change-Id: Ic57bdd4919f44b38b7edc334dc7e504e19256067
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5119766
Commit-Queue: Josip Sokcevic <sokcevic@chromium.org>
Reviewed-by: Josip Sokcevic <sokcevic@chromium.org>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Auto-Submit: Ben Pastene <bpastene@chromium.org>
Reviewed-by: Brian Ryner <bryner@google.com>
1 year ago
Josip Sokcevic 32c1207c9e Reland "Upgrade python to 3.11"
This is a reland of commit 6a167d1e1f

Original change's description:
> Upgrade python to 3.11
>
> R=bryner
>
> Bug: 1500415
> Change-Id: Ie379744131f7a9ced204a31f21079cb697c889a6
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5030767
> Reviewed-by: Brian Ryner <bryner@google.com>
> Commit-Queue: Josip Sokcevic <sokcevic@chromium.org>

Bug: 1500415
Change-Id: I0cce81772186a26c3bdb67c5b49ce383b8a1443e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5118884
Commit-Queue: Peter Wen <wnwen@chromium.org>
Reviewed-by: Brian Ryner <bryner@google.com>
1 year ago
Josip Sokcevic 18bb70aed6 Revert "Upgrade python to 3.11"
This reverts commit 6a167d1e1f.

Reason for revert: https://crbug.com/1511105

Original change's description:
> Upgrade python to 3.11
>
> R=bryner
>
> Bug: 1500415
> Change-Id: Ie379744131f7a9ced204a31f21079cb697c889a6
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5030767
> Reviewed-by: Brian Ryner <bryner@google.com>
> Commit-Queue: Josip Sokcevic <sokcevic@chromium.org>

Bug: 1500415
Change-Id: I8d0b04ca679c1581d4572e89efbb8cf2012cfa78
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5118878
Auto-Submit: Josip Sokcevic <sokcevic@chromium.org>
Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
1 year ago
Josip Sokcevic 6a167d1e1f Upgrade python to 3.11
R=bryner

Bug: 1500415
Change-Id: Ie379744131f7a9ced204a31f21079cb697c889a6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5030767
Reviewed-by: Brian Ryner <bryner@google.com>
Commit-Queue: Josip Sokcevic <sokcevic@chromium.org>
1 year ago
Josip Sokcevic 1cd58a27b0 boostrap: Use python 3.11 in bleeding_edge
R=bryner

Bug: 1500415
Change-Id: I37f90909f57be51253ca64faf3994938d57c3479
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5026367
Auto-Submit: Josip Sokcevic <sokcevic@chromium.org>
Reviewed-by: Brian Ryner <bryner@google.com>
Commit-Queue: Brian Ryner <bryner@google.com>
1 year ago
Mike Frysinger 124bb8e53c switch to 4 space indent
Leave the recipes/ code at 2 space to match the rest of the recipes
project in other repos.

Reformatted using:
files=( $(
	git ls-tree -r --name-only HEAD | \
		grep -Ev -e '^(third_party|recipes)/' | \
		grep '\.py$';
	git grep -l '#!/usr/bin/env.*python' | grep -v '\.py$'
) )
parallel ./yapf -i -- "${files[@]}"
~/chromiumos/chromite/contrib/reflow_overlong_comments "${files[@]}"

The files that still had strings that were too long were manually
reformatted because they were easy and only a few issues.
autoninja.py
clang_format.py
download_from_google_storage.py
fix_encoding.py
gclient_utils.py
git_cache.py
git_common.py
git_map_branches.py
git_reparent_branch.py
gn.py
my_activity.py
owners_finder.py
presubmit_canned_checks.py
reclient_helper.py
reclientreport.py
roll_dep.py
rustfmt.py
siso.py
split_cl.py
subcommand.py
subprocess2.py
swift_format.py
upload_to_google_storage.py

These files still had lines (strings) that were too long, so the pylint
warnings were suppressed with a TODO.
auth.py
gclient.py
gclient_eval.py
gclient_paths.py
gclient_scm.py
gerrit_util.py
git_cl.py
presubmit_canned_checks.py
presubmit_support.py
scm.py

Change-Id: Ia6535c4f2c48d46b589ec1e791dde6c6b2ea858f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4836379
Commit-Queue: Josip Sokcevic <sokcevic@chromium.org>
Auto-Submit: Mike Frysinger <vapier@chromium.org>
Reviewed-by: Josip Sokcevic <sokcevic@chromium.org>
2 years ago
Josip Sokcevic c1c1fb626b [git] Upgrade git to 2.41.0
R=bryner

Change-Id: I7e57a9a72bfea4189d9fac8708bb68b5612a32b2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4794722
Auto-Submit: Josip Sokcevic <sokcevic@chromium.org>
Commit-Queue: Aravind Vasudevan <aravindvasudev@google.com>
Reviewed-by: Aravind Vasudevan <aravindvasudev@google.com>
2 years ago
Josip Sokcevic 69611efc03 Upgrade git to 2.41.0.chromium.11
R=bryner@google.com

Change-Id: Iaff696de92b3c54ade61ab50f2a9b233da367697
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4771347
Reviewed-by: Jonathan Nieder <jrn@google.com>
Commit-Queue: Josip Sokcevic <sokcevic@chromium.org>
2 years ago
Brian Ryner faf64f1f63 Minor update to git.
Change-Id: I35573be46a7d9b482b13205e029ea607d4b2e5f6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4177975
Reviewed-by: Josip Sokcevic <sokcevic@chromium.org>
Commit-Queue: Josip Sokcevic <sokcevic@chromium.org>
Auto-Submit: Brian Ryner <bryner@google.com>
2 years ago
Brian Ryner e38d195b63 Roll all tools to versions that are built for windows-arm64.
git 1.39.0 was previously rolled to manifest_bleeding_edge in https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4149950 and is now being rolled to all users.

Change-Id: I4c7a3bc60e6b3b2625cee59138235d398adb27c9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4159755
Reviewed-by: Josip Sokcevic <sokcevic@chromium.org>
Reviewed-by: Vadim Shtayura <vadimsh@chromium.org>
Commit-Queue: Brian Ryner <bryner@google.com>
2 years ago
Brian Ryner 3d8429ca2a git 2.39.0 to depot_tools bleeding edge.
This seems to have better compatibility with windows-arm64.

Change-Id: I99950be434b80c010d3dd499c7121c8dd214fe95
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4149950
Reviewed-by: Josip Sokcevic <sokcevic@chromium.org>
Commit-Queue: Brian Ryner <bryner@google.com>
2 years ago
Samuel Attard 44b73307ee ensure depot_tools and cipd can bootstrap on all windows paths
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/+/3834965
Reviewed-by: Josip Sokcevic <sokcevic@google.com>
Commit-Queue: Josip Sokcevic <sokcevic@google.com>
3 years ago
Brian Ryner a39e2d318b git 2.35.1.chromium.8 to depot_tools stable.
Change-Id: I3fa03e91d64f8caa2ed0c339cc8245ba0e71ae2b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3505444
Reviewed-by: Josip Sokcevic <sokcevic@google.com>
Commit-Queue: Brian Ryner <bryner@google.com>
3 years ago
Brian Ryner 553cc04589 Bump git version for Windows fix.
Bug: 1297167
Change-Id: Ifc541f05218b0a696b3e19523664a773f415ce1b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3461262
Auto-Submit: Brian Ryner <bryner@google.com>
Reviewed-by: Josip Sokcevic <sokcevic@google.com>
Commit-Queue: Josip Sokcevic <sokcevic@google.com>
3 years ago
Josip Sokcevic 9ae2169b63 Revert "git 2.35.1.chromium.7 to depot_tools stable."
This reverts commit ff8a62f0d7.

Reason for revert: Win presubmit fails crbug.com/1297167

Original change's description:
> git 2.35.1.chromium.7 to depot_tools stable.
>
> Change-Id: Id59c599b6050bbf4e4564ad3fe54fe6cee22cc93
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3449590
> Reviewed-by: Josip Sokcevic <sokcevic@google.com>
> Commit-Queue: Brian Ryner <bryner@google.com>

Bug: 1297167
No-Try: True
Change-Id: I3495c7102c79576d2e6022f0979c8eaf92c6fac4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3462348
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Commit-Queue: Josip Sokcevic <sokcevic@google.com>
3 years ago
Brian Ryner ff8a62f0d7 git 2.35.1.chromium.7 to depot_tools stable.
Change-Id: Id59c599b6050bbf4e4564ad3fe54fe6cee22cc93
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3449590
Reviewed-by: Josip Sokcevic <sokcevic@google.com>
Commit-Queue: Brian Ryner <bryner@google.com>
3 years ago
Brian Ryner 11abecb3ee git 2.35.1.chromium.7 to depot_tools bleeding edge.
Change-Id: If2cf80baa84c8025205443ad4a35f7e7b8789bc7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3442906
Auto-Submit: Brian Ryner <bryner@google.com>
Reviewed-by: Josip Sokcevic <sokcevic@google.com>
Commit-Queue: Josip Sokcevic <sokcevic@google.com>
3 years ago
Brian Ryner 067f0e55d3 cpython3 3.8.10.chromium.23 to depot_tools stable.
Bug: 1266174
Change-Id: If3d19efe562194b57ad2dd4213f68f627e5a464a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3280374
Reviewed-by: Dirk Pranke <dpranke@google.com>
Commit-Queue: Brian Ryner <bryner@google.com>
3 years ago
Brian Ryner 08a95d8392 cpython3 3.8.10.chromium.23 to depot_tools bleeding edge.
Bug: 1266174
Change-Id: I81f3a823ff3cd53c5a83bc3c407399575f9a9cc3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3277217
Auto-Submit: Brian Ryner <bryner@google.com>
Commit-Queue: Dirk Pranke <dpranke@google.com>
Reviewed-by: Dirk Pranke <dpranke@google.com>
3 years ago
Brian Ryner 2afc4d2dce cpython3 3.8.10.chromium.21 to depot_tools bleeding_edge.
Bug: 1230447
Change-Id: I7cfacab0fd09d57ba41c8df87b072733bc1fe35a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3146215
Auto-Submit: Brian Ryner <bryner@google.com>
Commit-Queue: Dirk Pranke <dpranke@google.com>
Reviewed-by: Dirk Pranke <dpranke@google.com>
4 years ago
Brian Ryner ece56352e9 New git version to depot_tools stable.
This version has a native package available for mac-arm64.

Bug: 1184766
Change-Id: Ifb9b067ec94522ec05b544db0828cb18240965cd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3127607
Reviewed-by: Jonathan Nieder <jrn@chromium.org>
Reviewed-by: Josip Sokcevic <sokcevic@google.com>
Reviewed-by: Dirk Pranke <dpranke@google.com>
Commit-Queue: Brian Ryner <bryner@google.com>
4 years ago
Brian Ryner 64a9f33bdd Update to new git version for bleeding_edge.
This version has a native package available for mac-arm64.

Bug: 1184766
Change-Id: Idc25499644b73e8503f954c4c55d34a071c5fd55
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3116212
Reviewed-by: Dirk Pranke <dpranke@google.com>
Commit-Queue: Brian Ryner <bryner@google.com>
4 years ago