Без опису

Ramin Halavati f810dae272 Add two items to licenses allow list. 3 місяців тому
bootstrap 7c4bd3f94e [win-bootstrap] Update the comments in update_depot_tools.bat 6 місяців тому
fetch_configs 5982a1aeb3 Add fetch config for web-tests 3 місяців тому
hooks 03a1a8936e pre-commit: do not ignore submodule when running diff-index 1 рік тому
infra 14bfda1708 Roll recipe dependencies (trivial). 3 місяців тому
infra_lib d495580f42 Add telemetry initialization and opt out utility 10 місяців тому
man 7d94687e8d python -> python3 in depot_tools tutorial, and regenerate docs. 3 місяців тому
metadata f810dae272 Add two items to licenses allow list. 3 місяців тому
python-bin e6596746dc better error message from python3 when not initialized 3 місяців тому
python2-bin 67702834cc cipd/python: optimize cat usage 2 роки тому
recipes 14bfda1708 Roll recipe dependencies (trivial). 3 місяців тому
testing_support e5159abea6 Add CheckNewDEPSHooksHasRequiredReviewers canned check 5 місяців тому
tests 21c86aad65 Specify full dirmd path in CheckDirMetadataFormat 3 місяців тому
third_party ee429f3694 updating license id for colorama 6 місяців тому
win_toolchain 18580cf9c4 DEPOT_TOOLS_WIN_TOOLCHAIN=0 does not work with remote execution 3 місяців тому
zsh-goodies 6e043f755b Remove unmaintained "gclient export" command, 14 роки тому
.cipd_impl.ps1 af5e0b1f0f [cipd] support proxy for .cipd_impl.ps1 8 місяців тому
.flake8 2ef0787c49 Add a config file for the flake8 linter. 1 рік тому
.git-blame-ignore-revs 80f3b57068 Reuse GIT_BLAME_IGNORE_REV_FILE variable 11 місяців тому
.gitattributes c273e3eb62 Make dirmd available in recipe bundle 3 місяців тому
.gitignore 61fad561d6 autoninja: check RBE project, not account 11 місяців тому
.isort.cfg 9a7b7675ba isort: make available to users 3 роки тому
.style.yapf 124bb8e53c switch to 4 space indent 1 рік тому
.vpython3 53c3b05869 Add hjson wheel for web-tests presubmit support 3 місяців тому
BUILD_OWNERS 3ca8d0d0ca add siso wrapper 2 роки тому
CROS_OWNERS de38174544 CROS_OWNERS: switch to our common shared lists 3 роки тому
DIR_METADATA 364205c70e [depot_tools] Migrate metadata to DIR_METADATA. 4 роки тому
LICENSE fb2b8eb2e2 Create the Next Generation of depot_tools. Eh. 16 роки тому
LUCI_OWNERS e5d7ea3c01 add peep-software-deploy team to luci owners 1 рік тому
OWNERS 3b73c8d8eb android: Add wnwen to OWNERS 3 місяців тому
PRESUBMIT.py 9f715f8017 Revert "Add AffectedFile.Extension() in presubmit_support" 6 місяців тому
README.gclient.md 186449d3e7 docs: Removing references to SVN 9 роки тому
README.git-cl.md 9c0dc3026e Replace non-inclusive terms 4 роки тому
README.google_cloud_storage.md b123624ac6 Document the current state of LUCI GCS integration 5 місяців тому
README.md d5d4b956e2 explain build tools and depot_tools installations 3 місяців тому
RECLIENT_OWNERS 9e36ef60d0 Add convenience wrapper for reclientreport for autoninja users 2 роки тому
WATCHLISTS bb27381a20 Update WATCHLISTS for ninja, siso and reclient changes 2 роки тому
android_build_server_helper.py d6a7a6bd9c android: Allow anonymous pipes for benchmarking 3 місяців тому
auth.py 0f344dbf8a [auth] Delete unused _run_luci_auth_login method 5 місяців тому
autoninja e636a67972 autoninja: Use bundled Python to invoke autoninja.py 4 місяців тому
autoninja.bat 61fad561d6 autoninja: check RBE project, not account 11 місяців тому
autoninja.py 73a3fbf1fa autoninja.py: Make use_android_build_server enabled by default 4 місяців тому
bazel 6a505ad9ab [ChromiumOS] Add a launcher for Bazel 2 роки тому
bazel.py 124bb8e53c switch to 4 space indent 1 рік тому
bb 1790a4b687 provide a way to override cipd root for *nix systems. 1 рік тому
bb.bat 47a4b0bc59 Add revert instructions 4 роки тому
black 9997ceb9a1 black: add helper for formatting Python 3 роки тому
bootstrap_python3 f7b9e70a2e Use relative path for cipd 2 роки тому
breakpad.py 124bb8e53c switch to 4 space indent 1 рік тому
build_telemetry 01e29c8b5d autoninja: Implement build_telemetry utils 1 рік тому
build_telemetry.bat 01e29c8b5d autoninja: Implement build_telemetry utils 1 рік тому
build_telemetry.py 46f5de67e1 build_telemetry: Do not print warning message for cipd auth-info error 11 місяців тому
cbuildbot 76c2e50d3b simplify the chromite wrappers 5 роки тому
cipd 2aba33b703 cipd: allow overriding the location of where cipd binary is installed 1 рік тому
cipd.bat ead9b43bd5 [cipd] Run cipd_impl.ps1 in constrained language mode 2 роки тому
cipd_bin_setup.bat 93fbd989e0 Revert "Retry switching to use CIPD ninja v1.8.2" 3 роки тому
cipd_bin_setup.sh 1790a4b687 provide a way to override cipd root for *nix systems. 1 рік тому
cipd_client_version 17226d7965 [depot_tools] Roll CIPD. 11 місяців тому
cipd_client_version.digests 17226d7965 [depot_tools] Roll CIPD. 11 місяців тому
cipd_manifest.txt eefd2ed010 [cipd] Update lucicfg to v1.45.0. 3 місяців тому
cipd_manifest.versions eefd2ed010 [cipd] Update lucicfg to v1.45.0. 3 місяців тому
cipd_manifest_cros_python2.txt 495b23b39a remove goma CIPD package 1 рік тому
cipd_manifest_cros_python2.versions 252b19866a Redirect cros calls to py2.7 scripts to the vpython2.7 package. 2 роки тому
clang-format 3912091152 Use py3 for remaining tools in depot_tools path 4 роки тому
clang-format.bat 3912091152 Use py3 for remaining tools in depot_tools path 4 роки тому
clang_format.py 9428cf648b [clang_format] Update clang path 1 рік тому
codereview.settings fdd89469d6 update stale codereview.chromium.org links 4 роки тому
compile_single_file f5dd9dda9e Make 'compile_single_file' use vpython3 1 рік тому
compile_single_file.bat f5dd9dda9e Make 'compile_single_file' use vpython3 1 рік тому
compile_single_file.py f5dd9dda9e Make 'compile_single_file' use vpython3 1 рік тому
cpplint.bat 6a8680a80e Use python3 for cpplint and get_toolchain on Win 3 роки тому
cpplint.py f088ff9f1b [cpplint] add nolint region support 4 місяців тому
cpplint_chromium.py 124bb8e53c switch to 4 space indent 1 рік тому
cros 0929ef8d84 cros: start pushing people to 3.11 7 місяців тому
cros_python2.vpython 252b19866a Redirect cros calls to py2.7 scripts to the vpython2.7 package. 2 роки тому
cros_sdk 76c2e50d3b simplify the chromite wrappers 5 роки тому
detect_host_arch.py 9d64acedea enable fetch and gclient to run on z/OS part 1 1 рік тому
dirmd 1790a4b687 provide a way to override cipd root for *nix systems. 1 рік тому
dirmd.bat 47a4b0bc59 Add revert instructions 4 роки тому
download_from_google_storage bc8802fd81 Switch download_from_google_storage to py3 4 роки тому
download_from_google_storage.bat 68df7954e3 use python3 for download_from_google_storage.bat 3 роки тому
download_from_google_storage.py cb5069bb8e [auth-unify] deprecate no_auth options in download_for_google_storage 4 місяців тому
ensure_bootstrap 792831e176 ensure_bootstrap: basic argument processing 7 місяців тому
fetch 06001cda91 [py2] Drop envvar to run scripts with py2 2 роки тому
fetch.bat 06001cda91 [py2] Drop envvar to run scripts with py2 2 роки тому
fetch.py aa89e07e15 fail if fetch command is called in Cog 1 рік тому
gclient 06001cda91 [py2] Drop envvar to run scripts with py2 2 роки тому
gclient-new-workdir.py dd8b5ea401 fail gracefully if gclient-new-workdir.py is called in non-git env 1 рік тому
gclient.bat 06001cda91 [py2] Drop envvar to run scripts with py2 2 роки тому
gclient.py 474ecb8462 Add --ignore-dep-type option to gclient sync 4 місяців тому
gclient_completion.sh 2dca41cf70 Added basic completion (the commands) for gclient. 11 роки тому
gclient_eval.py da85282643 gclient_eval.py: Add "new_usages_require_review" to DEPS file schema 10 місяців тому
gclient_paths.py 4edb194e91 Set rootRepo custom-keyed-value push option on upload 3 місяців тому
gclient_scm.py 829b580b57 set verbose=False for mirror.populate in _UpdateMirrorIfNotContains() 3 місяців тому
gclient_utils.py 998f7bfaf2 Improve ensure_gsutil reliability 3 місяців тому
gerrit ae46c3cecd Symlink gerrit CLI into depot_tools 2 роки тому
gerrit_client.py 232ffd8df3 gerrit: addmessage: support attention set control 7 місяців тому
gerrit_util.py 6cc266569e git cl cherry-pick: Use base parameter to fix identical tree errors 4 місяців тому
git-cache 648b4cd2ca Add quotes around paths in bash scripts 5 роки тому
git-cl 11f4a84bb1 Add quotes around paths in bash scripts. 5 роки тому
git-credential-luci 463ce5a855 [git-credential-luci] Redirect to batch file on Windows 4 місяців тому
git-credential-luci.bat 02b791b756 [cipd] Add git-credential-luci (reland) 1 рік тому
git-crrev-parse eee67fe5a5 Fix git-crrev-parse to work with both master & main branches 3 роки тому
git-drover 648b4cd2ca Add quotes around paths in bash scripts 5 роки тому
git-find-releases 648b4cd2ca Add quotes around paths in bash scripts 5 роки тому
git-footers 648b4cd2ca Add quotes around paths in bash scripts 5 роки тому
git-freeze 648b4cd2ca Add quotes around paths in bash scripts 5 роки тому
git-gs 7a9218d13f Enable searching starlark files with git gs. 1 рік тому
git-hyper-blame 648b4cd2ca Add quotes around paths in bash scripts 5 роки тому
git-map 648b4cd2ca Add quotes around paths in bash scripts 5 роки тому
git-map-branches 648b4cd2ca Add quotes around paths in bash scripts 5 роки тому
git-mark-merge-base 648b4cd2ca Add quotes around paths in bash scripts 5 роки тому
git-nav-downstream 648b4cd2ca Add quotes around paths in bash scripts 5 роки тому
git-nav-upstream e0038c0721 print slightly better message if git nav-upstream is not called in git repo 1 рік тому
git-new-branch 648b4cd2ca Add quotes around paths in bash scripts 5 роки тому
git-number 648b4cd2ca Add quotes around paths in bash scripts 5 роки тому
git-rebase-update 648b4cd2ca Add quotes around paths in bash scripts 5 роки тому
git-rename-branch 648b4cd2ca Add quotes around paths in bash scripts 5 роки тому
git-reparent-branch 648b4cd2ca Add quotes around paths in bash scripts 5 роки тому
git-retry 648b4cd2ca Add quotes around paths in bash scripts 5 роки тому
git-runhooks a59e9ea222 Revert "Remove unused functionality in bot_update.py" 3 роки тому
git-squash-branch 648b4cd2ca Add quotes around paths in bash scripts 5 роки тому
git-squash-branch-tree 367c6f720d Add git squash-branch-tree 1 рік тому
git-thaw 648b4cd2ca Add quotes around paths in bash scripts 5 роки тому
git-upstream-diff 648b4cd2ca Add quotes around paths in bash scripts 5 роки тому
git_auth.py f55de362c1 [git_auth] Check and fix auth on GCE 3 місяців тому
git_cache.py 8a150ad9d7 Reland "git-cache: contains_revision returns False if sentient file exists" 3 місяців тому
git_cl.py a9cc320bf7 git cl format: Fix return code when using both --dry-run and --diff 3 місяців тому
git_cl_completion.sh cdaf0be1f4 Add git completion helper to cl upload 5 роки тому
git_common.py a7460c638b git_common: raise CalledProcessError with the given cwd, if set 4 місяців тому
git_completion.sh 272e6ab3cb Bash autocompletion for 'git new-branch' and 'git reparent-branch' 1 рік тому
git_dates.py edba22d4eb Fix multiline comment formatting 1 рік тому
git_find_releases.py f37d3b325f fail gracefully if git find-releases is called in cog 1 рік тому
git_footers.py 562c59c76c [git_footers] add support for multiline footers 8 місяців тому
git_freezer.py 2ea2ccaa3d fail gracefully if git freeze or git thaw are called in cog 1 рік тому
git_hyper_blame.py 80f3b57068 Reuse GIT_BLAME_IGNORE_REV_FILE variable 11 місяців тому
git_map.py 718d2c81de fail gracefully if git map is called in cog 1 рік тому
git_map_branches.py 097e207237 [git-map-branches] Fix coloring of root branch 5 місяців тому
git_mark_merge_base.py 25120f4278 fail gracefully if git mark-merge-base is called in cog 1 рік тому
git_nav_downstream.py 60997ea745 fail gracefully if git nav-downstream is called in cog 1 рік тому
git_new_branch.py bba50600f8 Track origin/lkgr when using --lkgr flag in new-branch 11 місяців тому
git_number.py f0f34c47f7 Revert "[git-number] Remove unused git-number script." 1 рік тому
git_rebase_update.py 237b84e76c Colorize branch names for rebase-update 6 місяців тому
git_rename_branch.py 7f95b88c66 fail gracefully if git rename-branch is called in cog 1 рік тому
git_reparent_branch.py 0c999fd71a fail gracefully if git reparent-branch is called in cog 1 рік тому
git_retry.py edba22d4eb Fix multiline comment formatting 1 рік тому
git_squash_branch.py 380df04b62 Modify git squash-branch to perform reparenting 6 місяців тому
git_squash_branch_tree.py 380df04b62 Modify git squash-branch to perform reparenting 6 місяців тому
git_upstream_diff.py 5773197a10 fail gracefully if git upstream-diff is called in cog 1 рік тому
gn a7571b1596 Reland "Reland "Use bundled python to run gn"" 3 місяців тому
gn.bat a7571b1596 Reland "Reland "Use bundled python to run gn"" 3 місяців тому
gn.py 13f6ecbbbb Reland "[depot_tools] Support both gn paths in gn.py" 1 рік тому
gn_helper.py 823adab6bd gn_helper: add missing sys import 5 місяців тому
google-java-format a76c50e296 [depot_tools] add google_java_format.py 1 рік тому
google-java-format.bat a76c50e296 [depot_tools] add google_java_format.py 1 рік тому
google_java_format.py 705b8d2d85 Fix google-java-format/cipd exists check. 1 рік тому
gsutil.py 998f7bfaf2 Improve ensure_gsutil reliability 3 місяців тому
gsutil.py.bat 544594e0b2 Reland "Make depot_tools scripts return exit codes properly on all platforms." 3 роки тому
gsutil.vpython3 1909696991 Reland "Update gsutil to use gsutil version 4.68" 3 роки тому
isort 124bb8e53c switch to 4 space indent 1 рік тому
led 1790a4b687 provide a way to override cipd root for *nix systems. 1 рік тому
led.bat 47a4b0bc59 Add revert instructions 4 роки тому
lockfile.py df1785bdc2 lockfile: release the lock before closing the file handler 3 місяців тому
luci-auth 1790a4b687 provide a way to override cipd root for *nix systems. 1 рік тому
luci-auth.bat 47a4b0bc59 Add revert instructions 4 роки тому
lucicfg 1790a4b687 provide a way to override cipd root for *nix systems. 1 рік тому
lucicfg.bat 47a4b0bc59 Add revert instructions 4 роки тому
mac_toolchain 1790a4b687 provide a way to override cipd root for *nix systems. 1 рік тому
metrics-xml-format bf32de3167 add metrics_xml_formatter 8 місяців тому
metrics.README.md 04a2e71a92 [metrics] Add new auth metric 1 рік тому
metrics.py 04a2e71a92 [metrics] Add new auth metric 1 рік тому
metrics_utils.py 04a2e71a92 [metrics] Add new auth metric 1 рік тому
metrics_xml_format.py 000a266e69 metrics_xml_format: check the XML path against realpath 6 місяців тому
my_activity.py 0b3c297363 my_activity.py: Handle JSON parse errors 8 місяців тому
newauth.py acdf15a207 [newauth] Enable by default (reland) (include bots) 4 місяців тому
ninja c768fd8fc9 Revert "Use depot_tools python3 to call ninja.py" 2 роки тому
ninja.bat 2b1aa8dcab Add single file compile support for Windows in ninja wrappers 2 роки тому
ninja.py 664154a905 ninja: Improve depot_tools directory detection 6 місяців тому
ninjalog_uploader.py 032eddc73b Attach siso metadata to the metadata, if provided. 3 місяців тому
owners_client.py c48f866fcf Select a minimal number of owners for a set of files 5 місяців тому
owners_finder.py f936d540e1 Remove __future__ imports 1 рік тому
pinpoint 1790a4b687 provide a way to override cipd root for *nix systems. 1 рік тому
pinpoint.bat 47a4b0bc59 Add revert instructions 4 роки тому
post_build_ninja_summary.py a5519ca872 post_build_ninja_summary: run siso.py instead of siso command 6 місяців тому
presubmit_canned_checks.py 21c86aad65 Specify full dirmd path in CheckDirMetadataFormat 3 місяців тому
presubmit_diff.py 80d1969422 presubmit_diff: add support for -U 7 місяців тому
presubmit_support.py d49e17e19f presubmit: add location data to presubmit result 4 місяців тому
prpc 1790a4b687 provide a way to override cipd root for *nix systems. 1 рік тому
prpc.bat 47a4b0bc59 Add revert instructions 4 роки тому
pylint-2.17 a52cc055e4 pylint: Add pylint 2.17 1 рік тому
pylint-2.17.bat a52cc055e4 pylint: Add pylint 2.17 1 рік тому
pylint-2.6 124bb8e53c switch to 4 space indent 1 рік тому
pylint-2.6.bat d60b99cd5a Get pylint-2.6 to work under vpython3 on Windows. 4 роки тому
pylint-2.7 124bb8e53c switch to 4 space indent 1 рік тому
pylint-2.7.bat 59e3296a7e Add pylint-2.7 3 роки тому
pylint-3.2 0d07dd258c pylint: add v3.2 support 7 місяців тому
pylint-3.2.bat 0d07dd258c pylint: add v3.2 support 7 місяців тому
pylint_main.py 423f1e1914 pylint: support versioned pylintrc files 7 місяців тому
pylintrc-2.17 7f4762b2a1 pylintrc: version all of them 7 місяців тому
pylintrc-2.6 7f4762b2a1 pylintrc: version all of them 7 місяців тому
pylintrc-2.7 7f4762b2a1 pylintrc: version all of them 7 місяців тому
pylintrc-3.2 0d07dd258c pylint: add v3.2 support 7 місяців тому
python_runner.sh 06001cda91 [py2] Drop envvar to run scripts with py2 2 роки тому
rdb 1790a4b687 provide a way to override cipd root for *nix systems. 1 рік тому
rdb.bat 47a4b0bc59 Add revert instructions 4 роки тому
rdb_wrapper.py edba22d4eb Fix multiline comment formatting 1 рік тому
reclient_helper.py 7109d59981 Revert "reclient_helper: tuning local execution parameter" 9 місяців тому
reclientreport 9e36ef60d0 Add convenience wrapper for reclientreport for autoninja users 2 роки тому
reclientreport.bat 522e12caff Remove unnesisary quotes from propagated args in reclientreport.bat 2 роки тому
reclientreport.py 27ea34f94e [reclient] Keep previous 5 builds worth of logs 1 рік тому
repo 4a8524d1e9 error if repo command is called in Cog environment 1 рік тому
repo_launcher 65c59753a8 repo: Update from upstream 4 місяців тому
roll-dep 06001cda91 [py2] Drop envvar to run scripts with py2 2 роки тому
roll-dep.bat 06001cda91 [py2] Drop envvar to run scripts with py2 2 роки тому
roll_dep.py 977c37458f Change readme updating to be on by default for roll_dep.py 3 місяців тому
roll_downstream_gcs_deps.py 76021e34e5 Update roll_downstream_gcs_deps to take a list of source and destination packages. 11 місяців тому
rustfmt.py 124bb8e53c switch to 4 space indent 1 рік тому
scm.py e0c47c138a [scm] Handle empty .gitmodules file 10 місяців тому
setup_color.py edba22d4eb Fix multiline comment formatting 1 рік тому
siso 6058be3e48 siso: Use bundled python to run siso 4 місяців тому
siso.bat 6058be3e48 siso: Use bundled python to run siso 4 місяців тому
siso.py cd6685b6c0 [siso]Adding import 4 місяців тому
split_cl.py 9ae4995888 fix doc-string in GetFilesSplitByOwners 3 місяців тому
subcommand.py fab0a4296b subcommand: Add type annotations 3 місяців тому
subprocess2.py edba22d4eb Fix multiline comment formatting 1 рік тому
swift-format 0a6b544e20 Support git cl formatting for swift files 3 роки тому
swift_format.py 124bb8e53c switch to 4 space indent 1 рік тому
update_depot_tools dc2edc59f6 Remove check for canonical depot_tools URL 6 місяців тому
update_depot_tools.bat 7c4bd3f94e [win-bootstrap] Update the comments in update_depot_tools.bat 6 місяців тому
update_depot_tools_toggle.py 124bb8e53c switch to 4 space indent 1 рік тому
upload_metrics.py 124bb8e53c switch to 4 space indent 1 рік тому
upload_to_google_storage.py eb732c3c35 upload_to_google_storage.py: set x-goog-meta-executable during upload instead of using setmeta 10 місяців тому
upload_to_google_storage_first_class.py 499342211b [GCS] Add prefix option to upload_to_gs_f_c 1 рік тому
utils.py 6f180c0a23 Use $HOME/.config/depot_tools on linux for .cfg files 1 рік тому
vpython3 c1457823a0 Don't write pyc files if running from Cog 11 місяців тому
vpython3.bat 8d81365cf0 Use the bundled interpreter instead of passing -vpython-interpreter. 3 роки тому
watchlists.py edba22d4eb Fix multiline comment formatting 1 рік тому
whitespace.txt 74e3d80019 Change whitespace.txt 4 роки тому
win32imports.py 124bb8e53c switch to 4 space indent 1 рік тому
yapf 3d6dda8241 Always run yapf with vpython3. 1 рік тому
yapf.bat d73d069a76 Run yapf with vpython3 4 роки тому

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.