tree: 23f0fa4a2bb462b7164f0a3164990d044df49567 [path history] [tgz]
  1. test/
  2. __init__.py
  3. __main__.py
  4. dumpthis.py
  5. README.md
infra/tools/dumpthis/README.md

dumpthis

aka simplified gsutil cp

Ever wanted to copy a file from the bot to share with others? scp is a good tool, but copying through a bunch of ssh proxies is a pain. dumpthis to the rescue:

$ ./run.py infra.tools.dumpthis some.log
Uploading...
Use https://storage.cloud.google.com/chrome-dumpfiles/click-to-download

You can also stream:

$ cat haystack.log | grep needle | ./run.py infra.tools.dumpthis

Bonus If depot_tools in your $PATH:

$ tar cz my_broken_checkout | cit dumpthis