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
primiano@chromium.org 107bca31f6 Add --no-history option to fetch and gclient for shallow clones.
Many people* have complained on chromium-dev about the long times
required to perform a full fetch over a DSL. This seems to be mostly
due to the huge size of chromium's history (~9 GB). On the other side,
not everybody is interested in downloading the full git history of
the projects. The size of git packs required to fetch a working HEAD
is one order of magnitude smaller (1.5 GB).
This change makes it possible to perform a shallow fetch (in a way
which is consistent with DEPS, leveraging git templates on clone),
reducing fetch times by 80% for those not interested in the history.

* See: 
[chromium-dev] "fetch chromium" keeps hanging/getting stuck on Windows 7
[chromium-dev] Initial checkout with git taking long
[chromium-dev] Trying to get latest source code fails when fetching
[chromium-dev] Gclient sync takes too long

BUG=228996

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@287606 0039d316-1c4b-4281-b951-d872f2087c98
11 years ago
bootstrap Roll windows git binary package up to v6 everywhere. 11 years ago
git-templates Explicitly exec hooks inside a shell. 12 years ago
git_utils Allow branches without upstream. 12 years ago
man Add git cherry picking extension 11 years ago
recipes Add fetch recipe for the open source infra repo. 11 years ago
support chromite_wrapper: Fix up comment. 12 years ago
testing_support Invoke the bash shell via /usr/bin/env so that these scripts run on operating systems without /bin/bash too. 11 years ago
tests Add --no-history option to fetch and gclient for shallow clones. 11 years ago
third_party Fix undefined default_config_path_bak in gsutil config. 11 years ago
win_toolchain Revert 284349 "Add winrt to the INCLUDE directories of the toolc..." 11 years ago
zsh-goodies
.gitignore Move data.json to win_toolchain to its abs paths aren't hashed 11 years ago
LICENSE
OWNERS Add agable@ to OWNERS 11 years ago
PRESUBMIT.py Presubmit check improvements. 11 years ago
README
README.codereview
README.gclient
README.git-cl
README.testing
WATCHLISTS Remove me and nirnimesh from WATCHLISTS. 11 years ago
annotated_gclient.py Send build revision as json object. 11 years ago
apply_issue
apply_issue.bat Add some missing setlocals from various .bat files 11 years ago
apply_issue.py Don't pass in --revision into gclient sync on the DEPS sync in apply_issue.py if git 11 years ago
breakpad.py
cbuildbot
checkout.py Do not assign revision when checking the commit existence. 11 years ago
chrome-update-create-task.bat
chrome-update.bat
chrome-update.py
chrome_set_ver
clang-format Depot tools: use the clang-format binaries that are now included 11 years ago
clang-format.bat Add some missing setlocals from various .bat files 11 years ago
clang_format.py Change clang_format.py to search for clang-format in buildtools 11 years ago
codereview.settings Add PROJECT to tools 11 years ago
commit_queue.py Revert "Revert "Improve description layout. Improve coloring and add legend in help."" 12 years ago
cpplint.bat
cpplint.py depot_tools: modify cpplint.py to allow CPPLINT.cfg overrides 11 years ago
cpplint_chromium.py
create-chromium-git-src
create-ntfs-junction.c
create-ntfs-junction.exe
cros
cros_sdk
download_from_google_storage Added posix and windows runner scripts for download_from_google_storage.py 12 years ago
download_from_google_storage.bat Added posix and windows runner scripts for download_from_google_storage.py 12 years ago
download_from_google_storage.py Adds --auto_platform to download_from_google_storage. 11 years ago
drover
drover.bat
drover.py Remove --milestone to force engineers to double-check with TPMs for branch number. 12 years ago
fetch Revert of Fetch Windows tools on Cygwin and use that Python for some scripts (https://codereview.chromium.org/140843004/) 11 years ago
fetch.bat Add some missing setlocals from various .bat files 11 years ago
fetch.py Add --no-history option to fetch and gclient for shallow clones. 11 years ago
fix_encoding.py
gcl
gcl.bat
gcl.py Show an error message when the user tries to set the commit flag or add trybots to a private issue. 11 years ago
gclient Revert of Fetch Windows tools on Cygwin and use that Python for some scripts (https://codereview.chromium.org/140843004/) 11 years ago
gclient-new-workdir.py Clearer help in gclient-new-workdir.py 11 years ago
gclient.bat Add some missing setlocals from various .bat files 11 years ago
gclient.py Add --no-history option to fetch and gclient for shallow clones. 11 years ago
gclient_completion.sh Added basic completion (the commands) for gclient. 11 years ago
gclient_scm.py Add --no-history option to fetch and gclient for shallow clones. 11 years ago
gclient_utils.py Add --no-history option to fetch and gclient for shallow clones. 11 years ago
gerrit_util.py Provide diagnostic messages about netrc failures. 11 years ago
git-cache Invoke the bash shell via /usr/bin/env so that these scripts run on operating systems without /bin/bash too. 11 years ago
git-cherry-pick-upload Add git cherry picking extension 11 years ago
git-cl Invoke the bash shell via /usr/bin/env so that these scripts run on operating systems without /bin/bash too. 11 years ago
git-cl-upload-hook
git-crsync Invoke the bash shell via /usr/bin/env so that these scripts run on operating systems without /bin/bash too. 11 years ago
git-crup Invoke the bash shell via /usr/bin/env so that these scripts run on operating systems without /bin/bash too. 11 years ago
git-freeze Invoke the bash shell via /usr/bin/env so that these scripts run on operating systems without /bin/bash too. 11 years ago
git-gs Have git-gs search .gni files 11 years ago
git-lkgr Invoke the bash shell via /usr/bin/env so that these scripts run on operating systems without /bin/bash too. 11 years ago
git-map Invoke the bash shell via /usr/bin/env so that these scripts run on operating systems without /bin/bash too. 11 years ago
git-map-branches Invoke the bash shell via /usr/bin/env so that these scripts run on operating systems without /bin/bash too. 11 years ago
git-mark-merge-base Invoke the bash shell via /usr/bin/env so that these scripts run on operating systems without /bin/bash too. 11 years ago
git-nav-downstream Invoke the bash shell via /usr/bin/env so that these scripts run on operating systems without /bin/bash too. 11 years ago
git-nav-upstream Invoke the bash shell via /usr/bin/env so that these scripts run on operating systems without /bin/bash too. 11 years ago
git-new-branch Invoke the bash shell via /usr/bin/env so that these scripts run on operating systems without /bin/bash too. 11 years ago
git-number Invoke the bash shell via /usr/bin/env so that these scripts run on operating systems without /bin/bash too. 11 years ago
git-rebase-update Invoke the bash shell via /usr/bin/env so that these scripts run on operating systems without /bin/bash too. 11 years ago
git-rename-branch Invoke the bash shell via /usr/bin/env so that these scripts run on operating systems without /bin/bash too. 11 years ago
git-reparent-branch Invoke the bash shell via /usr/bin/env so that these scripts run on operating systems without /bin/bash too. 11 years ago
git-retry Added 'git-retry' bootstrap 11 years ago
git-runhooks Invoke the bash shell via /usr/bin/env so that these scripts run on operating systems without /bin/bash too. 11 years ago
git-squash-branch Invoke the bash shell via /usr/bin/env so that these scripts run on operating systems without /bin/bash too. 11 years ago
git-thaw Invoke the bash shell via /usr/bin/env so that these scripts run on operating systems without /bin/bash too. 11 years ago
git-try Invoke the bash shell via /usr/bin/env so that these scripts run on operating systems without /bin/bash too. 11 years ago
git-upstream-diff Invoke the bash shell via /usr/bin/env so that these scripts run on operating systems without /bin/bash too. 11 years ago
git_cache.py Git Cache speculative fix for windows 11 years ago
git_cherry_pick_upload.py Add git cherry picking extension 11 years ago
git_cl.py Do not put an 'r' in front of the revision when commenting on Rietveld after committing. 11 years ago
git_common.py Added 'git-retry' bootstrap 11 years ago
git_freezer.py Fix bad interpreters. 11 years ago
git_map.py Make marked merge base invalid when the upstream changes. 11 years ago
git_map_branches.py Add a family of git-commands to assist with the management of multiple CLs/branches. 11 years ago
git_mark_merge_base.py Make marked merge base invalid when the upstream changes. 11 years ago
git_nav_downstream.py Make git-nav-downstream not print a stack if you Ctrl-C it. 11 years ago
git_new_branch.py Add newline to git-new-branch output. 11 years ago
git_number.py git-number cannot commit-tree without user config 11 years ago
git_rebase_update.py Make git rebase-update more responsive. 11 years ago
git_rename_branch.py Add a family of git-commands to assist with the management of multiple CLs/branches. 11 years ago
git_reparent_branch.py Make marked merge base invalid when the upstream changes. 11 years ago
git_retry.py Added 'git-retry' bootstrap 11 years ago
git_squash_branch.py Fix bug in git_squash_branch.py. 11 years ago
git_try.py
git_upstream_diff.py Make udiff print reasonable errors while not on a branch. 11 years ago
gn Add executable and line ending properties for GN. 11 years ago
gn.bat Add some missing setlocals from various .bat files 11 years ago
gn.py Make gn wrapper use the one in buildtools rather than tools/gn/bin. 11 years ago
hammer
hammer.bat
my_activity.py Add --last_week/-W option to my_activity.py 11 years ago
my_reviews.py Validate input dates in my_reviews.py. 11 years ago
ninja Update ninja to v1.5.1 on Mac, Linux32, Linux64, Windows. 11 years ago
ninja-linux32 Update ninja to v1.5.1 on Mac, Linux32, Linux64, Windows. 11 years ago
ninja-linux64 Update ninja to v1.5.1 on Mac, Linux32, Linux64, Windows. 11 years ago
ninja-mac Update ninja to v1.5.1 on Mac, Linux32, Linux64, Windows. 11 years ago
ninja.exe Update ninja to v1.5.1 on Mac, Linux32, Linux64, Windows. 11 years ago
owners.py An interactive tool to help find owners covering current change list. 12 years ago
owners_finder.py An interactive tool to help find owners covering current change list. 12 years ago
patch.py presubmit_support: Call git once per change, to get a diff for all files. Parse this result to generate per-file diffs, which go into a cache that's shared between the AffectedFile instances. 12 years ago
presubmit_canned_checks.py Add exception for long url(..) lines in css files in presubmit_canned_checks.CheckLongLines 11 years ago
presubmit_support.py Recursively find all tests in a git repo. 11 years ago
profile.xml
pylint Fix git-cl quoting, yet again. 11 years ago
pylint.py
pylintrc
python_git_runner.sh Refactor the way that git executables are launched in depot tools. 11 years ago
repo Update to repo version v1.12.13-cr1 11 years ago
rietveld.py Changed backoff to be exponential. This will help to reduce apply_issue flakiness. 11 years ago
roll-dep Convenience tool for rolling git-style deps with an svn revision. 11 years ago
roll-dep.bat Convenience tool for rolling git-style deps with an svn revision. 11 years ago
roll_dep.py Add comment with svn revision number. 11 years ago
scm.py Revert of scm.GIT.IsValidRevision: Only return True if the given object is a commit (https://codereview.chromium.org/329823002/) 11 years ago
subcommand.py Add transparent dash support to commands. 12 years ago
subprocess2.py More explicit error message 11 years ago
trychange.py trychange.py hotfix 11 years ago
update_depot_tools Update to git-1.9.0. 11 years ago
update_depot_tools.bat Update to git-1.9.0. 11 years ago
upload_to_google_storage.py Adds SSO auth to gsutil 11 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