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
git-templates
git_utils
infra
man
recipes
support
testing_support
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
zsh-goodies
.gitignore
.style.yapf
LICENSE
OWNERS
PRESUBMIT.py
README
README.codereview
README.gclient
README.git-cl
README.testing
WATCHLISTS
annotated_gclient.py
apply_issue
apply_issue.bat
apply_issue.py
auth.py
breakpad.py
buildbucket.py
cbuildbot
checkout.py
chrome-update-create-task.bat
chrome-update.bat
chrome-update.py
chrome_set_ver
clang-format
clang-format.bat
clang_format.py
codereview.settings
commit_queue
commit_queue.bat
commit_queue.py
cpplint.bat
cpplint.py
cpplint_chromium.py
create-chromium-git-src
create-ntfs-junction.c
create-ntfs-junction.exe
cros
cros_sdk
dart_format.py
depot-tools-auth
depot-tools-auth.bat
depot-tools-auth.py
download_from_google_storage
download_from_google_storage.bat
download_from_google_storage.py Add support for tar.gz archive files to download from download_from_google_storage 10 years ago
drover
drover.bat
drover.py
fetch
fetch.bat
fetch.py
fix_encoding.py
gcl
gcl.bat
gcl.py
gclient
gclient-new-workdir.py
gclient.bat
gclient.py
gclient_completion.sh
gclient_scm.py
gclient_utils.py
gerrit_util.py
git-auto-svn
git-cache
git-cherry-pick-upload
git-cl
git-cl-upload-hook
git-crrev-parse
git-crsync
git-crup
git-footers
git-freeze
git-gs
git-lkgr
git-map
git-map-branches
git-mark-merge-base
git-nav-downstream
git-nav-upstream
git-new-branch
git-number
git-rebase-update
git-rename-branch
git-reparent-branch
git-retry
git-runhooks
git-squash-branch
git-thaw
git-try
git-upstream-diff
git_auto_svn.py
git_cache.py
git_cherry_pick_upload.py
git_cl.py
git_common.py
git_footers.py
git_freezer.py
git_map.py
git_map_branches.py
git_mark_merge_base.py
git_nav_downstream.py
git_new_branch.py
git_number.py
git_rebase_update.py
git_rename_branch.py
git_reparent_branch.py
git_retry.py
git_squash_branch.py
git_try.py
git_upstream_diff.py
gn
gn.bat
gn.py
gsutil.py
hammer
hammer.bat
my_activity.py
my_reviews.py
ninja
ninja-linux32
ninja-linux64
ninja-mac
ninja.exe
owners.py
owners_finder.py
patch.py
presubmit_canned_checks.py
presubmit_support.py
profile.xml
pylint
pylint.py
pylintrc
python_git_runner.sh
repo
rietveld.py
roll-dep
roll-dep-svn
roll-dep-svn.bat
roll-dep.bat
roll_dep.py
roll_dep_svn.py
scm.py
subcommand.py
subprocess2.py
trychange.py
update_depot_tools
update_depot_tools.bat
upload_to_google_storage.py Add support for tar.gz archive files to download from download_from_google_storage 10 years ago
watchlists.py
weekly
wtf

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