|author||Edward Lemur <email@example.com>||Wed Jul 11 23:09:55 2018|
|committer||Commit Bot <firstname.lastname@example.org>||Wed Jul 11 23:09:55 2018|
gclient_scm: Fetch refs/changes/* when syncing. When a git mirror is configured, it fetches only refs/heads/*, and possibly branch-heads and tags, but not refs/changes. When gclient attempts to sync refs/changes/* from a mirror, it fails, since the mirror has no such objects. See for example , where the DEPS entry for builtools was modified to sync to a CL, but all the bots failed to sync to it. This change modifies gclient to always fetch refs/changes/* directly from the repo, even when a mirror is configured.  https://chromium-review.googlesource.com/c/chromium/src/+/1119098/6 Bug: 858894 Change-Id: I71bb313e4325a81b2985db1d00c70a8844dc7c22 Reviewed-on: https://chromium-review.googlesource.com/1119525 Commit-Queue: Edward Lesmes <email@example.com> Reviewed-by: Aaron Gable <firstname.lastname@example.org>
Tools for working with Chromium development. It requires python 2.7.
The most important tools are:
gclientwrapper to checkout a project. Use
fetch --helpfor 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 helpfor more details and README.gclient.md.
git cl: A code review tool to interact with Rietveld or Gerrit. Use
git cl helpfor 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.
depot_tools updates itself automatically when running
gclient tool. To disable auto update, set the environment variable
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
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 email@example.com,firstname.lastname@example.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"
To update cpplint.py, please submit the change upstream first at https://github.com/google/styleguide/tree/gh-pages/cpplint then copy it down.