You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Go to file
ricow@google.com 0c7d94eb9d Add support for tar.gz archive files to download from download_from_google_storage
Also, add support for directly setting the public read flag on uploaded files.

The support for tar.gz allows the uploaded bundle to be a single tar.gz file instead of a lot of individual files using the directory support already in. The benefit here is that it is much easier to update the dependency. Simply clean out the existing files, copy in the new ones, create a tar.gz file, with the same name as the directory + 'tar.gz'. If the directory name and file name does not match up we will not clean up existing artifacts on download (i.e., there can be left over files after extracting).

I am doing this because I am moving a bunch of the dart dependencies to gcs, and a lot of our dependencies is much easier to manage with this in. If you don't like this, I can simply wrap the download script in another python script and do the logic there, but this may be handy for other people as well.

Review URL: https://codereview.chromium.org/807463005

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@295872 0039d316-1c4b-4281-b951-d872f2087c98
10 years ago
bootstrap Re-land: Added virtualenv for depot_tools 10 years ago
git-templates Explicitly exec hooks inside a shell. 12 years ago
git_utils Allow branches without upstream. 12 years ago
infra Added CQ team as OWNERS for CQ-related stuff in depot_tools 10 years ago
man Fixed ``smart'' quotes in code block. 10 years ago
recipes Revert "Run install-build-deps in the middle of 'fetch chromium'" 10 years ago
support chromite_wrapper: Fix up comment. 12 years ago
testing_support Fix format string. 10 years ago
tests Add support for tar.gz archive files to download from download_from_google_storage 10 years ago
third_party Use virtualenv to run commit_queue script 10 years ago
win_toolchain make `python build/vs_toolchain.py update` work a bit better on non-windows 10 years ago
zsh-goodies Remove unmaintained "gclient export" command, 14 years ago
.gitignore Re-land: Added virtualenv for depot_tools 10 years ago
.style.yapf Add experimental support for python in 'git cl format' 10 years ago
LICENSE Create the Next Generation of depot_tools. Eh. 16 years ago
OWNERS Allow CQ team to own all commit_queue scripts in depot_tools 10 years ago
PRESUBMIT.py Re-land: Added virtualenv for depot_tools 10 years ago
README Fix git depot_tools update flow. 13 years ago
README.codereview Move git_cl back into depot_tools. 14 years ago
README.gclient Fix EOL issues. 14 years ago
README.git-cl Move git_cl back into depot_tools. 14 years ago
README.testing Move git_cl back into depot_tools. 14 years ago
WATCHLISTS Normalizes OWNERS and WATCHLISTS. 10 years ago
annotated_gclient.py Send build revision as json object. 12 years ago
apply_issue Mark the apply_issue and apply_issue.bat files as executable. BUG=149941 13 years ago
apply_issue.bat Add some missing setlocals from various .bat files 11 years ago
apply_issue.py Comment out applying patchset dependencies in apply_issue.py 10 years ago
auth.py my_activity.py: update to use oauth for projecthosting 10 years ago
breakpad.py Only call SendProfile() on slow commands 13 years ago
buildbucket.py Add --changes flag to buildbucket.py's put subcommand 10 years ago
cbuildbot Cleanup chromite_wrapper. 13 years ago
checkout.py Use three-way merge when applying Git patches. 11 years ago
chrome-update-create-task.bat Fix EOL issues. 14 years ago
chrome-update.bat Fix EOL issues. 14 years ago
chrome-update.py Handle KeyboardInterrupt consistently in python scripts 10 years ago
chrome_set_ver Cleanup chromite_wrapper. 13 years ago
clang-format Depot tools: use the clang-format binaries that are now included 11 years ago
clang-format.bat Add some missing setlocals from various .bat files 11 years ago
clang_format.py Fix the argument passed to main() in clang_format.py 10 years ago
codereview.settings Update codereview settings to match new CQ project name. 10 years ago
commit_queue Use virtualenv to run commit_queue script 10 years ago
commit_queue.bat Use virtualenv to run commit_queue script 10 years ago
commit_queue.py Update cq_client and add validate command to commit_queue binary 10 years ago
cpplint.bat Fix EOL issues. 14 years ago
cpplint.py Update cpplint.py to r141. 11 years ago
cpplint_chromium.py Add lint check against "Foo *bar" and "Foo &bar" declarations. 14 years ago
create-chromium-git-src Change shebangs to allow the tools to be used out of the box without modification 15 years ago
create-ntfs-junction.c Utility to create an NTFS junction point. Previously reviewed at: 13 years ago
create-ntfs-junction.exe Utility to create an NTFS junction point. Previously reviewed at: 13 years ago
cros Add cros wrapper to depot_tools. 13 years ago
cros_sdk Cleanup chromite_wrapper. 13 years ago
dart_format.py Run dartfmt when invoking git cl format. 10 years ago
depot-tools-auth Add OAuth2 support for end users (i.e. 3-legged flow with the browser). 10 years ago
depot-tools-auth.bat Add OAuth2 support for end users (i.e. 3-legged flow with the browser). 10 years ago
depot-tools-auth.py Add OAuth2 support for end users (i.e. 3-legged flow with the browser). 10 years ago
download_from_google_storage Added posix and windows runner scripts for download_from_google_storage.py 12 years ago
download_from_google_storage.bat Added posix and windows runner scripts for download_from_google_storage.py 12 years ago
download_from_google_storage.py Add support for tar.gz archive files to download from download_from_google_storage 10 years ago
drover Enable PYTHONDONTWRITEBYTECODE=1 as much as possible. 14 years ago
drover.bat Enable PYTHONDONTWRITEBYTECODE=1 as much as possible. 14 years ago
drover.py Handle KeyboardInterrupt consistently in python scripts 10 years ago
fetch Update fetch to support more flexible refspecs 11 years ago
fetch.bat Add some missing setlocals from various .bat files 11 years ago
fetch.py Fix dry_run run() return type to match check_output(). 10 years ago
fix_encoding.py Update cpplint.py to r141. 11 years ago
gcl Enable PYTHONDONTWRITEBYTECODE=1 as much as possible. 14 years ago
gcl.bat Enable PYTHONDONTWRITEBYTECODE=1 as much as possible. 14 years ago
gcl.py Extract authentication options handling into a separate function. 10 years ago
gclient Run "svn revert" in update_depot_tools --force 11 years ago
gclient-new-workdir.py Clearer help in gclient-new-workdir.py 12 years ago
gclient.bat Run "svn revert" in update_depot_tools --force 11 years ago
gclient.py Treat 'revert' like 'update' in gclient. 10 years ago
gclient_completion.sh Added basic completion (the commands) for gclient. 11 years ago
gclient_scm.py Update .git/objects/info/alternates when upstream url changes. 10 years ago
gclient_utils.py Add experimental support for python in 'git cl format' 10 years ago
gerrit_util.py Provide diagnostic messages about netrc failures. 11 years ago
git-auto-svn Remove useless comments from git bash wrappers. 11 years ago
git-cache Remove useless comments from git bash wrappers. 11 years ago
git-cherry-pick-upload Remove useless comments from git bash wrappers. 11 years ago
git-cl Remove useless comments from git bash wrappers. 11 years ago
git-cl-upload-hook Enforce inserting the depot_tools path as the first path in sys.path. 14 years ago
git-crrev-parse Convenience git extension for converting a chromium git commit number to a git hash. 10 years ago
git-crsync Invoke the bash shell via /usr/bin/env so that these scripts run on operating systems without /bin/bash too. 11 years ago
git-crup Update the Blink recipe to use 'webkit_revision' instead of 'webkit_rev' 11 years ago
git-footers Remove useless comments from git bash wrappers. 11 years ago
git-freeze Remove useless comments from git bash wrappers. 11 years ago
git-gs Have git-gs search .gni files 11 years ago
git-lkgr Invoke the bash shell via /usr/bin/env so that these scripts run on operating systems without /bin/bash too. 11 years ago
git-map Remove useless comments from git bash wrappers. 11 years ago
git-map-branches Remove useless comments from git bash wrappers. 11 years ago
git-mark-merge-base Remove useless comments from git bash wrappers. 11 years ago
git-nav-downstream Remove useless comments from git bash wrappers. 11 years ago
git-nav-upstream Remove useless comments from git bash wrappers. 11 years ago
git-new-branch Remove useless comments from git bash wrappers. 11 years ago
git-number Remove useless comments from git bash wrappers. 11 years ago
git-rebase-update Remove useless comments from git bash wrappers. 11 years ago
git-rename-branch Remove useless comments from git bash wrappers. 11 years ago
git-reparent-branch Remove useless comments from git bash wrappers. 11 years ago
git-retry Remove useless comments from git bash wrappers. 11 years ago
git-runhooks Invoke the bash shell via /usr/bin/env so that these scripts run on operating systems without /bin/bash too. 11 years ago
git-squash-branch Remove useless comments from git bash wrappers. 11 years ago
git-thaw Invoke the bash shell via /usr/bin/env so that these scripts run on operating systems without /bin/bash too. 11 years ago
git-try Invoke the bash shell via /usr/bin/env so that these scripts run on operating systems without /bin/bash too. 11 years ago
git-upstream-diff Invoke the bash shell via /usr/bin/env so that these scripts run on operating systems without /bin/bash too. 11 years ago
git_auto_svn.py Make git auto-svn fail if git svn fetch fails. 10 years ago
git_cache.py Revert of Specify GIT_DIR when running git-config in a mirror. (patchset #4 id:60001 of https://codereview.chromium.org/1167193002/) 10 years ago
git_cherry_pick_upload.py Extract authentication options handling into a separate function. 10 years ago
git_cl.py Make msg about found dependency more accurate. 10 years ago
git_common.py Unskip testGetBranchesInfo(). 10 years ago
git_footers.py Improve "dcommit in git repo" error message. 10 years ago
git_freezer.py Handle KeyboardInterrupt consistently in python scripts 10 years ago
git_map.py Handle KeyboardInterrupt consistently in python scripts 10 years ago
git_map_branches.py Fix "git cl map-branches -vvv" 10 years ago
git_mark_merge_base.py Handle KeyboardInterrupt consistently in python scripts 10 years ago
git_nav_downstream.py Handle KeyboardInterrupt consistently in python scripts 10 years ago
git_new_branch.py Handle KeyboardInterrupt consistently in python scripts 10 years ago
git_number.py Handle KeyboardInterrupt consistently in python scripts 10 years ago
git_rebase_update.py Only chdir in rebase-update if there's a directory to go back to. 10 years ago
git_rename_branch.py Handle KeyboardInterrupt consistently in python scripts 10 years ago
git_reparent_branch.py Handle KeyboardInterrupt consistently in python scripts 10 years ago
git_retry.py Handle KeyboardInterrupt consistently in python scripts 10 years ago
git_squash_branch.py git-squash-branch: handle empty squashes 10 years ago
git_try.py Handle KeyboardInterrupt consistently in python scripts 10 years ago
git_upstream_diff.py Handle KeyboardInterrupt consistently in python scripts 10 years ago
gn Add executable and line ending properties for GN. 12 years ago
gn.bat Add some missing setlocals from various .bat files 11 years ago
gn.py Handle KeyboardInterrupt consistently in python scripts 10 years ago
gsutil.py Hook sys.stdio directly to the gsutil subprocess for the gsutil call 10 years ago
hammer Updating hammer script based on review suggestions. 16 years ago
hammer.bat Fix EOL issues. 14 years ago
my_activity.py my_activity.py: update to use oauth for projecthosting 10 years ago
my_reviews.py Extract authentication options handling into a separate function. 10 years ago
ninja Update ninja to v1.6.0 on Mac, Linux32, Linux64, Windows. 10 years ago
ninja-linux32 Update ninja to v1.6.0 on Mac, Linux32, Linux64, Windows. 10 years ago
ninja-linux64 Update ninja to v1.6.0 on Mac, Linux32, Linux64, Windows. 10 years ago
ninja-mac Update ninja to v1.6.0 on Mac, Linux32, Linux64, Windows. 10 years ago
ninja.exe Update ninja to v1.6.0 on Mac, Linux32, Linux64, Windows. 10 years ago
owners.py Implement support for file: includes in OWNERS files. 10 years ago
owners_finder.py An interactive tool to help find owners covering current change list. 12 years ago
patch.py Fix filename checks 10 years ago
presubmit_canned_checks.py Parallelize pylint PRESUBMIT checks. 10 years ago
presubmit_support.py Parallelize pylint PRESUBMIT checks. 10 years ago
profile.xml Create the Next Generation of depot_tools. Eh. 16 years ago
pylint Fix git-cl quoting, yet again. 12 years ago
pylint.py Handle KeyboardInterrupt consistently in python scripts 10 years ago
pylintrc Revert "Revert "pylint: upgrade to 1.3.1"" 11 years ago
python_git_runner.sh Refactor the way that git executables are launched in depot tools. 11 years ago
repo Add pgp key for davidjames to repo. 11 years ago
rietveld.py Find, upload and apply patchset dependencies. 10 years ago
roll-dep Convenience tool for rolling git-style deps with an svn revision. 11 years ago
roll-dep-svn Rename roll-dep to roll-dep-svn and add roll-dep for git. 10 years ago
roll-dep-svn.bat Rename roll-dep to roll-dep-svn and add roll-dep for git. 10 years ago
roll-dep.bat Convenience tool for rolling git-style deps with an svn revision. 11 years ago
roll_dep.py roll_dep.py: switch to argparse 10 years ago
roll_dep_svn.py Rename roll-dep to roll-dep-svn and add roll-dep for git. 10 years ago
scm.py Reland "Make gclient ready for the Blink (DEPS to main project)" 10 years ago
subcommand.py Automatically upgrade '_' to '-' when finding the right command. 10 years ago
subprocess2.py Add quotes around command line in subproccess error message 10 years ago
trychange.py git try -t support for Gerrit 10 years ago
update_depot_tools Fix slash direction: paths in msysgit use /, not \. 10 years ago
update_depot_tools.bat Re-land: Added virtualenv for depot_tools 10 years ago
upload_to_google_storage.py Add support for tar.gz archive files to download from download_from_google_storage 10 years ago
watchlists.py Add a warning if the current version of python is not 2.5 14 years ago
weekly Adding weekly tool to help with weekly snippets 15 years ago
wtf fix wtf crash when deps entry is at None 13 years ago

README

This package contains tools for working with Chromium development.

The "gclient" wrapper knows how to keep this repository updated to
the latest versions of these tools as found at:

    http://src.chromium.org/svn/trunk/tools/depot_tools

This package contains:

  chrome-update-create-task.bat
    Creates a scheduled task to do an automatic local chromium build every day.

  cpplint.py
    A copy of our linting tool which enforces Google style. Fetched from
    http://google-styleguide.googlecode.com/svn/trunk/cpplint/cpplint.py

  gcl
    A tool for uploading and managing code reviews on the Chromium
    project, using the Rietveld code review tool.  More info at:
    http://code.google.com/p/rietveld/

  gclient
    A script for managing a workspace with modular dependencies that
    are each checked out independently from different repositories.
    More info at:
    http://code.google.com/p/gclient/

  hammer
    A wrapper script for building Chromium with the SCons software
    construction tool.  More info at:
    http://www.scons.org/

Note: svn and python will be installed automatically if not accessible (on
Windows only).

To update this distribution manually, run .\update_depot_tools.bat on Windows,
or ./update_depot_tools on Linux or Mac.

To disable automatic updating, set the environment variable DEPOT_TOOLS_UPDATE=0