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.

The build that created this CL was
https://ci.chromium.org/b/8815218164711976977

recipe_engine:
https://chromium.googlesource.com/infra/luci/recipes-py.git/+/82fb654d0e289ca7f72aa4e57fc437f4877d42e7
  82fb654 (meiring@google.com)
      [recipes-py] Update ResultDB exoneration example to populate re...

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: Id9a79a84f2bd023d0f9ebe3c4d9a227efe89032b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3622625
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>
2 files changed
tree: 84fbf0bbce283a68bb893ecfb7782fcf95103a9a
  1. bootstrap/
  2. fetch_configs/
  3. git-templates/
  4. infra/
  5. man/
  6. python-bin/
  7. python2-bin/
  8. recipes/
  9. testing_support/
  10. tests/
  11. third_party/
  12. win_toolchain/
  13. zsh-goodies/
  14. .cipd_impl.ps1
  15. .gitattributes
  16. .gitignore
  17. .isort.cfg
  18. .style.yapf
  19. .vpython
  20. .vpython3
  21. auth.py
  22. autoninja
  23. autoninja.bat
  24. autoninja.py
  25. bb
  26. bb.bat
  27. bootstrap_python3
  28. breakpad.py
  29. cipd
  30. cipd.bat
  31. cipd_bin_setup.bat
  32. cipd_bin_setup.sh
  33. cipd_client_version
  34. cipd_client_version.digests
  35. cipd_manifest.txt
  36. cipd_manifest.versions
  37. cit
  38. cit.bat
  39. cit.py
  40. clang-format
  41. clang-format.bat
  42. clang_format.py
  43. clang_format_merge_driver
  44. clang_format_merge_driver.bat
  45. clang_format_merge_driver.py
  46. codereview.settings
  47. compile_single_file
  48. compile_single_file.bat
  49. compile_single_file.py
  50. cpplint.bat
  51. cpplint.py
  52. cpplint_chromium.py
  53. cros
  54. CROS_OWNERS
  55. crosjobs
  56. detect_host_arch.py
  57. DIR_METADATA
  58. dirmd
  59. dirmd.bat
  60. download_from_google_storage
  61. download_from_google_storage.bat
  62. download_from_google_storage.py
  63. ensure_bootstrap
  64. fetch
  65. fetch.bat
  66. fetch.py
  67. fix_encoding.py
  68. gclient
  69. gclient-new-workdir.py
  70. gclient.bat
  71. gclient.py
  72. gclient_completion.sh
  73. gclient_eval.py
  74. gclient_paths.py
  75. gclient_scm.py
  76. gclient_utils.py
  77. gerrit_client.py
  78. gerrit_util.py
  79. git-cache
  80. git-cl
  81. git-crrev-parse
  82. git-drover
  83. git-find-releases
  84. git-footers
  85. git-freeze
  86. git-gs
  87. git-hyper-blame
  88. git-map
  89. git-map-branches
  90. git-mark-merge-base
  91. git-migrate-default-branch
  92. git-nav-downstream
  93. git-nav-upstream
  94. git-new-branch
  95. git-number
  96. git-rebase-update
  97. git-rename-branch
  98. git-reparent-branch
  99. git-retry
  100. git-runhooks
  101. git-squash-branch
  102. git-thaw
  103. git-upstream-diff
  104. git_cache.py
  105. git_cl.py
  106. git_cl_completion.sh
  107. git_common.py
  108. git_dates.py
  109. git_drover.py
  110. git_find_releases.py
  111. git_footers.py
  112. git_freezer.py
  113. git_hyper_blame.py
  114. git_map.py
  115. git_map_branches.py
  116. git_mark_merge_base.py
  117. git_migrate_default_branch.py
  118. git_nav_downstream.py
  119. git_new_branch.py
  120. git_number.py
  121. git_rebase_update.py
  122. git_rename_branch.py
  123. git_reparent_branch.py
  124. git_retry.py
  125. git_squash_branch.py
  126. git_upstream_diff.py
  127. gn
  128. gn.bat
  129. gn.py
  130. goma_auth
  131. goma_auth.bat
  132. goma_ctl
  133. goma_ctl.bat
  134. GOMA_OWNERS
  135. gsutil.py
  136. gsutil.py.bat
  137. gsutil.vpython3
  138. isort
  139. led
  140. led.bat
  141. LICENSE
  142. lockfile.py
  143. luci-auth
  144. luci-auth.bat
  145. LUCI_OWNERS
  146. lucicfg
  147. lucicfg.bat
  148. mac_toolchain
  149. metrics.py
  150. metrics.README.md
  151. metrics_utils.py
  152. my_activity.py
  153. ninja
  154. ninja-linux64
  155. ninja-mac
  156. ninja.exe
  157. ninjalog.README.md
  158. ninjalog_uploader.py
  159. ninjalog_uploader_wrapper.py
  160. OWNERS
  161. owners.py
  162. owners_client.py
  163. owners_finder.py
  164. pinpoint
  165. pinpoint.bat
  166. post_build_ninja_summary.py
  167. PRESUBMIT.py
  168. presubmit_canned_checks.py
  169. presubmit_canned_checks_test.py
  170. presubmit_canned_checks_test_mocks.py
  171. presubmit_support.py
  172. profile.xml
  173. prpc
  174. prpc.bat
  175. pylint
  176. pylint-1.5
  177. pylint-1.5.bat
  178. pylint-2.6
  179. pylint-2.6.bat
  180. pylint-2.7
  181. pylint-2.7.bat
  182. pylint.bat
  183. pylint_main.py
  184. pylintrc
  185. python_runner.sh
  186. rdb
  187. rdb.bat
  188. rdb_wrapper.py
  189. README.gclient.md
  190. README.git-cl.md
  191. README.md
  192. repo
  193. repo_launcher
  194. roll-dep
  195. roll-dep.bat
  196. roll_dep.py
  197. rustfmt.py
  198. scm.py
  199. setup_color.py
  200. split_cl.py
  201. subcommand.py
  202. subprocess2.py
  203. swift-format
  204. swift_format.py
  205. update_depot_tools
  206. update_depot_tools.bat
  207. update_depot_tools_toggle.py
  208. upload_metrics.py
  209. upload_to_google_storage.py
  210. utils.py
  211. vpython
  212. vpython.bat
  213. vpython3
  214. vpython3.bat
  215. WATCHLISTS
  216. watchlists.py
  217. weekly
  218. whitespace.txt
  219. win32imports.py
  220. wtf
  221. yapf
  222. yapf.bat
README.md

depot_tools

Tools for working with Chromium development. It requires python 2.7 or 3.8 for python 3 support.

Tools

The most important tools are:

  • fetch: A gclient wrapper to checkout a project. Use fetch --help for more details.
  • gclient: A meta-checkout tool. Think repo or git submodules, except that it support OS-specific rules, e.g. do not checkout Windows only dependencies when checking out for Android. Use gclient help for more details and README.gclient.md.
  • git cl: A code review tool to interact with Rietveld or Gerrit. Use git cl help for more details and README.git-cl.md.
  • roll-dep: A gclient dependency management tool to submit a dep roll, updating a dependency to a newer revision.

There are a lot of git utilities included.

Updating

depot_tools updates itself automatically when running gclient tool. To disable auto update, set the environment variable DEPOT_TOOLS_UPDATE=0 or run ./update_depot_tools_toggle.py --disable.

To update package manually, run update_depot_tools.bat on Windows, or ./update_depot_tools on Linux or Mac.

On Windows only, running gclient will install git and python.

Contributing

To contribute change for review:

git new-branch <somename>
# Hack
git add .
git commit -a -m "Fixes goat teleporting"
# find reviewers
git cl owners
git log -- <yourfiles>

# Request a review.
git cl upload -r reviewer1@chromium.org,reviewer2@chromium.org --send-mail

# Edit change description if needed.
git cl desc

# If change is approved, flag it to be committed.
git cl set-commit

# If change needs more work.
git rebase-update
...
git cl upload -t "Fixes goat teleporter destination to be Australia"

See also open bugs, open reviews, forum or report problems.

cpplint.py

Until 2018, our cpplint.py was a copy of the upstream version at https://github.com/google/styleguide/tree/gh-pages/cpplint. Unfortunately, that repository is not maintained any more. If you want to update cpplint.py in depot_tools, just upload a patch to do so. We will figure out a long-term strategy via issue https://crbug.com/916550.

Note that the cpplint.py here is also used by the Tricium analyzer, so if the cpplint.py here changes, we should also update the copy used there.