Roll packages to make linux-riscv64 available.

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

depot_tools

Tools for working with Chromium development. It requires python 3.8.

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.