commit | 488362624b6d263e7e59f5198f10216db1f284e6 | [log] [tgz] |
---|---|---|
author | Edward Lemur <[email protected]> | Thu Oct 18 02:08:06 2018 |
committer | Commit Bot <[email protected]> | Thu Oct 18 02:08:06 2018 |
tree | 3dc2429489d1f1c85c720fdb26018e607a4756f1 | |
parent | 3e002fb86279bda61e475ab9224046152448830d [diff] |
metrics: Add a mechanism to notify users when we want to collect additional metrics. When we change the version number in metrics_utils: If the user is not a Googler, or has opted out explicitly, nothing happens and we still don't collect metrics. If we're collecting metrics from the user, we stop collecting metrics and display a notice telling them what has changed. That notice will be displayed ten times, after which we will resume collecting metrics. A notice telling them we're collecting metrics will still be displayed. Bug: None Change-Id: If1cc12b2fc06f0d6237714c4f182367b1afdf9fb Reviewed-on: https://chromium-review.googlesource.com/c/1285395 Commit-Queue: Edward Lesmes <[email protected]> Reviewed-by: Andrii Shyshkalov <[email protected]>
Tools for working with Chromium development. It requires python 2.7.
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.
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
.
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 protected],[email protected] --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.
To update cpplint.py, please submit the change upstream first at https://github.com/google/styleguide/tree/gh-pages/cpplint then copy it down.