Açıklama Yok

Chenlin Fan e5d7ea3c01 add peep-software-deploy team to luci owners 1 yıl önce
bootstrap 124bb8e53c switch to 4 space indent 1 yıl önce
fetch_configs 124bb8e53c switch to 4 space indent 1 yıl önce
git-templates a7d7d7ec35 Explicitly exec hooks inside a shell. 12 yıl önce
infra e4829e85fa Roll recipe dependencies (trivial). 1 yıl önce
man 124bb8e53c switch to 4 space indent 1 yıl önce
metadata 124bb8e53c switch to 4 space indent 1 yıl önce
python-bin 67702834cc cipd/python: optimize cat usage 2 yıl önce
python2-bin 67702834cc cipd/python: optimize cat usage 2 yıl önce
recipes 124bb8e53c switch to 4 space indent 1 yıl önce
testing_support 124bb8e53c switch to 4 space indent 1 yıl önce
tests 124bb8e53c switch to 4 space indent 1 yıl önce
third_party 4303140531 [ssci] Added Shipped field to READMEs 2 yıl önce
win_toolchain 124bb8e53c switch to 4 space indent 1 yıl önce
zsh-goodies 6e043f755b Remove unmaintained "gclient export" command, 14 yıl önce
.cipd_impl.ps1 02838e6f4e Import Get-FileHash from PowerShell's version specific path 2 yıl önce
.gitattributes c7aca34c8e Define main metadata validation functions 2 yıl önce
.gitignore 530d86d40b Implement reclient metrics uploading 2 yıl önce
.isort.cfg 9a7b7675ba isort: make available to users 3 yıl önce
.style.yapf 124bb8e53c switch to 4 space indent 1 yıl önce
.vpython b1bfb8b4f0 Add explicit vpython verification tags which include mac-arm64. 4 yıl önce
.vpython3 eac2c9ebe9 Add brotli to .vpython3 for depot_tools 2 yıl önce
BUILD_OWNERS 3ca8d0d0ca add siso wrapper 2 yıl önce
CROS_OWNERS de38174544 CROS_OWNERS: switch to our common shared lists 3 yıl önce
DIR_METADATA 364205c70e [depot_tools] Migrate metadata to DIR_METADATA. 4 yıl önce
LICENSE fb2b8eb2e2 Create the Next Generation of depot_tools. Eh. 16 yıl önce
LUCI_OWNERS e5d7ea3c01 add peep-software-deploy team to luci owners 1 yıl önce
OWNERS 3edcbf07bf Update OWNERS for new reclient_metrics* files 2 yıl önce
PRESUBMIT.py 124bb8e53c switch to 4 space indent 1 yıl önce
README.gclient.md 186449d3e7 docs: Removing references to SVN 9 yıl önce
README.git-cl.md 9c0dc3026e Replace non-inclusive terms 4 yıl önce
README.md 64f5f26f1a Indicate py3 compatibility for update_depot_tools_toggle.py 3 yıl önce
RECLIENT_OWNERS 9e36ef60d0 Add convenience wrapper for reclientreport for autoninja users 2 yıl önce
WATCHLISTS bb27381a20 Update WATCHLISTS for ninja, siso and reclient changes 2 yıl önce
auth.py 124bb8e53c switch to 4 space indent 1 yıl önce
autoninja 10898d51d1 [autoninja] Respect user-provided AUTONINJA_BUILD_ID 3 yıl önce
autoninja.bat 25334bb18e Handle goma_ctl/autoninja /? 2 yıl önce
autoninja.py 124bb8e53c switch to 4 space indent 1 yıl önce
autosiso 607284d719 [siso] add autosiso wrappers 2 yıl önce
autosiso.bat ce3e819465 [autosiso] Add single file compile support on Windows 2 yıl önce
autosiso.py 124bb8e53c switch to 4 space indent 1 yıl önce
bazel 6a505ad9ab [ChromiumOS] Add a launcher for Bazel 2 yıl önce
bazel.py 124bb8e53c switch to 4 space indent 1 yıl önce
bb 47a4b0bc59 Add revert instructions 4 yıl önce
bb.bat 47a4b0bc59 Add revert instructions 4 yıl önce
black 9997ceb9a1 black: add helper for formatting Python 3 yıl önce
bootstrap_python3 f7b9e70a2e Use relative path for cipd 2 yıl önce
breakpad.py 124bb8e53c switch to 4 space indent 1 yıl önce
cbuildbot 76c2e50d3b simplify the chromite wrappers 5 yıl önce
cipd d6f65bfa32 Revert "[cipd] Detect Mac ARM running under Rosetta" 2 yıl önce
cipd.bat ead9b43bd5 [cipd] Run cipd_impl.ps1 in constrained language mode 2 yıl önce
cipd_bin_setup.bat 93fbd989e0 Revert "Retry switching to use CIPD ninja v1.8.2" 3 yıl önce
cipd_bin_setup.sh 397276fe81 cipd_bin_setup: load cipd script instead of running it 2 yıl önce
cipd_client_version f06b6eee91 [auth]: Update CIPD to include version update of luci-auth change. 2 yıl önce
cipd_client_version.digests f06b6eee91 [auth]: Update CIPD to include version update of luci-auth change. 2 yıl önce
cipd_manifest.txt e7c4e2ade9 [mac_toolchain] Roll mac_toolchain in depot_tools to latest version 2 yıl önce
cipd_manifest.versions e7c4e2ade9 [mac_toolchain] Roll mac_toolchain in depot_tools to latest version 2 yıl önce
cipd_manifest_cros_python2.txt 252b19866a Redirect cros calls to py2.7 scripts to the vpython2.7 package. 2 yıl önce
cipd_manifest_cros_python2.versions 252b19866a Redirect cros calls to py2.7 scripts to the vpython2.7 package. 2 yıl önce
clang-format 3912091152 Use py3 for remaining tools in depot_tools path 4 yıl önce
clang-format.bat 3912091152 Use py3 for remaining tools in depot_tools path 4 yıl önce
clang_format.py 124bb8e53c switch to 4 space indent 1 yıl önce
codereview.settings fdd89469d6 update stale codereview.chromium.org links 4 yıl önce
compile_single_file 3912091152 Use py3 for remaining tools in depot_tools path 4 yıl önce
compile_single_file.bat 3912091152 Use py3 for remaining tools in depot_tools path 4 yıl önce
compile_single_file.py 124bb8e53c switch to 4 space indent 1 yıl önce
cpplint.bat 6a8680a80e Use python3 for cpplint and get_toolchain on Win 3 yıl önce
cpplint.py 124bb8e53c switch to 4 space indent 1 yıl önce
cpplint_chromium.py 124bb8e53c switch to 4 space indent 1 yıl önce
cros 124bb8e53c switch to 4 space indent 1 yıl önce
cros_python2.vpython 252b19866a Redirect cros calls to py2.7 scripts to the vpython2.7 package. 2 yıl önce
cros_sdk 76c2e50d3b simplify the chromite wrappers 5 yıl önce
crosjobs 47a4b0bc59 Add revert instructions 4 yıl önce
detect_host_arch.py 124bb8e53c switch to 4 space indent 1 yıl önce
dirmd 47a4b0bc59 Add revert instructions 4 yıl önce
dirmd.bat 47a4b0bc59 Add revert instructions 4 yıl önce
download_from_google_storage bc8802fd81 Switch download_from_google_storage to py3 4 yıl önce
download_from_google_storage.bat 68df7954e3 use python3 for download_from_google_storage.bat 3 yıl önce
download_from_google_storage.py 124bb8e53c switch to 4 space indent 1 yıl önce
ensure_bootstrap 248aa8ba81 setup & share path to depot_tools checkout 2 yıl önce
fetch 06001cda91 [py2] Drop envvar to run scripts with py2 2 yıl önce
fetch.bat 06001cda91 [py2] Drop envvar to run scripts with py2 2 yıl önce
fetch.py 124bb8e53c switch to 4 space indent 1 yıl önce
fix_encoding.py 124bb8e53c switch to 4 space indent 1 yıl önce
gclient 06001cda91 [py2] Drop envvar to run scripts with py2 2 yıl önce
gclient-new-workdir.py 124bb8e53c switch to 4 space indent 1 yıl önce
gclient.bat 06001cda91 [py2] Drop envvar to run scripts with py2 2 yıl önce
gclient.py 124bb8e53c switch to 4 space indent 1 yıl önce
gclient_completion.sh 2dca41cf70 Added basic completion (the commands) for gclient. 11 yıl önce
gclient_eval.py 124bb8e53c switch to 4 space indent 1 yıl önce
gclient_paths.py 124bb8e53c switch to 4 space indent 1 yıl önce
gclient_scm.py 28116103e4 change the log level of cipd ensure command to info 1 yıl önce
gclient_utils.py 124bb8e53c switch to 4 space indent 1 yıl önce
gerrit ae46c3cecd Symlink gerrit CLI into depot_tools 2 yıl önce
gerrit_client.py 124bb8e53c switch to 4 space indent 1 yıl önce
gerrit_util.py 124bb8e53c switch to 4 space indent 1 yıl önce
git-cache 648b4cd2ca Add quotes around paths in bash scripts 5 yıl önce
git-cl 11f4a84bb1 Add quotes around paths in bash scripts. 5 yıl önce
git-crrev-parse eee67fe5a5 Fix git-crrev-parse to work with both master & main branches 3 yıl önce
git-drover 648b4cd2ca Add quotes around paths in bash scripts 5 yıl önce
git-find-releases 648b4cd2ca Add quotes around paths in bash scripts 5 yıl önce
git-footers 648b4cd2ca Add quotes around paths in bash scripts 5 yıl önce
git-freeze 648b4cd2ca Add quotes around paths in bash scripts 5 yıl önce
git-gs 7f02c0d981 Add *.ts (typescript files) to git-gs 3 yıl önce
git-hyper-blame 648b4cd2ca Add quotes around paths in bash scripts 5 yıl önce
git-map 648b4cd2ca Add quotes around paths in bash scripts 5 yıl önce
git-map-branches 648b4cd2ca Add quotes around paths in bash scripts 5 yıl önce
git-mark-merge-base 648b4cd2ca Add quotes around paths in bash scripts 5 yıl önce
git-migrate-default-branch dfa44daef9 Add git-migrate-default-branch 4 yıl önce
git-nav-downstream 648b4cd2ca Add quotes around paths in bash scripts 5 yıl önce
git-nav-upstream e989bb2b45 Make git-nav-upstream use the upstream branch name 6 yıl önce
git-new-branch 648b4cd2ca Add quotes around paths in bash scripts 5 yıl önce
git-number 648b4cd2ca Add quotes around paths in bash scripts 5 yıl önce
git-rebase-update 648b4cd2ca Add quotes around paths in bash scripts 5 yıl önce
git-rename-branch 648b4cd2ca Add quotes around paths in bash scripts 5 yıl önce
git-reparent-branch 648b4cd2ca Add quotes around paths in bash scripts 5 yıl önce
git-retry 648b4cd2ca Add quotes around paths in bash scripts 5 yıl önce
git-runhooks a59e9ea222 Revert "Remove unused functionality in bot_update.py" 3 yıl önce
git-squash-branch 648b4cd2ca Add quotes around paths in bash scripts 5 yıl önce
git-thaw 648b4cd2ca Add quotes around paths in bash scripts 5 yıl önce
git-upstream-diff 648b4cd2ca Add quotes around paths in bash scripts 5 yıl önce
git_cache.py 124bb8e53c switch to 4 space indent 1 yıl önce
git_cl.py 124bb8e53c switch to 4 space indent 1 yıl önce
git_cl_completion.sh cdaf0be1f4 Add git completion helper to cl upload 5 yıl önce
git_common.py 124bb8e53c switch to 4 space indent 1 yıl önce
git_dates.py 124bb8e53c switch to 4 space indent 1 yıl önce
git_drover.py 124bb8e53c switch to 4 space indent 1 yıl önce
git_find_releases.py 124bb8e53c switch to 4 space indent 1 yıl önce
git_footers.py 124bb8e53c switch to 4 space indent 1 yıl önce
git_freezer.py 124bb8e53c switch to 4 space indent 1 yıl önce
git_hyper_blame.py 124bb8e53c switch to 4 space indent 1 yıl önce
git_map.py 124bb8e53c switch to 4 space indent 1 yıl önce
git_map_branches.py 124bb8e53c switch to 4 space indent 1 yıl önce
git_mark_merge_base.py 124bb8e53c switch to 4 space indent 1 yıl önce
git_migrate_default_branch.py 124bb8e53c switch to 4 space indent 1 yıl önce
git_nav_downstream.py 124bb8e53c switch to 4 space indent 1 yıl önce
git_new_branch.py 124bb8e53c switch to 4 space indent 1 yıl önce
git_number.py 124bb8e53c switch to 4 space indent 1 yıl önce
git_rebase_update.py 124bb8e53c switch to 4 space indent 1 yıl önce
git_rename_branch.py 124bb8e53c switch to 4 space indent 1 yıl önce
git_reparent_branch.py 124bb8e53c switch to 4 space indent 1 yıl önce
git_retry.py 124bb8e53c switch to 4 space indent 1 yıl önce
git_squash_branch.py 124bb8e53c switch to 4 space indent 1 yıl önce
git_upstream_diff.py 124bb8e53c switch to 4 space indent 1 yıl önce
gn 67574d7a19 gn: Call gn.bat in msysgit on Windows. 4 yıl önce
gn.bat c70750b73e Revert "Call python3.bat explicitly from gn.bat on Windows." 3 yıl önce
gn.py 124bb8e53c switch to 4 space indent 1 yıl önce
goma_auth a806594b95 Reland "Reland "use python3 for goma related scripts"" 4 yıl önce
goma_auth.bat df3228656a Set errorlevel in .bat wrappers on exit /b where appropriate. 3 yıl önce
goma_ctl 66a30a7e6d Skip goma on unsupported platforms 2 yıl önce
goma_ctl.bat 25334bb18e Handle goma_ctl/autoninja /? 2 yıl önce
gsutil.py 124bb8e53c switch to 4 space indent 1 yıl önce
gsutil.py.bat 544594e0b2 Reland "Make depot_tools scripts return exit codes properly on all platforms." 3 yıl önce
gsutil.vpython3 1909696991 Reland "Update gsutil to use gsutil version 4.68" 3 yıl önce
infra_to_superproject 4a2243196c Use shutil.copytree instead for migration script instead. 2 yıl önce
infra_to_superproject.bat 4a2243196c Use shutil.copytree instead for migration script instead. 2 yıl önce
infra_to_superproject.py 124bb8e53c switch to 4 space indent 1 yıl önce
isort 124bb8e53c switch to 4 space indent 1 yıl önce
led 47a4b0bc59 Add revert instructions 4 yıl önce
led.bat 47a4b0bc59 Add revert instructions 4 yıl önce
lockfile.py 124bb8e53c switch to 4 space indent 1 yıl önce
luci-auth 47a4b0bc59 Add revert instructions 4 yıl önce
luci-auth.bat 47a4b0bc59 Add revert instructions 4 yıl önce
lucicfg 47a4b0bc59 Add revert instructions 4 yıl önce
lucicfg.bat 47a4b0bc59 Add revert instructions 4 yıl önce
mac_toolchain 059f26bcb4 do not hardcode the path to bash by using the #!/usr/bin/env bash shebang 6 yıl önce
metrics.README.md 9c0dc3026e Replace non-inclusive terms 4 yıl önce
metrics.py 124bb8e53c switch to 4 space indent 1 yıl önce
metrics_utils.py 124bb8e53c switch to 4 space indent 1 yıl önce
my_activity.py 124bb8e53c switch to 4 space indent 1 yıl önce
ninja c768fd8fc9 Revert "Use depot_tools python3 to call ninja.py" 2 yıl önce
ninja.bat 2b1aa8dcab Add single file compile support for Windows in ninja wrappers 2 yıl önce
ninja.py 124bb8e53c switch to 4 space indent 1 yıl önce
ninja_reclient.py bb67064617 Enable racing for ninja+reclient developer builds 1 yıl önce
ninjalog.README.md a657331e90 ninjalog_uploader: use goma_auth to detect googler 3 yıl önce
ninjalog_uploader.py 124bb8e53c switch to 4 space indent 1 yıl önce
ninjalog_uploader_wrapper.py 124bb8e53c switch to 4 space indent 1 yıl önce
owners_client.py 124bb8e53c switch to 4 space indent 1 yıl önce
owners_finder.py 124bb8e53c switch to 4 space indent 1 yıl önce
pinpoint 47a4b0bc59 Add revert instructions 4 yıl önce
pinpoint.bat 47a4b0bc59 Add revert instructions 4 yıl önce
post_build_ninja_summary.py 124bb8e53c switch to 4 space indent 1 yıl önce
presubmit_canned_checks.py 124bb8e53c switch to 4 space indent 1 yıl önce
presubmit_support.py 124bb8e53c switch to 4 space indent 1 yıl önce
profile.xml fb2b8eb2e2 Create the Next Generation of depot_tools. Eh. 16 yıl önce
prpc 47a4b0bc59 Add revert instructions 4 yıl önce
prpc.bat 47a4b0bc59 Add revert instructions 4 yıl önce
pylint-2.6 124bb8e53c switch to 4 space indent 1 yıl önce
pylint-2.6.bat d60b99cd5a Get pylint-2.6 to work under vpython3 on Windows. 4 yıl önce
pylint-2.7 124bb8e53c switch to 4 space indent 1 yıl önce
pylint-2.7.bat 59e3296a7e Add pylint-2.7 3 yıl önce
pylint_main.py 124bb8e53c switch to 4 space indent 1 yıl önce
pylintrc 0985861970 CodeInclusion: Rename whitelist/blacklist -> allowlist/blocklist 5 yıl önce
python_runner.sh 06001cda91 [py2] Drop envvar to run scripts with py2 2 yıl önce
rdb 47a4b0bc59 Add revert instructions 4 yıl önce
rdb.bat 47a4b0bc59 Add revert instructions 4 yıl önce
rdb_wrapper.py 124bb8e53c switch to 4 space indent 1 yıl önce
reclient_helper.py 124bb8e53c switch to 4 space indent 1 yıl önce
reclient_metrics bb109cd7c3 Add reclient_metrics command 2 yıl önce
reclient_metrics.README.md 82e4859614 [reclient] Update reclient_metrics.README.md to reflect that we collect googler hostnames 2 yıl önce
reclient_metrics.bat bb109cd7c3 Add reclient_metrics command 2 yıl önce
reclient_metrics.py 124bb8e53c switch to 4 space indent 1 yıl önce
reclientreport 9e36ef60d0 Add convenience wrapper for reclientreport for autoninja users 2 yıl önce
reclientreport.bat 522e12caff Remove unnesisary quotes from propagated args in reclientreport.bat 2 yıl önce
reclientreport.py 124bb8e53c switch to 4 space indent 1 yıl önce
repo 124bb8e53c switch to 4 space indent 1 yıl önce
repo_launcher 7e25126240 repo_launcher: pull latest version 1 yıl önce
roll-dep 06001cda91 [py2] Drop envvar to run scripts with py2 2 yıl önce
roll-dep.bat 06001cda91 [py2] Drop envvar to run scripts with py2 2 yıl önce
roll_dep.py 124bb8e53c switch to 4 space indent 1 yıl önce
rustfmt.py 124bb8e53c switch to 4 space indent 1 yıl önce
scm.py 124bb8e53c switch to 4 space indent 1 yıl önce
setup_color.py 124bb8e53c switch to 4 space indent 1 yıl önce
siso 3ca8d0d0ca add siso wrapper 2 yıl önce
siso.bat 3ca8d0d0ca add siso wrapper 2 yıl önce
siso.py 124bb8e53c switch to 4 space indent 1 yıl önce
split_cl.py 124bb8e53c switch to 4 space indent 1 yıl önce
subcommand.py 124bb8e53c switch to 4 space indent 1 yıl önce
subprocess2.py 124bb8e53c switch to 4 space indent 1 yıl önce
swift-format 0a6b544e20 Support git cl formatting for swift files 3 yıl önce
swift_format.py 124bb8e53c switch to 4 space indent 1 yıl önce
update_depot_tools 248aa8ba81 setup & share path to depot_tools checkout 2 yıl önce
update_depot_tools.bat 44c05276d7 Call goma_ctl update_hook only after python3 is bootstrapped. 2 yıl önce
update_depot_tools_toggle.py 124bb8e53c switch to 4 space indent 1 yıl önce
upload_metrics.py 124bb8e53c switch to 4 space indent 1 yıl önce
upload_to_google_storage.py 124bb8e53c switch to 4 space indent 1 yıl önce
utils.py 124bb8e53c switch to 4 space indent 1 yıl önce
vpython f90cc29837 vpython: clear DEPOT_TOOLS_DIR before running scripts 2 yıl önce
vpython.bat b6cb9e0b9a Remove Python 2 support for presubmit Commands 2 yıl önce
vpython3 f90cc29837 vpython: clear DEPOT_TOOLS_DIR before running scripts 2 yıl önce
vpython3.bat 8d81365cf0 Use the bundled interpreter instead of passing -vpython-interpreter. 3 yıl önce
watchlists.py 124bb8e53c switch to 4 space indent 1 yıl önce
weekly 124bb8e53c switch to 4 space indent 1 yıl önce
whitespace.txt 74e3d80019 Change whitespace.txt 4 yıl önce
win32imports.py 124bb8e53c switch to 4 space indent 1 yıl önce
wtf 124bb8e53c switch to 4 space indent 1 yıl önce
yapf f8cab106a4 Update vpython spec for yapf to 0.31.0 2 yıl önce
yapf.bat d73d069a76 Run yapf with vpython3 4 yıl önce

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.