Commit Graph

6621 Commits (f1ad6e46ed23ee6ff57be8ff3d5582a3e2d3e02b)
 

Author SHA1 Message Date
recipe-roller f1ad6e46ed Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (e.g. depot_tools) into downstream projects
(e.g. tools/build).


More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.
recipe_engine:
  https://crrev.com/ee9e27dca1ca19f086e572a4266ef7d35f5462a8 Whitelist RECIPE_MODULES imports. (gbeaty@chromium.org)


TBR=iannucci@chromium.org

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: Ifeae30970270145c8ccfd2f6430fdac248e76683
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1966416
Reviewed-by: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
5 years ago
Andrii Shyshkalov 785eba07c5 Roll lucicfg tool to @ 5fca57db v1.11.14
Old revision: 0416cda1

Change logs:
  infra/infra:
    0416cda1..5fca57db
  luci-go
    ecd08a2a..8a10a4b7/lucicfg

Bug: 944108
Change-Id: If28291d5270e4ade84c19dd4a1dc697152fac446
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1963484
Reviewed-by: Vadim Shtayura <vadimsh@chromium.org>
Commit-Queue: Andrii Shyshkalov <tandrii@google.com>
5 years ago
Robert Iannucci 8b34eb4d1e [goma_ctl] Use vpython to call goma_ctl.py.
goma_ctl.py recommends that folks run `pip install pywin32`, which will
work up until python in depot_tools is updated, at which point it will
break again.

Running with vpython means that the vpython spec which ships with goma
will correctly take effect.

R=brucedawson@chromium.org, tikuta@chromium.org

Bug: 1033106
Change-Id: Icafadf381df782ab30d6cc156419dd7ed424d2bf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1962721
Auto-Submit: Robbie Iannucci <iannucci@chromium.org>
Reviewed-by: Andrii Shyshkalov <tandrii@google.com>
Reviewed-by: Takuto Ikuta <tikuta@chromium.org>
Commit-Queue: Takuto Ikuta <tikuta@chromium.org>
5 years ago
Sergiy Belozorov 812a14697d Remove myself from owners
R=iannucci@chromium.org, nodir@chromium.org

Change-Id: I5eb3b3732610139e04da07129f89b646e0cf60b3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1962930
Auto-Submit: Sergiy Belozorov <sergiyb@chromium.org>
Reviewed-by: Robbie Iannucci <iannucci@chromium.org>
Commit-Queue: Robbie Iannucci <iannucci@chromium.org>
5 years ago
Robert Iannucci ee67b97daa Roll python to actually correct packages.
For bonus points, this also fixes PRESUBMIT so that it actually checks
the manifests.

TBR=bpastene@chromium.org, tandrii@chromium.org

Bug: 1032743
Change-Id: I4dac5a520e333e3c429597684a44ece83d21c5fb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1960950
Reviewed-by: Robbie Iannucci <iannucci@chromium.org>
Commit-Queue: Robbie Iannucci <iannucci@chromium.org>
5 years ago
Aaron Gable 6865d13248 Update git-drover to use branch CQ
Now that the CQ has been enabled for both the Beta and Stable
branches, git-drover should use the commit queue instead of
directly submitting the CL. To that end, this CL replaces the
usage of `git cl land` with `git cl set-commit`.

Change-Id: I0d0c10115acc98eafe0c069825de5499b8ade3e0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1960697
Auto-Submit: Aaron Gable <agable@chromium.org>
Commit-Queue: Garrett Beaty <gbeaty@chromium.org>
Reviewed-by: Garrett Beaty <gbeaty@chromium.org>
5 years ago
recipe-roller 446df3907a Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (e.g. depot_tools) into downstream projects
(e.g. tools/build).


More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.
recipe_engine:
  https://crrev.com/8605aab007613ffcd29297c0462ed8f4c7f7369c [recipe_modules/platform] Update doc for arch property. (iannucci@chromium.org)


TBR=iannucci@chromium.org

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: Id5ed8e8adf4bf1e096fadbbc6c559b00f98cd3fd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1959696
Reviewed-by: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
5 years ago
Robert Iannucci 92b150fa64 Roll python 2 and 3 to versions matching the fleet.
R=ajp@chromium.org, tandrii@chromium.org, vadimsh@chromium.org

Change-Id: I8fe37755858f0b7205aa790dc4620e1ce0e84850
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1960695
Auto-Submit: Robbie Iannucci <iannucci@chromium.org>
Reviewed-by: Vadim Shtayura <vadimsh@chromium.org>
Commit-Queue: Robbie Iannucci <iannucci@chromium.org>
5 years ago
Robert Iannucci 7f9e1a2dc0 Roll git to 2.24.1.
R=jrn@google.com, tandrii@chromium.org, vadimsh@chromium.org

Bug: 1032658
Change-Id: I60885ef7d959fbe9146bcbb5f62ab4be729caee5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1960690
Commit-Queue: Robbie Iannucci <iannucci@chromium.org>
Commit-Queue: Vadim Shtayura <vadimsh@chromium.org>
Auto-Submit: Robbie Iannucci <iannucci@chromium.org>
Reviewed-by: Vadim Shtayura <vadimsh@chromium.org>
5 years ago
John Budorick e9aeaee522 bot_update: only add input commit refs for gclient solution roots.
Bug: 1031805
Recipe-Nontrivial-Roll: build
Recipe-Nontrivial-Roll: build_limited_scripts_slave
Recipe-Nontrivial-Roll: infra
Change-Id: I6edd221900eadd4d621d6190e08b61fdbc2f8621
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1958706
Commit-Queue: John Budorick <jbudorick@chromium.org>
Reviewed-by: Aaron Gable <agable@chromium.org>
5 years ago
recipe-roller cfd87e824e Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (e.g. depot_tools) into downstream projects
(e.g. tools/build).


More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.
recipe_engine:
  https://crrev.com/19c96b27a29dbad65e5e01d28ff479e856d666bd [resultdb] Add chromium_derive function. (nodir@chromium.org)


TBR=iannucci@chromium.org

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: Ia8b0effcd02b79fa8448539291758f873a2f8d80
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1958857
Reviewed-by: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
5 years ago
Mike Frysinger 198b562986 pylint: make pylint-quotes available
We load it, but disable all the warnings by default.  People can
re-enable the warnings for their modules if they want, but there
is way too much broken code in the tree currently.

Bug: 738534
Test: ran each pylint version by hand on some bad code
Change-Id: Ia5b24093f18febd452f4c1eed6e82044544161bc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1958849
Reviewed-by: Robbie Iannucci <iannucci@chromium.org>
Commit-Queue: Mike Frysinger <vapier@chromium.org>
5 years ago
Vadim Shtayura bf31df7a63 [cipd] Bump client version 2.3.1 => 2.3.2.
Has slightly friendlier error message on permission errors. No other changes.

R=iannucci@chromium.org, tandrii@chromium.org
BUG=1031057

Change-Id: Ie6dd75285bf6125bc76a1d338f956a303b42f825
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1959085
Auto-Submit: Vadim Shtayura <vadimsh@chromium.org>
Reviewed-by: Andrii Shyshkalov <tandrii@google.com>
Commit-Queue: Andrii Shyshkalov <tandrii@google.com>
5 years ago
Mike Frysinger ed71210a5f pylint: roll less spammy versions
Pull the patched versions that reduce log spam.

Bug: 866772
Test: `pylint-1.9 __init__.py` doesn't spam
Change-Id: I766e534e08199f1cc54d93a40e8a2dccb77f2934
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1958848
Reviewed-by: Robbie Iannucci <iannucci@chromium.org>
Commit-Queue: Mike Frysinger <vapier@chromium.org>
5 years ago
Jeffrey Yasskin 6b52dc21e1 Default to origin's default branch instead of always origin/master.
BUG=1023031

Change-Id: I4bf3e33932af40600646f070f057a7c8c0661f33
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1954624
Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
Reviewed-by: Edward Lesmes <ehmaldonado@chromium.org>
Auto-Submit: Jeffrey Yasskin <jyasskin@chromium.org>
5 years ago
Robert Iannucci fe18a43d59 [git] Update bootstrapped git version to 2.24 to match fleet.
R=ehmaldonado@chromium.org, tandrii@chromium.org, thakis@chromium.org

Bug: 1026340
Change-Id: I16b3e5452114cf8b33368c5721e7b53a5700c941
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1954210
Auto-Submit: Robbie Iannucci <iannucci@chromium.org>
Commit-Queue: Andrii Shyshkalov <tandrii@google.com>
Reviewed-by: Andrii Shyshkalov <tandrii@google.com>
5 years ago
recipe-roller 850516a9b1 Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (e.g. depot_tools) into downstream projects
(e.g. tools/build).


More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.
recipe_engine:
  https://crrev.com/1f2a908debbd1f17a22d1a92f811871e348c7cd6 Update Tricium proto in recipes to contain showOnUnchangedLines field (ltina@google.com)


TBR=iannucci@chromium.org

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: I3186175e0ca62a86e65e1be4982f6a103d089e8a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1954204
Reviewed-by: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
5 years ago
Yiwei Zhang 9212599f6a [recipes] replace the variable ${platform} with resolved-platform in test output
The intention is to create parity with cipd module[1] in recipe engine so that
there will be less friction when downstream repo starts to consume cipd module in
recipe engine

[1]: https://chromium.googlesource.com/infra/luci/recipes-py/+/refs/heads/master/recipe_modules/cipd/test_api.py#23

R=iannucci

Bug: 875523
Change-Id: I5f9100a81e7ca3c7300ab3b0ba198120d598ca48
Recipe-Nontrivial-Roll: build
Recipe-Nontrivial-Roll: infra
Recipe-Nontrivial-Roll: build_limited_scripts_slave
Recipe-Nontrivial-Roll: release_scripts
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1951224
Auto-Submit: Yiwei Zhang <yiwzhang@google.com>
Commit-Queue: Robbie Iannucci <iannucci@chromium.org>
Reviewed-by: Robbie Iannucci <iannucci@chromium.org>
5 years ago
Edward Lesmes cc11b065c5 Revert "[bot_update] Also bootstrap in the case that there are 0 pack files"
This reverts commit 32a801b5da.

Reason for revert:
It's causing depot tools presubmit to time out
(Also, introduces a Python 3 error for git_cache).

Original change's description:
> [bot_update] Also bootstrap in the case that there are 0 pack files
> 
> This can happen if the cache repo was init'd, but has no pack files;
> previously it would try to fetch from scratch.
> 
> R=​ehmaldonado@chromium.org, tandrii@chromium.org
> 
> No-Presubmit: true
> Change-Id: I97e863dd6c2ecfd00fdb4238dda48e0d3929c4f2
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1941337
> Commit-Queue: Robbie Iannucci <iannucci@chromium.org>
> Reviewed-by: Andrii Shyshkalov <tandrii@google.com>

TBR=iannucci@chromium.org,tandrii@google.com,ehmaldonado@chromium.org

Change-Id: I93366bcc6ff1df579a67d51c2cda812c84a06215
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1951985
Reviewed-by: Edward Lesmes <ehmaldonado@chromium.org>
Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
5 years ago
Robert Iannucci 32a801b5da [bot_update] Also bootstrap in the case that there are 0 pack files
This can happen if the cache repo was init'd, but has no pack files;
previously it would try to fetch from scratch.

R=ehmaldonado@chromium.org, tandrii@chromium.org

No-Presubmit: true
Change-Id: I97e863dd6c2ecfd00fdb4238dda48e0d3929c4f2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1941337
Commit-Queue: Robbie Iannucci <iannucci@chromium.org>
Reviewed-by: Andrii Shyshkalov <tandrii@google.com>
5 years ago
danakj a0b8c5dcf1 Don't fetch tags in presubmit
The presubmit step does not require tags so avoid them, as fetching
tags implicitly adds a lot of time to the fetch step for repos like
chromium with many many tags.

R=iannucci@chromium.org

Recipe-Nontrivial-Roll: build
Bug: 1019824
Change-Id: I741970b8c61bd88bafde6ef30b733e9bfc2c0a34
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1951510
Reviewed-by: Robbie Iannucci <iannucci@chromium.org>
Commit-Queue: danakj <danakj@chromium.org>
5 years ago
Kevin Marshall 0e60ecd30e [git-cl] Add graceful error handling to "git cl archive".
Adds error handling logic for pre-existing tags (which can occur
if "archive" is CTRL-C aborted midway through) and for undeletable
branches (which can happen if they are currently checked out in a
working dir).

Change-Id: I27b6da9f5860c307f49cbeabb1b0ccf9cfb28eb6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1930023
Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
Reviewed-by: Edward Lesmes <ehmaldonado@chromium.org>
Auto-Submit: Kevin Marshall <kmarshall@chromium.org>
5 years ago
Edward Lemur 9777ab3619 depot_tools: Add tests for detect_host_arch.
Change-Id: Ife5826fc824f1304bc1a8ae09c0a659583f0ffb1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1949408
Auto-Submit: Edward Lesmes <ehmaldonado@chromium.org>
Reviewed-by: Anthony Polito <apolito@google.com>
Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
5 years ago
Vadim Shtayura 981da03f24 [lucicfg] Update from v1.11.6 to v1.11.12.
Notable changes:
  * New API for luci.notifier(...).
  * proto.to_wirepb/proto.from_wirepb.
  * Improvements to `semantic-diff` subcommand.

R=tandrii@chromium.org
BUG=1030067

Change-Id: Ia5a727d94c93d06d39216e588de76671e25fc60f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1949411
Reviewed-by: Andrii Shyshkalov <tandrii@google.com>
Commit-Queue: Vadim Shtayura <vadimsh@chromium.org>
5 years ago
Edward Lemur 434f1219fd gclient: Remove annotated_gclient.
Shouldn't be used anymore.

Change-Id: I4fc152e7425124d46aa3be12359ed7513f0d3892
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1949407
Reviewed-by: Robbie Iannucci <iannucci@chromium.org>
Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
5 years ago
Vadim Shtayura 240afdb1c4 [cipd] Update client 2.2.20 => 2.3.1.
Notable changes:
  * Support for -max-threads and CIPD_MAX_THREADS to unzip in parallel.
  * Bug fix for crbug.com/1029955.

R=tandrii@chromium.org

Change-Id: If309f6bbc6bab24d88be465fc7fe7ea7b9ee40b3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1949017
Reviewed-by: Andrii Shyshkalov <tandrii@google.com>
Commit-Queue: Vadim Shtayura <vadimsh@chromium.org>
5 years ago
Andrii Shyshkalov be3109961d Roll bb tool to @ b7405423
Old revision: 5231cedc

Change logs:
  infra/infra:
    5231cedc..b7405423
  luci-go
    69137c03..93937dc8

Bug: 1030156
Change-Id: Ic7cba00e6ed5355914c69bbd916f5623a3bac46b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1948585
Reviewed-by: Vadim Shtayura <vadimsh@chromium.org>
Commit-Queue: Andrii Shyshkalov <tandrii@google.com>
5 years ago
recipe-roller 6aa0bcb828 Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (e.g. depot_tools) into downstream projects
(e.g. tools/build).


More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.
recipe_engine:
  https://crrev.com/3f4fe7e32cfe34f02d0244ba6cb73cc5ba58c9be [resultdb] Add empty resultdb module (nodir@chromium.org)


TBR=iannucci@chromium.org

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: I3f5b4a9d791cca3b4eae23a4371c5a8d3012a13c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1947375
Reviewed-by: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
5 years ago
recipe-roller ba8d15b7d9 Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (e.g. depot_tools) into downstream projects
(e.g. tools/build).


More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.
recipe_engine:
  https://crrev.com/496f6008a295bf9cb8cb1eb6571a83c314ed7d28 [path] Run YAPF (joshuaseaton@google.com)


TBR=iannucci@chromium.org

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: I917533c505239715084e946a8ececf82d80f9923
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1947370
Reviewed-by: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
5 years ago
Edward Lemur 6d31ed5d63 cpplint: Fix Python 3 errors.
Bug: 1027160
Change-Id: I398d988ee896226f7fe1347a529cf5a17c944181
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1947171
Reviewed-by: Anthony Polito <apolito@google.com>
Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
5 years ago
Anthony Polito 02b5af3575 fix hashtags: double colons are not hashtags
Bug: 896110
Change-Id: Ibaf36df48d9ea25e8ee633ca505fa7f7c2063df4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1944639
Reviewed-by: Edward Lesmes <ehmaldonado@chromium.org>
Commit-Queue: Anthony Polito <apolito@google.com>
5 years ago
Brian Sheedy b4307d5c14 Switch yapfignore to fnmatch
Switches the yapfignore implementation in git_cl to use fnmatch instead
of glob. This ends up bringing the .yapfignore file parsing in line with
yapf's actual implementation, namely allowing uses such as '*pb2.py'
instead of having to list out each directory manually.

Bug: 1027953
Change-Id: Ibb1cb4252c546de6f1b1af720c4c29ffd0f7be0c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1938026
Commit-Queue: Brian Sheedy <bsheedy@chromium.org>
Reviewed-by: Edward Lesmes <ehmaldonado@chromium.org>
Reviewed-by: Quinten Yearsley <qyearsley@chromium.org>
5 years ago
Henrique Ferreiro 5ae4817ada Move .git_cl_description_backup to depot_tools dir
It was previously stored in each repository working dir, making it
neccessary to modify .gitignore files in many places. Save it in
depot_tools working directory, where there's already an entry in its
.gitignore file and no additional work is needed to hide this file.

Bug: None
Change-Id: I58102180e37358a206c8ecd1044aa772a684e066
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1944167
Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
Reviewed-by: Edward Lesmes <ehmaldonado@chromium.org>
5 years ago
Sylvain Defresne 53134e3187 Fix the --quiet flag of download_from_google_storage.py
Change download_from_google_storage.py to not write information
for successful actions when passed the --quiet flag.

Bug: none
Change-Id: I639df538935727150e540c72681fc1d4ccc88ec5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1944168
Auto-Submit: Sylvain Defresne <sdefresne@chromium.org>
Commit-Queue: Marc-Antoine Ruel <maruel@chromium.org>
Reviewed-by: Marc-Antoine Ruel <maruel@chromium.org>
5 years ago
Samuel Attard 7c62ed63ac properly detect msys_nt as windows in the ninja script
Some versions of bash for windows report their uname -s as "MSYS_NT-10.0-{VERSION}",
this updates the wrapper script to handle them.

Change-Id: I5916324fc93d86d71f97ae3ad8497a5bb11a350c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1941341
Auto-Submit: Samuel Attard <samuel.r.attard@gmail.com>
Reviewed-by: Nico Weber <thakis@chromium.org>
Commit-Queue: Nico Weber <thakis@chromium.org>
6 years ago
Henrique Ferreiro ff24962cac Save .git_cl_description_backup in the working dir
Avoid cluttering the home directory by saving the CL description in
the project's working directory.

Bug: None
Change-Id: I42c78d03cd239e7c0453867f21fe4be57086722e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1925627
Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
Reviewed-by: Edward Lesmes <ehmaldonado@chromium.org>
6 years ago
Andrii Shyshkalov 1bfe890bd8 bb: ask BB server to respond in JSONPB, which is much faster.
But still send requests in binary.
More info in https://crrev.com/c/1941150.

All changes:
  bdbeaf7..5231ced

R=smut

Bug: 1028915, 1028420, 1028915
Change-Id: I97deb81a53db3294cab797e7bb6c1dcf5712ff14
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1941042
Commit-Queue: Andrii Shyshkalov <tandrii@google.com>
Commit-Queue: smut <smut@google.com>
Auto-Submit: Andrii Shyshkalov <tandrii@google.com>
Reviewed-by: smut <smut@google.com>
6 years ago
Robert Iannucci f31cb801f2 [recipe_modules/osx_sdk] Better default XCode versions depending on host OS.
This uses the macOS<->XCode mapping from wikipedia to set the default XCode
version to the highest supported XCode version supported by the current
host OS.

R=justincohen@google.com, tandrii@chromium.org

Bug: 1026340
Recipe-Nontrivial-Roll: build
Recipe-Nontrivial-Roll: infra
Recipe-Nontrivial-Roll: build_limited_scripts_slave
Change-Id: I524d08f81a7778404c60a64b1100b4386a2ed79a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1938022
Reviewed-by: Andrii Shyshkalov <tandrii@google.com>
Commit-Queue: Robbie Iannucci <iannucci@chromium.org>
6 years ago
Andrii Shyshkalov 34267f83de Revert "Release new bb tool @ 1b9c7d3e8bacc3100d0f81c96825756e6f48a293."
This reverts commit b00449ac40.

Reason for revert: new version is buggy when serializing properties.

Original change's description:
> Release new bb tool @ 1b9c7d3e8bacc3100d0f81c96825756e6f48a293.
> 
> Git log bdbeaf7..1b9c7d3e8
> 
> R=​smut
> 
> Bug: 1028420
> Change-Id: Id1730f84b96a5ac9ecc62c2e04251b7a5ae238f9
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1938548
> Reviewed-by: smut <smut@google.com>
> Commit-Queue: smut <smut@google.com>
> Auto-Submit: Andrii Shyshkalov <tandrii@google.com>

TBR=smut@google.com,tandrii@google.com

Change-Id: I468dece3818a95a2f7313ef0dfbea8fc4d8f126b
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 1028420
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1938550
Reviewed-by: Andrii Shyshkalov <tandrii@google.com>
Commit-Queue: Andrii Shyshkalov <tandrii@google.com>
6 years ago
Andrii Shyshkalov b00449ac40 Release new bb tool @ 1b9c7d3e8bacc3100d0f81c96825756e6f48a293.
Git log bdbeaf7..1b9c7d3e8

R=smut

Bug: 1028420
Change-Id: Id1730f84b96a5ac9ecc62c2e04251b7a5ae238f9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1938548
Reviewed-by: smut <smut@google.com>
Commit-Queue: smut <smut@google.com>
Auto-Submit: Andrii Shyshkalov <tandrii@google.com>
6 years ago
recipe-roller 9a5941edd0 Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (e.g. depot_tools) into downstream projects
(e.g. tools/build).


More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.
recipe_engine:
  https://crrev.com/c48c77264fea1fbe3bdc8352451a91b3dd529c96 [platform] Add mac_release method. (iannucci@chromium.org)


TBR=iannucci@chromium.org

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: Ib78b2cc88349f9d3f18b25d08b2890ce2151388b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1938407
Reviewed-by: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
6 years ago
recipe-roller 341d41ba59 Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (e.g. depot_tools) into downstream projects
(e.g. tools/build).


More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.
recipe_engine:
  https://crrev.com/9aa46f0fd476ce9bba0380209e52ae48b88222a1 [resultdb] Add resultdb protos (nodir@chromium.org)


TBR=iannucci@chromium.org

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: Ib3274bfd43107f8e433ff79c5151d16e4701f56d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1938251
Reviewed-by: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
6 years ago
Edward Lemur 5e94b80c34 git-hyper-blame: Fix unicode handling.
git hyper_blame might use a subprocess' stdin for its stdout,
which is opened to accept byte input.
The text must be encoded before printing to stdout to avoid
unicode errors.

Bug: 1028709
Change-Id: If2a270a7f3f69a818d367616f6732245de364db9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1937500
Reviewed-by: Andy Perelson <ajp@chromium.org>
Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
6 years ago
recipe-roller 5604ce9f20 Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (e.g. depot_tools) into downstream projects
(e.g. tools/build).


More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.
recipe_engine:
  https://crrev.com/1b8cdb3fb0283ac8f93a7ca517b278b1ace51353 [recipe_modules/context] Simplify context implementation. (iannucci@chromium.org)


TBR=iannucci@chromium.org

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: Ie8113fe7be7be45ed5f572c426d209291006b68f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1937495
Reviewed-by: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
6 years ago
recipe-roller 74e43a9f7f Roll recipe dependencies (trivial).
This is an automated CL created by the recipe roller. This CL rolls recipe
changes from upstream projects (e.g. depot_tools) into downstream projects
(e.g. tools/build).


More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug.
recipe_engine:
  https://crrev.com/e3103d1197e1d8511966713535b19c72b7ec7bfb [recipe_modules/cipd] Add option to override CIPD cache. (iannucci@chromium.org)
  https://crrev.com/1ae0516e8e33e289a9b52280c500ffddb0542979 Update luci-go protos (nodir@chromium.org)


TBR=iannucci@chromium.org

Recipe-Tryjob-Bypass-Reason: Autoroller
Bugdroid-Send-Email: False
Change-Id: Iae21a62c7f434539538412b4e658dcfa4b9c7119
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1935159
Reviewed-by: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
6 years ago
Edward Lemur 83aafc979f depot_tools: Make gsutil compatible with python3.
Bug: 1026371
Change-Id: Iddef64ac2d3a9f97fdb0540a048dfb9dc5679b5c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1925407
Auto-Submit: Edward Lesmes <ehmaldonado@chromium.org>
Reviewed-by: Anthony Polito <apolito@google.com>
Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
6 years ago
Edward Lemur 5504dc6427 depot_tools: Add ehmaldonado@google.com to OWNERS.
Change-Id: Ib9c48e979b87aaddd39ace259b7ef1b9de567081
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1930055
Auto-Submit: Edward Lesmes <ehmaldonado@chromium.org>
Commit-Queue: Anthony Polito <apolito@google.com>
Reviewed-by: Anthony Polito <apolito@google.com>
6 years ago
Edward Lemur 9ea51a5b11 depot_tools: Run roll_dep tests on Python 3.
Bug: 1009816
Change-Id: I2fac9f03b6dd275563375d8ac4d1e71b5188e468
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1925325
Reviewed-by: Anthony Polito <apolito@google.com>
Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
6 years ago
Edward Lemur 0ab6a9f6e4 depot_tools: Use system's python for vpython.
Using bootstrapped vpython causes problems like [1] when used on
platforms it was not compiled for (e.g. Fedora).

[1] https://chromium-review.googlesource.com/c/infra/infra/+/1929031

Change-Id: I4e62cd1a4e13eee58143695f54ecf80d3473a862
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1930181
Reviewed-by: Anthony Polito <apolito@google.com>
Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
6 years ago
Vadim Bendebury 800129711d my_activity: allow to exclude some servers
Not all my_activity.py users have accounts on all servers the utility
queries. This results in access errors reported when the utility is
ran.

Also, many users never upload patches on some servers even though the
account is there, there is no point in querying those servers.

This patch allows to pass in a list of servers to exclude from the
list of queried servers.

BUG=none
TEST=invoked the utility as follows:

  $ my_activity.py --skip_servers \
    pdfium-review.googlesource.com,skia-review.googlesource.com

  observed that the 'ERROR:root:Access Errors:' messages are not
  generated any more.

Change-Id: I7d676e45ee99d883a153b58acb778a2e2d5ed74a
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1487342
Reviewed-by: Aaron Gable <agable@chromium.org>
6 years ago