Sen descrición

Andrew Grieve 0b3c297363 my_activity.py: Handle JSON parse errors hai 8 meses
bootstrap fbb90a5af2 [win-bootstrap] Use flag to enable direct install git hai 9 meses
fetch_configs bc7f9bfff5 Add webpagereplay fetch_config hai 9 meses
hooks 03a1a8936e pre-commit: do not ignore submodule when running diff-index hai 1 ano
infra aaa1224389 Roll recipe dependencies (trivial). hai 8 meses
infra_lib d495580f42 Add telemetry initialization and opt out utility hai 10 meses
man 6eeb55de17 Add --tree option to rebase-update. hai 1 ano
metadata 833f488142 Revert "Adding Supplement:Apache-2.0 to chromium license allowlist." hai 9 meses
python-bin 67702834cc cipd/python: optimize cat usage %!s(int64=2) %!d(string=hai) anos
python2-bin 67702834cc cipd/python: optimize cat usage %!s(int64=2) %!d(string=hai) anos
recipes 297f5a341c Return out_commit from bot_update.ensure_checkout. hai 8 meses
testing_support 68237d3317 Update CMDgitmodules to set `gclient-recursedeps` in .gitmodules file. hai 10 meses
tests db017d1ffe autoninja: use build/toolchain/use_reclient_value.py hai 8 meses
third_party 8258c1340a [depot_tools] annotate third_party/colorama as non security critical hai 11 meses
win_toolchain a423469b61 Add timeout to git call in windows toolchain update script hai 9 meses
zsh-goodies 6e043f755b Remove unmaintained "gclient export" command, %!s(int64=14) %!d(string=hai) anos
.cipd_impl.ps1 02838e6f4e Import Get-FileHash from PowerShell's version specific path %!s(int64=2) %!d(string=hai) anos
.flake8 2ef0787c49 Add a config file for the flake8 linter. hai 1 ano
.git-blame-ignore-revs 80f3b57068 Reuse GIT_BLAME_IGNORE_REV_FILE variable hai 11 meses
.gitattributes e416566a1e Establish a directory for chrome infra telemetry hai 1 ano
.gitignore 61fad561d6 autoninja: check RBE project, not account hai 11 meses
.isort.cfg 9a7b7675ba isort: make available to users %!s(int64=3) %!d(string=hai) anos
.style.yapf 124bb8e53c switch to 4 space indent hai 1 ano
.vpython3 61fad561d6 autoninja: check RBE project, not account hai 11 meses
BUILD_OWNERS 3ca8d0d0ca add siso wrapper %!s(int64=2) %!d(string=hai) anos
CROS_OWNERS de38174544 CROS_OWNERS: switch to our common shared lists %!s(int64=3) %!d(string=hai) anos
DIR_METADATA 364205c70e [depot_tools] Migrate metadata to DIR_METADATA. %!s(int64=4) %!d(string=hai) anos
LICENSE fb2b8eb2e2 Create the Next Generation of depot_tools. Eh. %!s(int64=16) %!d(string=hai) anos
LUCI_OWNERS e5d7ea3c01 add peep-software-deploy team to luci owners hai 1 ano
OWNERS 5dce57b05e Remove brucedawson@ from some depot_tools OWNERS files hai 10 meses
PRESUBMIT.py b832657a0c presubmit: Check freeze on commit only hai 9 meses
README.gclient.md 186449d3e7 docs: Removing references to SVN %!s(int64=9) %!d(string=hai) anos
README.git-cl.md 9c0dc3026e Replace non-inclusive terms %!s(int64=4) %!d(string=hai) anos
README.md 0696c428b0 Switch to using issues.chromium.org bug links hai 1 ano
RECLIENT_OWNERS 9e36ef60d0 Add convenience wrapper for reclientreport for autoninja users %!s(int64=2) %!d(string=hai) anos
WATCHLISTS bb27381a20 Update WATCHLISTS for ninja, siso and reclient changes %!s(int64=2) %!d(string=hai) anos
auth.py 4b94130034 [gerrit_util] Add fallback if missing Gerrit account hai 11 meses
autoninja 61fad561d6 autoninja: check RBE project, not account hai 11 meses
autoninja.bat 61fad561d6 autoninja: check RBE project, not account hai 11 meses
autoninja.py 885ed47343 Remove assert statements in autoninja.py hai 8 meses
bazel 6a505ad9ab [ChromiumOS] Add a launcher for Bazel %!s(int64=2) %!d(string=hai) anos
bazel.py 124bb8e53c switch to 4 space indent hai 1 ano
bb 1790a4b687 provide a way to override cipd root for *nix systems. hai 1 ano
bb.bat 47a4b0bc59 Add revert instructions %!s(int64=4) %!d(string=hai) anos
black 9997ceb9a1 black: add helper for formatting Python %!s(int64=3) %!d(string=hai) anos
bootstrap_python3 f7b9e70a2e Use relative path for cipd %!s(int64=2) %!d(string=hai) anos
breakpad.py 124bb8e53c switch to 4 space indent hai 1 ano
build_telemetry 01e29c8b5d autoninja: Implement build_telemetry utils hai 1 ano
build_telemetry.bat 01e29c8b5d autoninja: Implement build_telemetry utils hai 1 ano
build_telemetry.py 46f5de67e1 build_telemetry: Do not print warning message for cipd auth-info error hai 11 meses
cbuildbot 76c2e50d3b simplify the chromite wrappers %!s(int64=5) %!d(string=hai) anos
cipd 2aba33b703 cipd: allow overriding the location of where cipd binary is installed hai 1 ano
cipd.bat ead9b43bd5 [cipd] Run cipd_impl.ps1 in constrained language mode %!s(int64=2) %!d(string=hai) anos
cipd_bin_setup.bat 93fbd989e0 Revert "Retry switching to use CIPD ninja v1.8.2" %!s(int64=3) %!d(string=hai) anos
cipd_bin_setup.sh 1790a4b687 provide a way to override cipd root for *nix systems. hai 1 ano
cipd_client_version 17226d7965 [depot_tools] Roll CIPD. hai 11 meses
cipd_client_version.digests 17226d7965 [depot_tools] Roll CIPD. hai 11 meses
cipd_manifest.txt 1b58dc6865 [led] Roll led to latest version. hai 9 meses
cipd_manifest.versions 1b58dc6865 [led] Roll led to latest version. hai 9 meses
cipd_manifest_cros_python2.txt 495b23b39a remove goma CIPD package hai 1 ano
cipd_manifest_cros_python2.versions 252b19866a Redirect cros calls to py2.7 scripts to the vpython2.7 package. %!s(int64=2) %!d(string=hai) anos
clang-format 3912091152 Use py3 for remaining tools in depot_tools path %!s(int64=4) %!d(string=hai) anos
clang-format.bat 3912091152 Use py3 for remaining tools in depot_tools path %!s(int64=4) %!d(string=hai) anos
clang_format.py 9428cf648b [clang_format] Update clang path hai 1 ano
codereview.settings fdd89469d6 update stale codereview.chromium.org links %!s(int64=4) %!d(string=hai) anos
compile_single_file f5dd9dda9e Make 'compile_single_file' use vpython3 hai 1 ano
compile_single_file.bat f5dd9dda9e Make 'compile_single_file' use vpython3 hai 1 ano
compile_single_file.py f5dd9dda9e Make 'compile_single_file' use vpython3 hai 1 ano
cpplint.bat 6a8680a80e Use python3 for cpplint and get_toolchain on Win %!s(int64=3) %!d(string=hai) anos
cpplint.py 136e7e7594 [cpplint] add stdin support in stdin hai 10 meses
cpplint_chromium.py 124bb8e53c switch to 4 space indent hai 1 ano
cros 007dd45a94 cros: expand to cover more roots hai 1 ano
cros_python2.vpython 252b19866a Redirect cros calls to py2.7 scripts to the vpython2.7 package. %!s(int64=2) %!d(string=hai) anos
cros_sdk 76c2e50d3b simplify the chromite wrappers %!s(int64=5) %!d(string=hai) anos
detect_host_arch.py 9d64acedea enable fetch and gclient to run on z/OS part 1 hai 1 ano
dirmd 1790a4b687 provide a way to override cipd root for *nix systems. hai 1 ano
dirmd.bat 47a4b0bc59 Add revert instructions %!s(int64=4) %!d(string=hai) anos
download_from_google_storage bc8802fd81 Switch download_from_google_storage to py3 %!s(int64=4) %!d(string=hai) anos
download_from_google_storage.bat 68df7954e3 use python3 for download_from_google_storage.bat %!s(int64=3) %!d(string=hai) anos
download_from_google_storage.py 2f0f9bc0bd [depot_tools] Update GCS dotfile naming hai 1 ano
ensure_bootstrap b4e97035af redirect stdout and stderr of cipd_bin_setup to /dev/null hai 1 ano
fetch 06001cda91 [py2] Drop envvar to run scripts with py2 %!s(int64=2) %!d(string=hai) anos
fetch.bat 06001cda91 [py2] Drop envvar to run scripts with py2 %!s(int64=2) %!d(string=hai) anos
fetch.py aa89e07e15 fail if fetch command is called in Cog hai 1 ano
gclient 06001cda91 [py2] Drop envvar to run scripts with py2 %!s(int64=2) %!d(string=hai) anos
gclient-new-workdir.py dd8b5ea401 fail gracefully if gclient-new-workdir.py is called in non-git env hai 1 ano
gclient.bat 06001cda91 [py2] Drop envvar to run scripts with py2 %!s(int64=2) %!d(string=hai) anos
gclient.py 52d1357a95 gclient: Support alternative names for OSes in target_os hai 9 meses
gclient_completion.sh 2dca41cf70 Added basic completion (the commands) for gclient. %!s(int64=11) %!d(string=hai) anos
gclient_eval.py da85282643 gclient_eval.py: Add "new_usages_require_review" to DEPS file schema hai 10 meses
gclient_paths.py e6f497f72b gclient: resolve symlink in gclient_entries before checking with current path hai 1 ano
gclient_scm.py 1e559a2828 Fix error in gclient_scm.py during processing git configs hai 10 meses
gclient_utils.py 22ee199f19 Flush stdout more often so password prompts come after explanations. hai 10 meses
gerrit ae46c3cecd Symlink gerrit CLI into depot_tools %!s(int64=2) %!d(string=hai) anos
gerrit_client.py dcaa6afa97 gerrit_client: introduce add message command hai 9 meses
gerrit_util.py ff14128b8a gerrit_util: add revision kwarg to SetReview hai 9 meses
git-cache 648b4cd2ca Add quotes around paths in bash scripts %!s(int64=5) %!d(string=hai) anos
git-cl 11f4a84bb1 Add quotes around paths in bash scripts. %!s(int64=5) %!d(string=hai) anos
git-credential-luci 1790a4b687 provide a way to override cipd root for *nix systems. hai 1 ano
git-credential-luci.bat 02b791b756 [cipd] Add git-credential-luci (reland) hai 1 ano
git-crrev-parse eee67fe5a5 Fix git-crrev-parse to work with both master & main branches %!s(int64=3) %!d(string=hai) anos
git-drover 648b4cd2ca Add quotes around paths in bash scripts %!s(int64=5) %!d(string=hai) anos
git-find-releases 648b4cd2ca Add quotes around paths in bash scripts %!s(int64=5) %!d(string=hai) anos
git-footers 648b4cd2ca Add quotes around paths in bash scripts %!s(int64=5) %!d(string=hai) anos
git-freeze 648b4cd2ca Add quotes around paths in bash scripts %!s(int64=5) %!d(string=hai) anos
git-gs 7a9218d13f Enable searching starlark files with git gs. hai 1 ano
git-hyper-blame 648b4cd2ca Add quotes around paths in bash scripts %!s(int64=5) %!d(string=hai) anos
git-map 648b4cd2ca Add quotes around paths in bash scripts %!s(int64=5) %!d(string=hai) anos
git-map-branches 648b4cd2ca Add quotes around paths in bash scripts %!s(int64=5) %!d(string=hai) anos
git-mark-merge-base 648b4cd2ca Add quotes around paths in bash scripts %!s(int64=5) %!d(string=hai) anos
git-nav-downstream 648b4cd2ca Add quotes around paths in bash scripts %!s(int64=5) %!d(string=hai) anos
git-nav-upstream e0038c0721 print slightly better message if git nav-upstream is not called in git repo hai 1 ano
git-new-branch 648b4cd2ca Add quotes around paths in bash scripts %!s(int64=5) %!d(string=hai) anos
git-number 648b4cd2ca Add quotes around paths in bash scripts %!s(int64=5) %!d(string=hai) anos
git-rebase-update 648b4cd2ca Add quotes around paths in bash scripts %!s(int64=5) %!d(string=hai) anos
git-rename-branch 648b4cd2ca Add quotes around paths in bash scripts %!s(int64=5) %!d(string=hai) anos
git-reparent-branch 648b4cd2ca Add quotes around paths in bash scripts %!s(int64=5) %!d(string=hai) anos
git-retry 648b4cd2ca Add quotes around paths in bash scripts %!s(int64=5) %!d(string=hai) anos
git-runhooks a59e9ea222 Revert "Remove unused functionality in bot_update.py" %!s(int64=3) %!d(string=hai) anos
git-squash-branch 648b4cd2ca Add quotes around paths in bash scripts %!s(int64=5) %!d(string=hai) anos
git-squash-branch-tree 367c6f720d Add git squash-branch-tree hai 1 ano
git-thaw 648b4cd2ca Add quotes around paths in bash scripts %!s(int64=5) %!d(string=hai) anos
git-upstream-diff 648b4cd2ca Add quotes around paths in bash scripts %!s(int64=5) %!d(string=hai) anos
git_auth.py 4b94130034 [gerrit_util] Add fallback if missing Gerrit account hai 11 meses
git_cache.py 6a7597cf9a error if git cache commands are called in cog env. hai 1 ano
git_cl.py 46ade108f8 Update the error message for detached head. hai 9 meses
git_cl_completion.sh cdaf0be1f4 Add git completion helper to cl upload %!s(int64=5) %!d(string=hai) anos
git_common.py 25f9761514 Prefer direct git installation for Windows hai 9 meses
git_completion.sh 272e6ab3cb Bash autocompletion for 'git new-branch' and 'git reparent-branch' hai 1 ano
git_dates.py edba22d4eb Fix multiline comment formatting hai 1 ano
git_find_releases.py f37d3b325f fail gracefully if git find-releases is called in cog hai 1 ano
git_footers.py 04535d7af3 fail gracefully if git footers is called in cog hai 1 ano
git_freezer.py 2ea2ccaa3d fail gracefully if git freeze or git thaw are called in cog hai 1 ano
git_hyper_blame.py 80f3b57068 Reuse GIT_BLAME_IGNORE_REV_FILE variable hai 11 meses
git_map.py 718d2c81de fail gracefully if git map is called in cog hai 1 ano
git_map_branches.py da2ef92c9f fail gracefully if git map-branches is called in cog hai 1 ano
git_mark_merge_base.py 25120f4278 fail gracefully if git mark-merge-base is called in cog hai 1 ano
git_nav_downstream.py 60997ea745 fail gracefully if git nav-downstream is called in cog hai 1 ano
git_new_branch.py bba50600f8 Track origin/lkgr when using --lkgr flag in new-branch hai 11 meses
git_number.py f0f34c47f7 Revert "[git-number] Remove unused git-number script." hai 1 ano
git_rebase_update.py 6eeb55de17 Add --tree option to rebase-update. hai 1 ano
git_rename_branch.py 7f95b88c66 fail gracefully if git rename-branch is called in cog hai 1 ano
git_reparent_branch.py 0c999fd71a fail gracefully if git reparent-branch is called in cog hai 1 ano
git_retry.py edba22d4eb Fix multiline comment formatting hai 1 ano
git_squash_branch.py 56edc1d23d fail gracefully if git squash-branch is called in cog hai 1 ano
git_squash_branch_tree.py 367c6f720d Add git squash-branch-tree hai 1 ano
git_upstream_diff.py 5773197a10 fail gracefully if git upstream-diff is called in cog hai 1 ano
gn 67574d7a19 gn: Call gn.bat in msysgit on Windows. %!s(int64=4) %!d(string=hai) anos
gn.bat c70750b73e Revert "Call python3.bat explicitly from gn.bat on Windows." %!s(int64=3) %!d(string=hai) anos
gn.py 13f6ecbbbb Reland "[depot_tools] Support both gn paths in gn.py" hai 1 ano
gn_helper.py fd5161870a gn_helper: find correct directory for // hai 8 meses
google-java-format a76c50e296 [depot_tools] add google_java_format.py hai 1 ano
google-java-format.bat a76c50e296 [depot_tools] add google_java_format.py hai 1 ano
google_java_format.py 705b8d2d85 Fix google-java-format/cipd exists check. hai 1 ano
gsutil.py 19199514e8 [gsutil] Fix race when downloading gsutil hai 1 ano
gsutil.py.bat 544594e0b2 Reland "Make depot_tools scripts return exit codes properly on all platforms." %!s(int64=3) %!d(string=hai) anos
gsutil.vpython3 1909696991 Reland "Update gsutil to use gsutil version 4.68" %!s(int64=3) %!d(string=hai) anos
isort 124bb8e53c switch to 4 space indent hai 1 ano
led 1790a4b687 provide a way to override cipd root for *nix systems. hai 1 ano
led.bat 47a4b0bc59 Add revert instructions %!s(int64=4) %!d(string=hai) anos
lockfile.py 19199514e8 [gsutil] Fix race when downloading gsutil hai 1 ano
luci-auth 1790a4b687 provide a way to override cipd root for *nix systems. hai 1 ano
luci-auth.bat 47a4b0bc59 Add revert instructions %!s(int64=4) %!d(string=hai) anos
lucicfg 1790a4b687 provide a way to override cipd root for *nix systems. hai 1 ano
lucicfg.bat 47a4b0bc59 Add revert instructions %!s(int64=4) %!d(string=hai) anos
mac_toolchain 1790a4b687 provide a way to override cipd root for *nix systems. hai 1 ano
metrics.README.md 04a2e71a92 [metrics] Add new auth metric hai 1 ano
metrics.py 04a2e71a92 [metrics] Add new auth metric hai 1 ano
metrics_utils.py 04a2e71a92 [metrics] Add new auth metric hai 1 ano
my_activity.py 0b3c297363 my_activity.py: Handle JSON parse errors hai 8 meses
newauth.py 8715e8e64d [git_cl] Let creds-check revert new auth config changes hai 1 ano
ninja c768fd8fc9 Revert "Use depot_tools python3 to call ninja.py" %!s(int64=2) %!d(string=hai) anos
ninja.bat 2b1aa8dcab Add single file compile support for Windows in ninja wrappers %!s(int64=2) %!d(string=hai) anos
ninja.py 356ef0324e ninja: error if trying to build for use_remoteexec=true hai 1 ano
ninjalog_uploader.py 8050ac421d ninjalog_uploader: Send is_cloudtop=false explicitly hai 11 meses
owners_client.py 0cba8dd68e [owners] Limit number of concurrent Gerrit connections hai 1 ano
owners_finder.py f936d540e1 Remove __future__ imports hai 1 ano
pinpoint 1790a4b687 provide a way to override cipd root for *nix systems. hai 1 ano
pinpoint.bat 47a4b0bc59 Add revert instructions %!s(int64=4) %!d(string=hai) anos
post_build_ninja_summary.py 1d1f17af89 allow v6 ninja log format hai 1 ano
presubmit_canned_checks.py bd7f36598e Make the freeze check Chromium-specific and update dates hai 8 meses
presubmit_diff.py f52dad9747 Handle binaries in presubmit_diff hai 1 ano
presubmit_support.py a6ce588715 Use ProvidedDiffChange if diff is empty string hai 10 meses
prpc 1790a4b687 provide a way to override cipd root for *nix systems. hai 1 ano
prpc.bat 47a4b0bc59 Add revert instructions %!s(int64=4) %!d(string=hai) anos
pylint-2.17 a52cc055e4 pylint: Add pylint 2.17 hai 1 ano
pylint-2.17.bat a52cc055e4 pylint: Add pylint 2.17 hai 1 ano
pylint-2.6 124bb8e53c switch to 4 space indent hai 1 ano
pylint-2.6.bat d60b99cd5a Get pylint-2.6 to work under vpython3 on Windows. %!s(int64=4) %!d(string=hai) anos
pylint-2.7 124bb8e53c switch to 4 space indent hai 1 ano
pylint-2.7.bat 59e3296a7e Add pylint-2.7 %!s(int64=3) %!d(string=hai) anos
pylint_main.py f936d540e1 Remove __future__ imports hai 1 ano
pylintrc 0985861970 CodeInclusion: Rename whitelist/blacklist -> allowlist/blocklist %!s(int64=5) %!d(string=hai) anos
pylintrc-2.17 a52cc055e4 pylint: Add pylint 2.17 hai 1 ano
python_runner.sh 06001cda91 [py2] Drop envvar to run scripts with py2 %!s(int64=2) %!d(string=hai) anos
rdb 1790a4b687 provide a way to override cipd root for *nix systems. hai 1 ano
rdb.bat 47a4b0bc59 Add revert instructions %!s(int64=4) %!d(string=hai) anos
rdb_wrapper.py edba22d4eb Fix multiline comment formatting hai 1 ano
reclient_helper.py 7109d59981 Revert "reclient_helper: tuning local execution parameter" hai 9 meses
reclientreport 9e36ef60d0 Add convenience wrapper for reclientreport for autoninja users %!s(int64=2) %!d(string=hai) anos
reclientreport.bat 522e12caff Remove unnesisary quotes from propagated args in reclientreport.bat %!s(int64=2) %!d(string=hai) anos
reclientreport.py 27ea34f94e [reclient] Keep previous 5 builds worth of logs hai 1 ano
repo 4a8524d1e9 error if repo command is called in Cog environment hai 1 ano
repo_launcher ecad42cb6a [repo] Update repo launcher to v2.48 hai 10 meses
roll-dep 06001cda91 [py2] Drop envvar to run scripts with py2 %!s(int64=2) %!d(string=hai) anos
roll-dep.bat 06001cda91 [py2] Drop envvar to run scripts with py2 %!s(int64=2) %!d(string=hai) anos
roll_dep.py 954a8d7713 error if roll-dep command is called in Cog environment hai 1 ano
roll_downstream_gcs_deps.py 76021e34e5 Update roll_downstream_gcs_deps to take a list of source and destination packages. hai 11 meses
rustfmt.py 124bb8e53c switch to 4 space indent hai 1 ano
scm.py e0c47c138a [scm] Handle empty .gitmodules file hai 10 meses
setup_color.py edba22d4eb Fix multiline comment formatting hai 1 ano
siso 3ca8d0d0ca add siso wrapper %!s(int64=2) %!d(string=hai) anos
siso.bat 3ca8d0d0ca add siso wrapper %!s(int64=2) %!d(string=hai) anos
siso.py f5e1092339 siso: print error if siso binary doesn't exist in third_party/siso hai 1 ano
split_cl.py 8893866bf7 Edit warning in split_cl.py hai 1 ano
subcommand.py edba22d4eb Fix multiline comment formatting hai 1 ano
subprocess2.py edba22d4eb Fix multiline comment formatting hai 1 ano
swift-format 0a6b544e20 Support git cl formatting for swift files %!s(int64=3) %!d(string=hai) anos
swift_format.py 124bb8e53c switch to 4 space indent hai 1 ano
update_depot_tools ae2bc61bf0 Make update_depot_tools tell you if it's skipping an update. hai 11 meses
update_depot_tools.bat 495b23b39a remove goma CIPD package hai 1 ano
update_depot_tools_toggle.py 124bb8e53c switch to 4 space indent hai 1 ano
upload_metrics.py 124bb8e53c switch to 4 space indent hai 1 ano
upload_to_google_storage.py eb732c3c35 upload_to_google_storage.py: set x-goog-meta-executable during upload instead of using setmeta hai 10 meses
upload_to_google_storage_first_class.py 499342211b [GCS] Add prefix option to upload_to_gs_f_c hai 1 ano
utils.py 6f180c0a23 Use $HOME/.config/depot_tools on linux for .cfg files hai 1 ano
vpython3 c1457823a0 Don't write pyc files if running from Cog hai 11 meses
vpython3.bat 8d81365cf0 Use the bundled interpreter instead of passing -vpython-interpreter. %!s(int64=3) %!d(string=hai) anos
watchlists.py edba22d4eb Fix multiline comment formatting hai 1 ano
whitespace.txt 74e3d80019 Change whitespace.txt %!s(int64=4) %!d(string=hai) anos
win32imports.py 124bb8e53c switch to 4 space indent hai 1 ano
yapf 3d6dda8241 Always run yapf with vpython3. hai 1 ano
yapf.bat d73d069a76 Run yapf with vpython3 %!s(int64=4) %!d(string=hai) anos

README.gclient.md

gclient

gclient is a tool for managing a modular checkout of source code from multiple source code repositories. It wraps underlying source code management commands to provide support for distributing tree updates, status commands, and diffs across multiple checked-out working directories.

The gclient script is controlled by a .gclient file at the top of a directory tree which will contain source code from multiple locations. A .gclient file is a Python script that defines a list of solutions with the following format:

solutions = [
  { "name"        : "src",
    "url"         : "https://chromium.googlesource.com/chromium/src.git",
    "custom_deps" : {
      # To use the trunk of a component instead of what's in DEPS:
      #"component": "https://github.com/luci/luci-go",
      # To exclude a component from your working copy:
      #"data/really_large_component": None,
    }
  },
]

A solution is a collection of component pieces of software that will be checked out in a specific directory layout for building together.

Each entry in the solutions list is defined by a Python dictionary that contains the following items:

  • name: The name of the directory in which the solution will be checked out.
  • url: The URL from which this solution will be checked out. gclient expects that the checked-out solution will contain a file named DEPS that in turn defines the specific pieces that must be checked out to create the working directory layout for building and developing the solution's software.
  • deps_file: A string containing just the filename (not a path) of the file in the solution dir to use as the list of dependencies. This tag is optional, and defaults to DEPS.
  • custom_deps: A dictionary containing optional custom overrides for entries in the solution's DEPS file. This can be used to have the local working directory not check out and update specific components, or to sync the local working-directory copy of a given component to a different specific revision, or a branch, or the head of a tree. It can also be used to append new entries that do not exist in the DEPS file.

Within each checked-out solution, gclient expects to find a file typically named DEPS (it actually uses the value of the deps_file key above) which defines the different component pieces of software that must be checked out for the solution. The DEPS file is a Python script that defines a dictionary named deps:

deps = {
  "src/outside": "https://outside-server/one/repo.git@12345677890123456778901234567789012345677890",
  "src/component": "https://dont-use-github.com/its/unreliable.git@0000000000000000000000000000000000000000",
  "src/relative": "/another/repo.git@aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
}

Each item in the deps dictionary consists of a key-value pair. The key is the directory into which the component will be checked out, relative to the directory containing the .gclient file. The value is the URL from which that directory will be checked out. If there is no address scheme (that is, no http: prefix), then the value must begin with a slash and is treated relative to the root of the solution's repository.

The URL typically contains a specific revision or change number (as appropriate for the underlying SCM system) to freeze the external software at a specific, known state. Alternatively, if there is no revision or change number, the URL will track the latest changes on the specific trunk or branch.