Remove SVN support from PRESUBMIT

R=maruel@chromium.org
BUG=475320

Review-Url: https://codereview.chromium.org/2394043002
3 files changed
tree: 8b065ff2f18a4d5897bdaea1265f4f1764ca2175
  1. .gitignore
  2. .style.yapf
  3. LICENSE
  4. OWNERS
  5. PRESUBMIT.py
  6. README.gclient.md
  7. README.git-cl.md
  8. README.md
  9. README.testing
  10. WATCHLISTS
  11. annotated_gclient.py
  12. appengine_mapper.py
  13. apply_issue
  14. apply_issue.bat
  15. apply_issue.py
  16. auth.py
  17. bootstrap/
  18. breakpad.py
  19. buildbucket.py
  20. checkout.py
  21. cit
  22. cit.bat
  23. cit.py
  24. clang-format
  25. clang-format.bat
  26. clang_format.py
  27. clang_format_merge_driver
  28. clang_format_merge_driver.bat
  29. clang_format_merge_driver.py
  30. codereview.settings
  31. commit_queue
  32. commit_queue.bat
  33. commit_queue.py
  34. cpplint.bat
  35. cpplint.py
  36. cpplint_chromium.py
  37. create-ntfs-junction.c
  38. create-ntfs-junction.exe
  39. dart_format.py
  40. depot-tools-auth
  41. depot-tools-auth.bat
  42. depot-tools-auth.py
  43. download_from_google_storage
  44. download_from_google_storage.bat
  45. download_from_google_storage.py
  46. fetch
  47. fetch.bat
  48. fetch.py
  49. fetch_configs/
  50. fix_encoding.py
  51. gclient
  52. gclient-new-workdir.py
  53. gclient.bat
  54. gclient.py
  55. gclient_completion.sh
  56. gclient_scm.py
  57. gclient_utils.py
  58. gerrit_util.py
  59. git-cache
  60. git-cherry-pick-upload
  61. git-cl
  62. git-crrev-parse
  63. git-crsync
  64. git-drover
  65. git-find-releases
  66. git-footers
  67. git-freeze
  68. git-gs
  69. git-hyper-blame
  70. git-map
  71. git-map-branches
  72. git-mark-merge-base
  73. git-nav-downstream
  74. git-nav-upstream
  75. git-new-branch
  76. git-number
  77. git-rebase-update
  78. git-rename-branch
  79. git-reparent-branch
  80. git-retry
  81. git-runhooks
  82. git-squash-branch
  83. git-templates/
  84. git-thaw
  85. git-upstream-diff
  86. git_cache.py
  87. git_cherry_pick_upload.py
  88. git_cl.py
  89. git_cl_completion.sh
  90. git_common.py
  91. git_dates.py
  92. git_drover.py
  93. git_find_releases.py
  94. git_footers.py
  95. git_freezer.py
  96. git_hyper_blame.py
  97. git_map.py
  98. git_map_branches.py
  99. git_mark_merge_base.py
  100. git_nav_downstream.py
  101. git_new_branch.py
  102. git_number.py
  103. git_rebase_update.py
  104. git_rename_branch.py
  105. git_reparent_branch.py
  106. git_retry.py
  107. git_squash_branch.py
  108. git_upstream_diff.py
  109. gn
  110. gn.bat
  111. gn.py
  112. gsutil.py
  113. infra/
  114. man/
  115. my_activity.py
  116. my_reviews.py
  117. ninja
  118. ninja-linux32
  119. ninja-linux64
  120. ninja-mac
  121. ninja.exe
  122. owners.py
  123. owners_finder.py
  124. patch.py
  125. presubmit_canned_checks.py
  126. presubmit_support.py
  127. profile.xml
  128. pylint
  129. pylint.py
  130. pylintrc
  131. python_runner.sh
  132. recipe_modules/
  133. recipes.py
  134. repo
  135. rietveld.py
  136. roll-dep
  137. roll-dep-svn
  138. roll-dep-svn.bat
  139. roll-dep.bat
  140. roll_dep.py
  141. roll_dep_svn.py
  142. scm.py
  143. setup_color.py
  144. subcommand.py
  145. subprocess2.py
  146. support/
  147. testing_support/
  148. tests/
  149. third_party/
  150. update_depot_tools
  151. update_depot_tools.bat
  152. upload_to_google_storage.py
  153. watchlists.py
  154. weekly
  155. win_toolchain/
  156. wtf
  157. zsh-goodies/
README.md

depot_tools

This package contains tools for working with Chromium development. It requires python 2.7.

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.

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 commited.
git cl set-commit

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

cpplint.py

To update cpplint.py, please submit the change upstream first at https://github.com/google/styleguide/tree/gh-pages/cpplint then copy it down.