You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This adds pluggable codereview-specific implementations into Changelist class. The specific implementation is chosen at Changelist automatically, with Rietveld being default for backwards compatibility. Gerrit implementation for Gerrit is incomplete, and will be added in later CLs. However, it is sufficient to ensure current functionality of this tool is not diminished. Sadly, the base class isn't completely free from Rietveld assumptions because of presubmit_support. Apparently, PRESUBMIT scripts can make use of Rietveld instance for RPCs directly. This use doesn't make sense for Gerrit, which substitutes rietveld instance with a dummy object, which raises exception on any attribute access with a diagnostic message. This also includes refactoring of some related code which (ab)used ChangeList. Overall, this CL adds a few extra call to git config in order to determine which codereview to use, but but it shouldn't have any performance impact. BUG=579160 Review URL: https://codereview.chromium.org/1805193002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299462 0039d316-1c4b-4281-b951-d872f2087c98 |
9 years ago | |
---|---|---|
bootstrap | 10 years ago | |
fetch_configs | 9 years ago | |
git-templates | 12 years ago | |
git_utils | 12 years ago | |
infra | 9 years ago | |
luci_hacks | 10 years ago | |
man | 9 years ago | |
recipe_modules | 9 years ago | |
support | 12 years ago | |
testing_support | 9 years ago | |
tests | 9 years ago | |
third_party | 9 years ago | |
win_toolchain | 9 years ago | |
zsh-goodies | 14 years ago | |
.gitignore | 9 years ago | |
.style.yapf | 10 years ago | |
LICENSE | 16 years ago | |
OWNERS | 9 years ago | |
PRESUBMIT.py | 9 years ago | |
README | 13 years ago | |
README.codereview | 14 years ago | |
README.gclient | 14 years ago | |
README.git-cl | 14 years ago | |
README.testing | 14 years ago | |
WATCHLISTS | 10 years ago | |
annotated_gclient.py | 12 years ago | |
apply_issue | 13 years ago | |
apply_issue.bat | 11 years ago | |
apply_issue.py | 9 years ago | |
auth.py | 10 years ago | |
breakpad.py | 9 years ago | |
buildbucket.py | 10 years ago | |
cbuildbot | 13 years ago | |
checkout.py | 10 years ago | |
chrome-update-create-task.bat | 14 years ago | |
chrome-update.bat | 14 years ago | |
chrome-update.py | 10 years ago | |
chrome_set_ver | 13 years ago | |
cit | 10 years ago | |
cit.bat | 10 years ago | |
cit.py | 9 years ago | |
clang-format | 11 years ago | |
clang-format.bat | 11 years ago | |
clang_format.py | 10 years ago | |
codereview.settings | 9 years ago | |
commit_queue | 10 years ago | |
commit_queue.bat | 10 years ago | |
commit_queue.py | 9 years ago | |
cpplint.bat | 14 years ago | |
cpplint.py | 9 years ago | |
cpplint_chromium.py | 14 years ago | |
create-chromium-git-src | 15 years ago | |
create-ntfs-junction.c | 13 years ago | |
create-ntfs-junction.exe | 13 years ago | |
cros | 13 years ago | |
cros_sdk | 13 years ago | |
dart_format.py | 10 years ago | |
depot-tools-auth | 10 years ago | |
depot-tools-auth.bat | 10 years ago | |
depot-tools-auth.py | 10 years ago | |
download_from_google_storage | 12 years ago | |
download_from_google_storage.bat | 12 years ago | |
download_from_google_storage.py | 9 years ago | |
drover | 14 years ago | |
drover.bat | 14 years ago | |
drover.py | 9 years ago | |
fetch | 11 years ago | |
fetch.bat | 11 years ago | |
fetch.py | 10 years ago | |
fix_encoding.py | 9 years ago | |
gcl | 14 years ago | |
gcl.bat | 14 years ago | |
gcl.py | 9 years ago | |
gclient | 10 years ago | |
gclient-new-workdir.py | 10 years ago | |
gclient.bat | 10 years ago | |
gclient.py | 9 years ago | |
gclient_completion.sh | 11 years ago | |
gclient_scm.py | 9 years ago | |
gclient_utils.py | 10 years ago | |
gerrit_util.py | 9 years ago | |
git-auto-svn | 10 years ago | |
git-bash | 10 years ago | |
git-cache | 10 years ago | |
git-cherry-pick-upload | 10 years ago | |
git-cl | 10 years ago | |
git-crrev-parse | 10 years ago | |
git-crsync | 11 years ago | |
git-drover | 10 years ago | |
git-find-releases | 10 years ago | |
git-footers | 10 years ago | |
git-freeze | 10 years ago | |
git-gs | 11 years ago | |
git-hyper-blame | 9 years ago | |
git-lkgr | 11 years ago | |
git-map | 10 years ago | |
git-map-branches | 10 years ago | |
git-mark-merge-base | 10 years ago | |
git-nav-downstream | 10 years ago | |
git-nav-upstream | 11 years ago | |
git-new-branch | 10 years ago | |
git-number | 10 years ago | |
git-rebase-update | 10 years ago | |
git-rename-branch | 10 years ago | |
git-reparent-branch | 10 years ago | |
git-retry | 10 years ago | |
git-runhooks | 11 years ago | |
git-squash-branch | 10 years ago | |
git-thaw | 10 years ago | |
git-try | 10 years ago | |
git-upstream-diff | 10 years ago | |
git_auto_svn.py | 10 years ago | |
git_cache.py | 9 years ago | |
git_cherry_pick_upload.py | 10 years ago | |
git_cl.py | 9 years ago | |
git_common.py | 9 years ago | |
git_dates.py | 9 years ago | |
git_drover.py | 9 years ago | |
git_find_releases.py | 10 years ago | |
git_footers.py | 9 years ago | |
git_freezer.py | 10 years ago | |
git_hyper_blame.py | 9 years ago | |
git_map.py | 10 years ago | |
git_map_branches.py | 10 years ago | |
git_mark_merge_base.py | 10 years ago | |
git_nav_downstream.py | 10 years ago | |
git_new_branch.py | 10 years ago | |
git_number.py | 10 years ago | |
git_rebase_update.py | 9 years ago | |
git_rename_branch.py | 10 years ago | |
git_reparent_branch.py | 10 years ago | |
git_retry.py | 10 years ago | |
git_squash_branch.py | 10 years ago | |
git_try.py | 9 years ago | |
git_upstream_diff.py | 10 years ago | |
gn | 12 years ago | |
gn.bat | 11 years ago | |
gn.py | 10 years ago | |
gsutil.py | 10 years ago | |
hammer | 16 years ago | |
hammer.bat | 14 years ago | |
my_activity.py | 9 years ago | |
my_reviews.py | 10 years ago | |
ninja | 9 years ago | |
ninja-linux32 | 10 years ago | |
ninja-linux64 | 10 years ago | |
ninja-mac | 10 years ago | |
ninja.exe | 10 years ago | |
owners.py | 10 years ago | |
owners_finder.py | 12 years ago | |
patch.py | 10 years ago | |
presubmit_canned_checks.py | 9 years ago | |
presubmit_support.py | 9 years ago | |
profile.xml | 16 years ago | |
pylint | 12 years ago | |
pylint.py | 10 years ago | |
pylintrc | 11 years ago | |
python_runner.sh | 10 years ago | |
recipes.py | 10 years ago | |
repo | 10 years ago | |
rietveld.py | 9 years ago | |
roll-dep | 11 years ago | |
roll-dep-svn | 10 years ago | |
roll-dep-svn.bat | 10 years ago | |
roll-dep.bat | 11 years ago | |
roll_dep.py | 9 years ago | |
roll_dep_svn.py | 10 years ago | |
scm.py | 10 years ago | |
subcommand.py | 10 years ago | |
subprocess2.py | 10 years ago | |
trychange.py | 9 years ago | |
update_depot_tools | 10 years ago | |
update_depot_tools.bat | 10 years ago | |
upload_to_google_storage.py | 10 years ago | |
watchlists.py | 14 years ago | |
weekly | 15 years ago | |
wtf | 13 years ago |
README
This package contains tools for working with Chromium development. The "gclient" wrapper knows how to keep this repository updated to the latest versions of these tools as found at: http://src.chromium.org/svn/trunk/tools/depot_tools This package contains: chrome-update-create-task.bat Creates a scheduled task to do an automatic local chromium build every day. cpplint.py A copy of our linting tool which enforces Google style. Fetched from http://google-styleguide.googlecode.com/svn/trunk/cpplint/cpplint.py gcl A tool for uploading and managing code reviews on the Chromium project, using the Rietveld code review tool. More info at: http://code.google.com/p/rietveld/ gclient A script for managing a workspace with modular dependencies that are each checked out independently from different repositories. More info at: http://code.google.com/p/gclient/ hammer A wrapper script for building Chromium with the SCons software construction tool. More info at: http://www.scons.org/ Note: svn and python will be installed automatically if not accessible (on Windows only). To update this distribution manually, run .\update_depot_tools.bat on Windows, or ./update_depot_tools on Linux or Mac. To disable automatic updating, set the environment variable DEPOT_TOOLS_UPDATE=0