Без опису

Stephanie Kim 188b08d7bf Make the downloaded tarfile a dotfile 1 рік тому
bootstrap 61a919010a New cpython3 and vpython3 packages to depot_tools. 1 рік тому
fetch_configs 3c8baffa8d Add fetch config node 1 рік тому
hooks 03a1a8936e pre-commit: do not ignore submodule when running diff-index 1 рік тому
infra 22de5fb717 Roll recipe dependencies (trivial). 1 рік тому
man 0696c428b0 Switch to using issues.chromium.org bug links 1 рік тому
metadata 79cfa048c0 metadata: early terminate certain fields to avoid over extraction 1 рік тому
python-bin 67702834cc cipd/python: optimize cat usage 2 роки тому
python2-bin 67702834cc cipd/python: optimize cat usage 2 роки тому
recipes 22de5fb717 Roll recipe dependencies (trivial). 1 рік тому
testing_support 2c9e581fad Allow multiple objects per GCS dep 1 рік тому
tests 188b08d7bf Make the downloaded tarfile a dotfile 1 рік тому
third_party ee5d42b76a schema: pull LICENSE whitespace trim from upstream 1 рік тому
win_toolchain 3c79cfc485 Revert "Reland "Add support for GCS deps"" 1 рік тому
zsh-goodies 6e043f755b Remove unmaintained "gclient export" command, 14 роки тому
.cipd_impl.ps1 02838e6f4e Import Get-FileHash from PowerShell's version specific path 2 роки тому
.flake8 2ef0787c49 Add a config file for the flake8 linter. 1 рік тому
.gitattributes c7aca34c8e Define main metadata validation functions 2 роки тому
.gitignore aa65be9856 autoninja: cache negative result of gcloud account check 1 рік тому
.isort.cfg 9a7b7675ba isort: make available to users 3 роки тому
.style.yapf 124bb8e53c switch to 4 space indent 1 рік тому
.vpython3 a95979fcc3 Update the CheckInfraFreeze canned check to use datetime & zoneinfo. 1 рік тому
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 495b23b39a remove goma CIPD package 1 рік тому
PRESUBMIT.py cb8b22fa77 [PRESUBMIT] Increase unit test timeout 1 рік тому
README.gclient.md 186449d3e7 docs: Removing references to SVN 9 роки тому
README.git-cl.md 9c0dc3026e Replace non-inclusive terms 4 роки тому
README.md 0696c428b0 Switch to using issues.chromium.org bug links 1 рік тому
RECLIENT_OWNERS 9e36ef60d0 Add convenience wrapper for reclientreport for autoninja users 2 роки тому
WATCHLISTS bb27381a20 Update WATCHLISTS for ninja, siso and reclient changes 2 роки тому
auth.py edba22d4eb Fix multiline comment formatting 1 рік тому
autoninja cccca95d8f Revert^2 "autoninja.py: disallow external account from corp machine" 1 рік тому
autoninja.bat f8a14d93d5 Remove obsolete autoninja.bat comment 1 рік тому
autoninja.py 8de9817392 Add luci-auth account check for non-google on corp. 1 рік тому
autosiso 5828285134 Deprecate autosiso.bat and autosiso. 1 рік тому
autosiso.bat 5828285134 Deprecate autosiso.bat and autosiso. 1 рік тому
autosiso.py 9ed72f91a9 [siso] Propagte SIGINT to siso process 1 рік тому
bazel 6a505ad9ab [ChromiumOS] Add a launcher for Bazel 2 роки тому
bazel.py 124bb8e53c switch to 4 space indent 1 рік тому
bb 47a4b0bc59 Add revert instructions 4 роки тому
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 рік тому
cbuildbot 76c2e50d3b simplify the chromite wrappers 5 роки тому
cipd 9d64acedea enable fetch and gclient to run on z/OS part 1 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 397276fe81 cipd_bin_setup: load cipd script instead of running it 2 роки тому
cipd_client_version 2bd782954f Update to 2.6.16 1 рік тому
cipd_client_version.digests 2bd782954f Update to 2.6.16 1 рік тому
cipd_manifest.txt 495b23b39a remove goma CIPD package 1 рік тому
cipd_manifest.versions 495b23b39a remove goma CIPD package 1 рік тому
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 f936d540e1 Remove __future__ imports 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 6cd960fec4 [cpplint] Update for c++20 1 рік тому
cpplint_chromium.py 124bb8e53c switch to 4 space indent 1 рік тому
cros 007dd45a94 cros: expand to cover more roots 1 рік тому
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 роки тому
crosjobs 47a4b0bc59 Add revert instructions 4 роки тому
detect_host_arch.py 9d64acedea enable fetch and gclient to run on z/OS part 1 1 рік тому
dirmd 47a4b0bc59 Add revert instructions 4 роки тому
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 3a30482282 Update *_hash and *_is_first_class_gcs to be dotfiles 1 рік тому
ensure_bootstrap 248aa8ba81 setup & share path to depot_tools checkout 2 роки тому
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 b808b1bcdd Use shlex instead of pipes 1 рік тому
gclient 06001cda91 [py2] Drop envvar to run scripts with py2 2 роки тому
gclient-new-workdir.py 124bb8e53c switch to 4 space indent 1 рік тому
gclient.bat 06001cda91 [py2] Drop envvar to run scripts with py2 2 роки тому
gclient.py 188b08d7bf Make the downloaded tarfile a dotfile 1 рік тому
gclient_completion.sh 2dca41cf70 Added basic completion (the commands) for gclient. 11 роки тому
gclient_eval.py 2c9e581fad Allow multiple objects per GCS dep 1 рік тому
gclient_paths.py 6e8c18239d Cache values in gclient_paths.py 1 рік тому
gclient_scm.py 8b40b1b381 Delete paths inside .<object-name>_content_names 1 рік тому
gclient_utils.py 9d64acedea enable fetch and gclient to run on z/OS part 1 1 рік тому
gerrit ae46c3cecd Symlink gerrit CLI into depot_tools 2 роки тому
gerrit_client.py 1f441eb375 [fix_encoding] Remove fix_encoding 1 рік тому
gerrit_util.py 03ee6d950d Fix use of deprecated LOGGER.warn in gerrit test 1 рік тому
git-cache 648b4cd2ca Add quotes around paths in bash scripts 5 роки тому
git-cl 11f4a84bb1 Add quotes around paths in bash scripts. 5 роки тому
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-migrate-default-branch dfa44daef9 Add git-migrate-default-branch 4 роки тому
git-nav-downstream 648b4cd2ca Add quotes around paths in bash scripts 5 роки тому
git-nav-upstream e989bb2b45 Make git-nav-upstream use the upstream branch name 6 роки тому
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-thaw 648b4cd2ca Add quotes around paths in bash scripts 5 роки тому
git-upstream-diff 648b4cd2ca Add quotes around paths in bash scripts 5 роки тому
git_cache.py 89588ed8f2 [git_cache] support ssh url 1 рік тому
git_cl.py 246580c7b8 Explicitly call vpython3 to launch the mojom formatter 1 рік тому
git_cl_completion.sh cdaf0be1f4 Add git completion helper to cl upload 5 роки тому
git_common.py 9f9bab25da Reland "Update gclient to use git config caching" 1 рік тому
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 124bb8e53c switch to 4 space indent 1 рік тому
git_footers.py edba22d4eb Fix multiline comment formatting 1 рік тому
git_freezer.py 124bb8e53c switch to 4 space indent 1 рік тому
git_hyper_blame.py edba22d4eb Fix multiline comment formatting 1 рік тому
git_map.py 124bb8e53c switch to 4 space indent 1 рік тому
git_map_branches.py edba22d4eb Fix multiline comment formatting 1 рік тому
git_mark_merge_base.py 124bb8e53c switch to 4 space indent 1 рік тому
git_migrate_default_branch.py 1f441eb375 [fix_encoding] Remove fix_encoding 1 рік тому
git_nav_downstream.py 124bb8e53c switch to 4 space indent 1 рік тому
git_new_branch.py 124bb8e53c switch to 4 space indent 1 рік тому
git_number.py edba22d4eb Fix multiline comment formatting 1 рік тому
git_rebase_update.py 9f9bab25da Reland "Update gclient to use git config caching" 1 рік тому
git_rename_branch.py 124bb8e53c switch to 4 space indent 1 рік тому
git_reparent_branch.py 124bb8e53c switch to 4 space indent 1 рік тому
git_retry.py edba22d4eb Fix multiline comment formatting 1 рік тому
git_squash_branch.py 124bb8e53c switch to 4 space indent 1 рік тому
git_upstream_diff.py 124bb8e53c switch to 4 space indent 1 рік тому
gn 67574d7a19 gn: Call gn.bat in msysgit on Windows. 4 роки тому
gn.bat c70750b73e Revert "Call python3.bat explicitly from gn.bat on Windows." 3 роки тому
gn.py 1a92126938 Delete vpython, leaving only vpython3. 1 рік тому
gsutil.py 9d64acedea enable fetch and gclient to run on z/OS part 1 1 рік тому
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 роки тому
infra_to_superproject 4a2243196c Use shutil.copytree instead for migration script instead. 2 роки тому
infra_to_superproject.bat 4a2243196c Use shutil.copytree instead for migration script instead. 2 роки тому
infra_to_superproject.py 124bb8e53c switch to 4 space indent 1 рік тому
isort 124bb8e53c switch to 4 space indent 1 рік тому
led 47a4b0bc59 Add revert instructions 4 роки тому
led.bat 47a4b0bc59 Add revert instructions 4 роки тому
lockfile.py edba22d4eb Fix multiline comment formatting 1 рік тому
luci-auth 47a4b0bc59 Add revert instructions 4 роки тому
luci-auth.bat 47a4b0bc59 Add revert instructions 4 роки тому
lucicfg 47a4b0bc59 Add revert instructions 4 роки тому
lucicfg.bat 47a4b0bc59 Add revert instructions 4 роки тому
mac_toolchain 059f26bcb4 do not hardcode the path to bash by using the #!/usr/bin/env bash shebang 6 роки тому
metrics.README.md 9c0dc3026e Replace non-inclusive terms 4 роки тому
metrics.py 74a6ca92bb Clean up stacked-changes dogfood 1 рік тому
metrics_utils.py edba22d4eb Fix multiline comment formatting 1 рік тому
my_activity.py 1f441eb375 [fix_encoding] Remove fix_encoding 1 рік тому
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 df3e577855 apply black and `git cl format` for ninja related python files 1 рік тому
ninja_reclient.py df3e577855 apply black and `git cl format` for ninja related python files 1 рік тому
ninjalog.README.md 7209f68326 ninjalog: fix ninjalog.README.md 1 рік тому
ninjalog_uploader.py 03821aea69 [ninjalog_uploader] Collect use_siso/use_remoteexec GN args metrics 1 рік тому
ninjalog_uploader_wrapper.py df3e577855 apply black and `git cl format` for ninja related python files 1 рік тому
owners_client.py 0cba8dd68e [owners] Limit number of concurrent Gerrit connections 1 рік тому
owners_finder.py f936d540e1 Remove __future__ imports 1 рік тому
pinpoint 47a4b0bc59 Add revert instructions 4 роки тому
pinpoint.bat 47a4b0bc59 Add revert instructions 4 роки тому
post_build_ninja_summary.py 8efb05d3d4 check `siso summary` 1 рік тому
presubmit_canned_checks.py be47bdd965 Reland "Include host and project in code-owners not enabled error." 1 рік тому
presubmit_diff.py b83a3038f1 Handle diff without chunk header 1 рік тому
presubmit_support.py 715d94600f Add --generate_diff flag to presubmit_support.py 1 рік тому
profile.xml fb2b8eb2e2 Create the Next Generation of depot_tools. Eh. 16 роки тому
prpc 47a4b0bc59 Add revert instructions 4 роки тому
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_main.py f936d540e1 Remove __future__ imports 1 рік тому
pylintrc 0985861970 CodeInclusion: Rename whitelist/blacklist -> allowlist/blocklist 5 роки тому
pylintrc-2.17 a52cc055e4 pylint: Add pylint 2.17 1 рік тому
python_runner.sh 06001cda91 [py2] Drop envvar to run scripts with py2 2 роки тому
rdb 47a4b0bc59 Add revert instructions 4 роки тому
rdb.bat 47a4b0bc59 Add revert instructions 4 роки тому
rdb_wrapper.py edba22d4eb Fix multiline comment formatting 1 рік тому
reclient_helper.py 90d54ff344 [reclient] Limit local resource tuning on windows to cloudtops 1 рік тому
reclient_metrics bb109cd7c3 Add reclient_metrics command 2 роки тому
reclient_metrics.README.md 82e4859614 [reclient] Update reclient_metrics.README.md to reflect that we collect googler hostnames 2 роки тому
reclient_metrics.bat bb109cd7c3 Add reclient_metrics command 2 роки тому
reclient_metrics.py edba22d4eb Fix multiline comment formatting 1 рік тому
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 90d1d40c35 repo: stop using our repo fork 1 рік тому
repo_launcher 2508c6f716 [repo_launcher] Update repo_launcher to v2.45 1 рік тому
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 6f7b85f267 Hide git log by default if rolling from a non-public host 1 рік тому
rustfmt.py 124bb8e53c switch to 4 space indent 1 рік тому
scm.py 7a7c5e3adc [scm] Remove unused methods 1 рік тому
setup_color.py edba22d4eb Fix multiline comment formatting 1 рік тому
siso 3ca8d0d0ca add siso wrapper 2 роки тому
siso.bat 3ca8d0d0ca add siso wrapper 2 роки тому
siso.py 9f668bbff9 siso: use stderr to print message from siso.py 1 рік тому
split_cl.py 726042b2c2 split_cl: Add spaces 1 рік тому
subcommand.py edba22d4eb Fix multiline comment formatting 1 рік тому
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 495b23b39a remove goma CIPD package 1 рік тому
update_depot_tools.bat 495b23b39a remove goma CIPD package 1 рік тому
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 3c79cfc485 Revert "Reland "Add support for GCS deps"" 1 рік тому
upload_to_google_storage_first_class.py f1098b6bfe Add generation version number to GCS first-class entries. 1 рік тому
utils.py 124bb8e53c switch to 4 space indent 1 рік тому
vpython3 f90cc29837 vpython: clear DEPOT_TOOLS_DIR before running scripts 2 роки тому
vpython3.bat 8d81365cf0 Use the bundled interpreter instead of passing -vpython-interpreter. 3 роки тому
watchlists.py edba22d4eb Fix multiline comment formatting 1 рік тому
weekly f936d540e1 Remove __future__ imports 1 рік тому
whitespace.txt 74e3d80019 Change whitespace.txt 4 роки тому
win32imports.py 124bb8e53c switch to 4 space indent 1 рік тому
wtf f936d540e1 Remove __future__ imports 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.