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.
 
 
 
 
Go to file
vadimsh@chromium.org cf6a5d2026 Extract authentication options handling into a separate function.
It is done in preparation for switching to OAuth2 as default (and only)
authentication method. Having all auth options handled by the same code makes it
easier to gradually add OAuth2 support.

As part of this, some options that would no longer work with OAuth2 (and that
are not being used from anywhere now, as far as I can tell) are removed:
  * Passing account password for authentication via command line.
  * Overriding 'Host' header when making requests to Rietveld (won't work with
    SSL anyway).
  * --account_type option (seems to be ClientLogin specific).

R=maruel@chromium.org
BUG=356813

Review URL: https://codereview.chromium.org/1075723002

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294746 0039d316-1c4b-4281-b951-d872f2087c98
10 years ago
bootstrap Set default Windows git to 1.9.5-chromium.6 build. 10 years ago
git-templates
git_utils
man Fixed ``smart'' quotes in code block. 10 years ago
recipes Switch WebRTC recipe to Git. 10 years ago
support
testing_support git-squash-branch: handle empty squashes 10 years ago
tests Extract authentication options handling into a separate function. 10 years ago
third_party Extract authentication options handling into a separate function. 10 years ago
win_toolchain Fix gsutil execution on Windows. 10 years ago
zsh-goodies
.gitignore GSUtil.py wrapper script 10 years ago
LICENSE
OWNERS Normalizes OWNERS and WATCHLISTS. 10 years ago
PRESUBMIT.py PRESUBMIT: Ignore external_bin/. 10 years ago
README
README.codereview
README.gclient
README.git-cl
README.testing
WATCHLISTS Normalizes OWNERS and WATCHLISTS. 10 years ago
annotated_gclient.py
apply_issue
apply_issue.bat
apply_issue.py Extract authentication options handling into a separate function. 10 years ago
auth.py Extract authentication options handling into a separate function. 10 years ago
breakpad.py
brillo Create brillo wrapper command. 10 years ago
cbuildbot
checkout.py Use three-way merge when applying Git patches. 11 years ago
chrome-update-create-task.bat
chrome-update.bat
chrome-update.py Handle KeyboardInterrupt consistently in python scripts 10 years ago
chrome_set_ver
clang-format
clang-format.bat
clang_format.py Fix the argument passed to main() in clang_format.py 10 years ago
codereview.settings Add PROJECT to tools 11 years ago
commit_queue.py Extract authentication options handling into a separate function. 10 years ago
cpplint.bat
cpplint.py Update cpplint.py to r141. 10 years ago
cpplint_chromium.py
create-chromium-git-src
create-ntfs-junction.c
create-ntfs-junction.exe
cros
cros_sdk
dart_format.py Run dartfmt when invoking git cl format. 10 years ago
download_from_google_storage
download_from_google_storage.bat
download_from_google_storage.py [download_from_google_storage] Don't list ALL objects to check for ACLs 10 years ago
drover
drover.bat
drover.py Handle KeyboardInterrupt consistently in python scripts 10 years ago
fetch Update fetch to support more flexible refspecs 11 years ago
fetch.bat
fetch.py Handle KeyboardInterrupt consistently in python scripts 10 years ago
fix_encoding.py Update cpplint.py to r141. 10 years ago
gcl
gcl.bat
gcl.py Extract authentication options handling into a separate function. 10 years ago
gclient Run "svn revert" in update_depot_tools --force 10 years ago
gclient-new-workdir.py
gclient.bat Run "svn revert" in update_depot_tools --force 10 years ago
gclient.py gclient: Add '--no-bootstrap' sync option. 10 years ago
gclient_completion.sh
gclient_scm.py Fix hook disable logic in gclient_scm (non-atomic os.rename on Windows) 10 years ago
gclient_utils.py Run dartfmt when invoking git cl format. 10 years ago
gerrit_util.py
git-auto-svn Remove useless comments from git bash wrappers. 11 years ago
git-cache Remove useless comments from git bash wrappers. 11 years ago
git-cherry-pick-upload Remove useless comments from git bash wrappers. 11 years ago
git-cl Remove useless comments from git bash wrappers. 11 years ago
git-cl-upload-hook
git-crrev-parse Convenience git extension for converting a chromium git commit number to a git hash. 10 years ago
git-crsync
git-crup Update the Blink recipe to use 'webkit_revision' instead of 'webkit_rev' 11 years ago
git-footers Remove useless comments from git bash wrappers. 11 years ago
git-freeze Remove useless comments from git bash wrappers. 11 years ago
git-gs Have git-gs search .gni files 11 years ago
git-lkgr
git-map Remove useless comments from git bash wrappers. 11 years ago
git-map-branches Remove useless comments from git bash wrappers. 11 years ago
git-mark-merge-base Remove useless comments from git bash wrappers. 11 years ago
git-nav-downstream Remove useless comments from git bash wrappers. 11 years ago
git-nav-upstream Remove useless comments from git bash wrappers. 11 years ago
git-new-branch Remove useless comments from git bash wrappers. 11 years ago
git-number Remove useless comments from git bash wrappers. 11 years ago
git-rebase-update Remove useless comments from git bash wrappers. 11 years ago
git-rename-branch Remove useless comments from git bash wrappers. 11 years ago
git-reparent-branch Remove useless comments from git bash wrappers. 11 years ago
git-retry Remove useless comments from git bash wrappers. 11 years ago
git-runhooks
git-squash-branch Remove useless comments from git bash wrappers. 11 years ago
git-thaw
git-try
git-upstream-diff
git_auto_svn.py Handle KeyboardInterrupt consistently in python scripts 10 years ago
git_cache.py Handle KeyboardInterrupt consistently in python scripts 10 years ago
git_cherry_pick_upload.py Extract authentication options handling into a separate function. 10 years ago
git_cl.py Extract authentication options handling into a separate function. 10 years ago
git_common.py git-squash-branch: handle empty squashes 10 years ago
git_footers.py Handle KeyboardInterrupt consistently in python scripts 10 years ago
git_freezer.py Handle KeyboardInterrupt consistently in python scripts 10 years ago
git_map.py Handle KeyboardInterrupt consistently in python scripts 10 years ago
git_map_branches.py git map-branches: add --show-subject 10 years ago
git_mark_merge_base.py Handle KeyboardInterrupt consistently in python scripts 10 years ago
git_nav_downstream.py Handle KeyboardInterrupt consistently in python scripts 10 years ago
git_new_branch.py Handle KeyboardInterrupt consistently in python scripts 10 years ago
git_number.py Handle KeyboardInterrupt consistently in python scripts 10 years ago
git_rebase_update.py Handle KeyboardInterrupt consistently in python scripts 10 years ago
git_rename_branch.py Handle KeyboardInterrupt consistently in python scripts 10 years ago
git_reparent_branch.py Handle KeyboardInterrupt consistently in python scripts 10 years ago
git_retry.py Handle KeyboardInterrupt consistently in python scripts 10 years ago
git_squash_branch.py git-squash-branch: handle empty squashes 10 years ago
git_try.py Handle KeyboardInterrupt consistently in python scripts 10 years ago
git_upstream_diff.py Handle KeyboardInterrupt consistently in python scripts 10 years ago
gn
gn.bat
gn.py Handle KeyboardInterrupt consistently in python scripts 10 years ago
gsutil.py Hook sys.stdio directly to the gsutil subprocess for the gsutil call 10 years ago
hammer
hammer.bat
my_activity.py Extract authentication options handling into a separate function. 10 years ago
my_reviews.py Extract authentication options handling into a separate function. 10 years ago
ninja Update ninja to v1.5.3 on Mac, Linux32, Linux64, Windows. 10 years ago
ninja-linux32 Update ninja to v1.5.3 on Mac, Linux32, Linux64, Windows. 10 years ago
ninja-linux64 Update ninja to v1.5.3 on Mac, Linux32, Linux64, Windows. 10 years ago
ninja-mac Update ninja to v1.5.3 on Mac, Linux32, Linux64, Windows. 10 years ago
ninja.exe Update ninja to v1.5.3 on Mac, Linux32, Linux64, Windows. 10 years ago
oauth2.py Added OAuth2 support in depot_tools 10 years ago
owners.py
owners_finder.py
patch.py Adjust file name blacklist in patch.py 10 years ago
presubmit_canned_checks.py Remove 150% hard line length limit for long URLs. 10 years ago
presubmit_support.py Extract authentication options handling into a separate function. 10 years ago
profile.xml
pylint
pylint.py Handle KeyboardInterrupt consistently in python scripts 10 years ago
pylintrc Revert "Revert "pylint: upgrade to 1.3.1"" 10 years ago
python_git_runner.sh
repo Add pgp key for davidjames to repo. 11 years ago
rietveld.py Extract authentication options handling into a separate function. 10 years ago
roll-dep
roll-dep.bat
roll_dep.py Handle KeyboardInterrupt consistently in python scripts 10 years ago
scm.py Reland "Make gclient ready for the Blink (DEPS to main project)" 10 years ago
subcommand.py Automatically upgrade '_' to '-' when finding the right command. 10 years ago
subprocess2.py Make check_output of subprocess2 compatible with Python's subprocess. 11 years ago
trychange.py git try -t support for Gerrit 10 years ago
update_depot_tools Use grep -e --force instead of grep "--force" since apparently the latter doesn't work properly in all cases. 10 years ago
update_depot_tools.bat Run "svn revert" in update_depot_tools --force 10 years ago
upload_to_google_storage.py In upload_to_google_storage, pass -z argument through to gsutil. 10 years ago
watchlists.py
weekly
wtf

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