[cipd] Generate other platform suffixes.

Update the CIPD recipe module to generate platform suffixes for
arbitrary OS, architecture, and bitness.

BUG=None
TEST=expectations

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

depot_tools

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 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

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