Тайлбар байхгүй

John Budorick 6ec8b51bc9 Reland "depot_tools: Ensure Python is bootstrapped before reading python3_bin_reldir.txt" 5 жил өмнө
bootstrap 9577daf667 depot_tools: Don't add a python3 shim to depot_tools on bootstrap. 5 жил өмнө
fetch_configs 89863242a4 Add fetch configs for devtools-frontend 5 жил өмнө
git-templates a7d7d7ec35 Explicitly exec hooks inside a shell. 12 жил өмнө
infra 35a67a5796 Roll recipe dependencies (trivial). 5 жил өмнө
man 8e57b4bc55 python3 improvements 5 жил өмнө
python-bin 9577daf667 depot_tools: Don't add a python3 shim to depot_tools on bootstrap. 5 жил өмнө
recipes 35a67a5796 Roll recipe dependencies (trivial). 5 жил өмнө
testing_support 14705d8ce0 depot_tools: Make owners tests run on Python 3 5 жил өмнө
tests 7cf9438ca9 presubmit: Print executed command along with test name. 5 жил өмнө
third_party bb1354e256 depot_tools: Remove oauth2client. 5 жил өмнө
win_toolchain 8e57b4bc55 python3 improvements 5 жил өмнө
zsh-goodies 6e043f755b Remove unmaintained "gclient export" command, 14 жил өмнө
.gitattributes 1f3bafbab4 git-cl: Run using vpython 5 жил өмнө
.gitignore 9577daf667 depot_tools: Don't add a python3 shim to depot_tools on bootstrap. 5 жил өмнө
.style.yapf 9d0644d71d Add experimental support for python in 'git cl format' 10 жил өмнө
.vpython 202c559cac depot_tools: Include httplib2 using vpython. 5 жил өмнө
.vpython3 4ba192e7a9 Reland "gerrit_util: Refactor ReadHttpResponse and add more tests." 5 жил өмнө
CROS_OWNERS a110bf60c0 CROS_OWNERS: update 6 жил өмнө
LICENSE fb2b8eb2e2 Create the Next Generation of depot_tools. Eh. 16 жил өмнө
OWNERS 53a5a5042e Add a COMPONENT entry to the OWNERS file. 6 жил өмнө
PRESUBMIT.py 94d6f48ba1 gsutil: Decode output from subprocess. 5 жил өмнө
README.gclient.md 186449d3e7 docs: Removing references to SVN 9 жил өмнө
README.git-cl.md 17016be940 README.git-cl.md: Remove reference to Rietveld 6 жил өмнө
README.md f797143682 Update depot_tools README cpplint section 6 жил өмнө
WATCHLISTS 5803e49603 depot_tools: Add ehmaldonado to WATCHLISTS. 5 жил өмнө
annotated_gclient.py 8e57b4bc55 python3 improvements 5 жил өмнө
auth.py b43d98bf64 auth: Fix has_luci_context_local_auth. 5 жил өмнө
autoninja 8e57b4bc55 python3 improvements 5 жил өмнө
autoninja.bat 125f7cc4d5 [depot_tools] Cap num_cores to RAM/2GB under local jumbo builds 6 жил өмнө
autoninja.py 6a86032688 Handle GOMA_DISABLED more precisely 6 жил өмнө
bb 059f26bcb4 do not hardcode the path to bash by using the #!/usr/bin/env bash shebang 6 жил өмнө
bb.bat 865445eb8a [bb] Deploy bb 6 жил өмнө
bootstrap_python3 24995256ee Reland "depot_tools: Bootstrap Python 3 on Linux/Mac" 6 жил өмнө
breakpad.py dc58a97f02 Finally get rid of depot_tools' breakpad. 9 жил өмнө
cbuildbot 76c2e50d3b simplify the chromite wrappers 5 жил өмнө
chrome_set_ver 76c2e50d3b simplify the chromite wrappers 5 жил өмнө
cipd 059f26bcb4 do not hardcode the path to bash by using the #!/usr/bin/env bash shebang 6 жил өмнө
cipd.bat 95fb6dc810 [cipd] Check CIPD client hash during updates on Windows. 7 жил өмнө
cipd.ps1 dfedcc0666 [cipd] More careful error handling during CIPD bootstrap on Windows. 7 жил өмнө
cipd_bin_setup.bat a0aed87f71 Revert "put goma client in depot_tools" 5 жил өмнө
cipd_bin_setup.sh a0aed87f71 Revert "put goma client in depot_tools" 5 жил өмнө
cipd_client_version 9ccd057746 cipd: update to 2a121dde. 6 жил өмнө
cipd_client_version.digests 9ccd057746 cipd: update to 2a121dde. 6 жил өмнө
cipd_manifest.txt d39c0496a1 [lucicfg] Update from v1.11.5 to v1.11.6. 5 жил өмнө
cipd_manifest.versions d39c0496a1 [lucicfg] Update from v1.11.5 to v1.11.6. 5 жил өмнө
cit f994d87e56 Revert "Reland "depot_tools: Move six to depot_tools' .vpython"" 6 жил өмнө
cit.bat f994d87e56 Revert "Reland "depot_tools: Move six to depot_tools' .vpython"" 6 жил өмнө
cit.py f994d87e56 Revert "Reland "depot_tools: Move six to depot_tools' .vpython"" 6 жил өмнө
clang-format 3ac1c4e320 Depot tools: use the clang-format binaries that are now included 11 жил өмнө
clang-format.bat 74809c1b31 [.bat] Remove "depot_tools" override. (#2) 8 жил өмнө
clang_format.py 80ee78e7fa Convert print statements to Python 3 style 6 жил өмнө
clang_format_merge_driver ff84560ede Introduce git merge driver for the blink reformatting 9 жил өмнө
clang_format_merge_driver.bat 74809c1b31 [.bat] Remove "depot_tools" override. (#2) 8 жил өмнө
clang_format_merge_driver.py 7c93846385 Convert except statements to be Python 3 compatible 6 жил өмнө
codereview.settings 9b654aa084 Make depot_tools upload reviews to Gerrit by default 8 жил өмнө
compile_single_file 4dd9682b11 Add a script to make it easier to build a single source file with ninja 8 жил өмнө
compile_single_file.bat 4dd9682b11 Add a script to make it easier to build a single source file with ninja 8 жил өмнө
compile_single_file.py a74bd78e9c Make it clear that compile_single_file.py doesn't support Jumbo builds 6 жил өмнө
cpplint.bat 74809c1b31 [.bat] Remove "depot_tools" override. (#2) 8 жил өмнө
cpplint.py 9ab047e78b [tricium] Add string_view to list of C++ headers 5 жил өмнө
cpplint_chromium.py 8b8d8bef35 Add lint check against "Foo *bar" and "Foo &bar" declarations. 14 жил өмнө
cros 76c2e50d3b simplify the chromite wrappers 5 жил өмнө
cros_sdk 76c2e50d3b simplify the chromite wrappers 5 жил өмнө
crosjobs b4fc338b7e Add crosjobs shim script 6 жил өмнө
dart_format.py 7c93846385 Convert except statements to be Python 3 compatible 6 жил өмнө
detect_host_arch.py b946b2389c Improve gclient Python 3 compatibility 6 жил өмнө
download_from_google_storage 7149d23621 Revert "depot_tools: Run Python scripts using vpython (Part 2)" 6 жил өмнө
download_from_google_storage.bat 7149d23621 Revert "depot_tools: Run Python scripts using vpython (Part 2)" 6 жил өмнө
download_from_google_storage.py 94d6f48ba1 gsutil: Decode output from subprocess. 5 жил өмнө
ensure_bootstrap 24995256ee Reland "depot_tools: Bootstrap Python 3 on Linux/Mac" 6 жил өмнө
fetch 75c59424e3 [fetch] use py3 for fetch 5 жил өмнө
fetch.bat 7e55700844 fetch: Fix GCLIENT_PY3 on Windows 5 жил өмнө
fetch.py 5c869191c1 Reland "depot_tools: Use vpython to execute fetch." 5 жил өмнө
fix_encoding.py d9c1c856c6 fix_encoding: Decode bytestrings on Python 3 6 жил өмнө
gclient b9aca9494e gclient: Skip calling update_depot_tools if DEPOT_TOOLS_UPDATE is 0. 5 жил өмнө
gclient-new-workdir.py 7149d23621 Revert "depot_tools: Run Python scripts using vpython (Part 2)" 6 жил өмнө
gclient.bat b9aca9494e gclient: Skip calling update_depot_tools if DEPOT_TOOLS_UPDATE is 0. 5 жил өмнө
gclient.py 1f392b83a8 gclient: Support setting local directories as dependency URLs. 5 жил өмнө
gclient_completion.sh 2dca41cf70 Added basic completion (the commands) for gclient. 11 жил өмнө
gclient_eval.py 8e57b4bc55 python3 improvements 5 жил өмнө
gclient_paths.py 7211cf6444 Import gclient_utils for gclient_paths CheckCallAndFilter 5 жил өмнө
gclient_scm.py bb45734988 Changed "gclient sync -D" logic to compare against the expected DEPS version 5 жил өмнө
gclient_utils.py 419c92f1bc gclient_utils: Make FileRead always return a Unicode string. 5 жил өмнө
gerrit_client.py d9cbe7ad69 [git-cl] Lint and clean-up git-cl, test, and related modules 6 жил өмнө
gerrit_util.py 0db01f0fab git-cl: Make tests run on Python 3. 5 жил өмнө
git-cache 375765c6bf Generalize python_git_runner for use in non-git scripts. 9 жил өмнө
git-cl 375765c6bf Generalize python_git_runner for use in non-git scripts. 9 жил өмнө
git-crrev-parse 383ace4b35 Fix git-crrev-parse on Mac. 8 жил өмнө
git-drover 375765c6bf Generalize python_git_runner for use in non-git scripts. 9 жил өмнө
git-find-releases 375765c6bf Generalize python_git_runner for use in non-git scripts. 9 жил өмнө
git-footers 375765c6bf Generalize python_git_runner for use in non-git scripts. 9 жил өмнө
git-freeze 375765c6bf Generalize python_git_runner for use in non-git scripts. 9 жил өмнө
git-gs 2b4ac39884 Add *.proto to git-gs 8 жил өмнө
git-hyper-blame 819375653b Added git hyper-blame, a tool that skips unwanted commits in git blame. 9 жил өмнө
git-map 375765c6bf Generalize python_git_runner for use in non-git scripts. 9 жил өмнө
git-map-branches 375765c6bf Generalize python_git_runner for use in non-git scripts. 9 жил өмнө
git-mark-merge-base 375765c6bf Generalize python_git_runner for use in non-git scripts. 9 жил өмнө
git-nav-downstream 375765c6bf Generalize python_git_runner for use in non-git scripts. 9 жил өмнө
git-nav-upstream e989bb2b45 Make git-nav-upstream use the upstream branch name 6 жил өмнө
git-new-branch 375765c6bf Generalize python_git_runner for use in non-git scripts. 9 жил өмнө
git-number 375765c6bf Generalize python_git_runner for use in non-git scripts. 9 жил өмнө
git-rebase-update 375765c6bf Generalize python_git_runner for use in non-git scripts. 9 жил өмнө
git-rename-branch 375765c6bf Generalize python_git_runner for use in non-git scripts. 9 жил өмнө
git-reparent-branch 375765c6bf Generalize python_git_runner for use in non-git scripts. 9 жил өмнө
git-retry 375765c6bf Generalize python_git_runner for use in non-git scripts. 9 жил өмнө
git-runhooks 98eda3f3e4 Revert "depot_tools: Run Python scripts using vpython (Part 1)" 6 жил өмнө
git-squash-branch 375765c6bf Generalize python_git_runner for use in non-git scripts. 9 жил өмнө
git-thaw 375765c6bf Generalize python_git_runner for use in non-git scripts. 9 жил өмнө
git-upstream-diff 375765c6bf Generalize python_git_runner for use in non-git scripts. 9 жил өмнө
git_cache.py 3da78c4bb7 Revert git cache diagnostic tracing. 5 жил өмнө
git_cl.py 0db01f0fab git-cl: Make tests run on Python 3. 5 жил өмнө
git_cl_completion.sh e594e21959 Add git cl bash completition. 9 жил өмнө
git_common.py 71681bf1e8 git-common: Explicitly specify utf-8 when encoding. 5 жил өмнө
git_dates.py 819375653b Added git hyper-blame, a tool that skips unwanted commits in git blame. 9 жил өмнө
git_drover.py 6f6611617c git-drover: Fix tests to run on Python 3. 5 жил өмнө
git_find_releases.py 98eda3f3e4 Revert "depot_tools: Run Python scripts using vpython (Part 1)" 6 жил өмнө
git_footers.py 5da394f8e1 depot_tools: Run git_footers_test on Python 3. 5 жил өмнө
git_freezer.py 98eda3f3e4 Revert "depot_tools: Run Python scripts using vpython (Part 1)" 6 жил өмнө
git_hyper_blame.py 12a537f932 depot_tools: Run git_common_test in Python 3 5 жил өмнө
git_map.py 8e57b4bc55 python3 improvements 5 жил өмнө
git_map_branches.py 8e57b4bc55 python3 improvements 5 жил өмнө
git_mark_merge_base.py 98eda3f3e4 Revert "depot_tools: Run Python scripts using vpython (Part 1)" 6 жил өмнө
git_nav_downstream.py 98eda3f3e4 Revert "depot_tools: Run Python scripts using vpython (Part 1)" 6 жил өмнө
git_new_branch.py 9bb7b96c4d git-rebase-update: Make tests run on Python 3. 5 жил өмнө
git_number.py 352808fa15 git-number: Make tests run on Python 3. 5 жил өмнө
git_rebase_update.py 8e57b4bc55 python3 improvements 5 жил өмнө
git_rename_branch.py 9bb7b96c4d git-rebase-update: Make tests run on Python 3. 5 жил өмнө
git_reparent_branch.py 98eda3f3e4 Revert "depot_tools: Run Python scripts using vpython (Part 1)" 6 жил өмнө
git_retry.py 98eda3f3e4 Revert "depot_tools: Run Python scripts using vpython (Part 1)" 6 жил өмнө
git_squash_branch.py 98eda3f3e4 Revert "depot_tools: Run Python scripts using vpython (Part 1)" 6 жил өмнө
git_upstream_diff.py 98eda3f3e4 Revert "depot_tools: Run Python scripts using vpython (Part 1)" 6 жил өмнө
gn a738935a12 Add executable and line ending properties for GN. 11 жил өмнө
gn.bat 74809c1b31 [.bat] Remove "depot_tools" override. (#2) 8 жил өмнө
gn.py 80ee78e7fa Convert print statements to Python 3 style 6 жил өмнө
goma_auth 27bd4e420d Reland "put goma client in depot_tools" 5 жил өмнө
goma_auth.bat 27bd4e420d Reland "put goma client in depot_tools" 5 жил өмнө
goma_ctl 27bd4e420d Reland "put goma client in depot_tools" 5 жил өмнө
goma_ctl.bat 27bd4e420d Reland "put goma client in depot_tools" 5 жил өмнө
gsutil.py 94d6f48ba1 gsutil: Decode output from subprocess. 5 жил өмнө
gsutil.py.bat 52411ecf1f Add windows .bat file for gsutil.py. 6 жил өмнө
gsutil.vpython 6a1d77869d gsutil: Bump asn1crypto version to 1.0.1 5 жил өмнө
led 059f26bcb4 do not hardcode the path to bash by using the #!/usr/bin/env bash shebang 6 жил өмнө
led.bat 5aeeb72c33 [bootstraps] Sync at gclient, suppress output (#2) 8 жил өмнө
luci-auth 059f26bcb4 do not hardcode the path to bash by using the #!/usr/bin/env bash shebang 6 жил өмнө
luci-auth.bat f3b152d2f5 [luci-auth] Add statically-linked luci-auth CLI tool. 7 жил өмнө
lucicfg 059f26bcb4 do not hardcode the path to bash by using the #!/usr/bin/env bash shebang 6 жил өмнө
lucicfg.bat ef40cbac46 [cipd] Add lucicfg tool. 6 жил өмнө
mac_toolchain 059f26bcb4 do not hardcode the path to bash by using the #!/usr/bin/env bash shebang 6 жил өмнө
metrics.README.md 18df41e0cf metrics: Collect full timestamps. 6 жил өмнө
metrics.py 73065b2067 depot_tools: Make some changes to make metrics collection compatible with Python 3. 6 жил өмнө
metrics_utils.py 73065b2067 depot_tools: Make some changes to make metrics collection compatible with Python 3. 6 жил өмнө
my_activity.py 202c559cac depot_tools: Include httplib2 using vpython. 5 жил өмнө
ninja a21a7c53d9 [ninja] update ninja repository url 6 жил өмнө
ninja-linux32 aa57b34620 Update ninja to v1.8.2 8 жил өмнө
ninja-linux64 aa57b34620 Update ninja to v1.8.2 8 жил өмнө
ninja-mac aa57b34620 Update ninja to v1.8.2 8 жил өмнө
ninja.exe aa57b34620 Update ninja to v1.8.2 8 жил өмнө
ninjalog.README.md 540ba9dde0 [ninjalog] add ninjalog.README.md 6 жил өмнө
ninjalog_uploader.py 3841eaa164 Remove unused imports in depot_tools/*.py 5 жил өмнө
ninjalog_uploader_wrapper.py 80ee78e7fa Convert print statements to Python 3 style 6 жил өмнө
owners.py 37740e2bc9 Randomize results of git cl owners 5 жил өмнө
owners_finder.py 37740e2bc9 Randomize results of git cl owners 5 жил өмнө
post_build_ninja_summary.py 0e9afd2a56 Change "CPU time" to "elapsed time" 5 жил өмнө
presubmit_canned_checks.py b983024505 presubmit_support: Fix tests on Python 3. 5 жил өмнө
presubmit_support.py 7cf9438ca9 presubmit: Print executed command along with test name. 5 жил өмнө
profile.xml fb2b8eb2e2 Create the Next Generation of depot_tools. Eh. 16 жил өмнө
prpc 059f26bcb4 do not hardcode the path to bash by using the #!/usr/bin/env bash shebang 6 жил өмнө
prpc.bat d6d0ecca50 [prpc] Add pRPC CLI tool to depot_tools. 7 жил өмнө
pylint 53297790de pylint: rework wrapper to use vpython for multiple versions 6 жил өмнө
pylint-1.5 53297790de pylint: rework wrapper to use vpython for multiple versions 6 жил өмнө
pylint-1.6 53297790de pylint: rework wrapper to use vpython for multiple versions 6 жил өмнө
pylint-1.7 53297790de pylint: rework wrapper to use vpython for multiple versions 6 жил өмнө
pylint-1.8 53297790de pylint: rework wrapper to use vpython for multiple versions 6 жил өмнө
pylint-1.9 53297790de pylint: rework wrapper to use vpython for multiple versions 6 жил өмнө
pylint.bat 53297790de pylint: rework wrapper to use vpython for multiple versions 6 жил өмнө
pylint_main.py 53297790de pylint: rework wrapper to use vpython for multiple versions 6 жил өмнө
pylintrc ed485e1994 pylintrc: disable score reports 6 жил өмнө
python_runner.sh 1f3bafbab4 git-cl: Run using vpython 5 жил өмнө
repo 64ae6993f7 Reland "repo: pull in updates from latest release" 6 жил өмнө
roll-dep 7149d23621 Revert "depot_tools: Run Python scripts using vpython (Part 2)" 6 жил өмнө
roll-dep-svn 7149d23621 Revert "depot_tools: Run Python scripts using vpython (Part 2)" 6 жил өмнө
roll-dep-svn.bat 7149d23621 Revert "depot_tools: Run Python scripts using vpython (Part 2)" 6 жил өмнө
roll-dep.bat 7149d23621 Revert "depot_tools: Run Python scripts using vpython (Part 2)" 6 жил өмнө
roll_dep.py 8e57b4bc55 python3 improvements 5 жил өмнө
roll_dep_svn.py 7149d23621 Revert "depot_tools: Run Python scripts using vpython (Part 2)" 6 жил өмнө
scm.py c9144527d9 depot_tools: Don't use basestring in scm.CaptureStatus. 5 жил өмнө
setup_color.py 73ec83f0fe setup_color: Don't output an error if GetConsoleMode fails 6 жил өмнө
split_cl.py 8e57b4bc55 python3 improvements 5 жил өмнө
subcommand.py 921f6a1751 depot_toools: Make subcommand Python 3 compatible. 6 жил өмнө
subprocess2.py 1556fbc353 depot_tools: Simplify subprocess2. 6 жил өмнө
update_depot_tools 9577daf667 depot_tools: Don't add a python3 shim to depot_tools on bootstrap. 5 жил өмнө
update_depot_tools.bat 24995256ee Reland "depot_tools: Bootstrap Python 3 on Linux/Mac" 6 жил өмнө
update_depot_tools_toggle.py 74d7e13315 [auto_update] Add control script, allow disable. 8 жил өмнө
upload_metrics.py f994d87e56 Revert "Reland "depot_tools: Move six to depot_tools' .vpython"" 6 жил өмнө
upload_to_google_storage.py 94d6f48ba1 gsutil: Decode output from subprocess. 5 жил өмнө
vpython 6ec8b51bc9 Reland "depot_tools: Ensure Python is bootstrapped before reading python3_bin_reldir.txt" 5 жил өмнө
vpython.bat 5aeeb72c33 [bootstraps] Sync at gclient, suppress output (#2) 8 жил өмнө
vpython3 6ec8b51bc9 Reland "depot_tools: Ensure Python is bootstrapped before reading python3_bin_reldir.txt" 5 жил өмнө
vpython3.bat 447b45d423 [vpython] Roll to 98a268c6432f18aedd55d62b9621765316dc2a16 6 жил өмнө
watchlists.py ba97f6065e Trivial: Removing gendered pronouns from watchlists.py. 5 жил өмнө
weekly 80ee78e7fa Convert print statements to Python 3 style 6 жил өмнө
wtf 80ee78e7fa Convert print statements to Python 3 style 6 жил өмнө
yapf db1e69ef03 Update yapf version 0.22 -> 0.24 6 жил өмнө
yapf.bat e47ac15d93 Fix git cl format --python on windows 6 жил өмнө

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.