Commit Graph

3100 Commits (29291966a3ed413e88627a05073bfed0cd11a8fc)
 

Author SHA1 Message Date
recipe-roller@chromium.org a18cfe6573 Roll recipe dependencies (trivial).
R=
BUG=
TBR=martiniss@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298787 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
recipe-roller@chromium.org 63b22c1880 Roll recipe dependencies (trivial).
R=
BUG=
TBR=martiniss@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298781 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
iannucci@chromium.org 846218da18 Make git.checkout return the commit hash.
R=dnj@chromium.org, hinoka@chromium.org, luqui@chromium.org, martiniss@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298774 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
recipe-roller@chromium.org 85ef669c11 Roll recipe dependencies (trivial).
R=
BUG=
TBR=martiniss@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298750 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
tandrii@chromium.org 1e67bb7be9 Gerrit git cl: run same post-upload hooks.
R=rmistry@chromium.org,andybons@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298733 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
tandrii@chromium.org dc58a97f02 Finally get rid of depot_tools' breakpad.
Reland of http://crrev.com/1689633002#ps20001 without breaking other
repos by means of keeping breakpad.py importable, but otherwise a no-op.

R=maruel@chromium.org
BUG=585837

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298731 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
dsansome@chromium.org 1dda36db84 Raise exceptions properly on HTTP errors from OAuthRpcServer (which is only used on bots)
This will hopefully make Rietveld._send retry 500s like it promises to

BUG=585632

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298726 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
scottmg@chromium.org 0471355374 Make get_toolchain_if_necessary.py work on Mac again
R=thakis@chromium.org, sebmarchand@chromium.org
BUG=495204,585829

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298720 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
thakis@chromium.org 5fea38772f Revert of Finally get rid of depot_tools' breakpad. (patchset #2 id:20001 of https://codereview.chromium.org/1689633002/ )
Reason for revert:
All chromium bots depend on this: 

________ running '/usr/bin/python src/build/android/play_services/update.py download' in '/b/build/slave/linux/build'
Traceback (most recent call last):
  File "src/build/android/play_services/update.py", line 29, in <module>
    import find_depot_tools  # pylint: disable=import-error,unused-import
  File "/b/build/slave/linux/build/src/build/find_depot_tools.py", line 49, in <module>
    import breakpad
ImportError: No module named breakpad

https://www.google.com/url?hl=en&q=http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/144739&source=gmail&ust=1455209366639000&usg=AFQjCNH42SEVcJg4J6dX0J9HF0Rcqv81eA

Original issue's description:
> Finally get rid of depot_tools' breakpad.
> 
> R=maruel@chromium.org
> BUG=
> 
> Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=298710

TBR=maruel@chromium.org,tandrii@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298712 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
tandrii@chromium.org a05c501e6c Finally get rid of depot_tools' breakpad.
R=maruel@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298710 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
dsansome@chromium.org c1eb692f03 Revert "Raise exceptions properly on HTTP errors from OAuthRpcServer (which is only used on bots)"
BUG=585632
TBR=agable

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298693 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
dsansome@chromium.org 6fa3c67f7e Raise exceptions properly on HTTP errors from OAuthRpcServer (which is only used on bots)
This will hopefully make Rietveld._send retry 500s like it promises to

BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298688 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
brucedawson@chromium.org 36d5598130 Remove rogerta@ as owner
rogerta@ has indicated that he should no longer be an owner of
depot_tools.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298683 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
brucedawson@chromium.org 61aad1fafe Ignore more files and directories
The vs_files directory is used for VS 2015 builds and needs to be in
.gitignore, along with vs2013_files.

The naming convention for timestamps is changed and .gitignore needs to
be updated for that.

Finally, the .pylint.d directory keeps being created and should be
ignored.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298682 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
martiniss@chromium.org 27e14242d2 Remove old recipe modules.
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298654 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
brucedawson@chromium.org c4eb24a907 Skip installation of UCRT
The UCRT is now optional and it failed to install on one builder.
Making optional to fix build break

If this doesn't fix the break on the waterfall then the switch
to VS 2015 will need to be reverted (crrev.com/1598493004).

TBR=scottmg@chromium.org
BUG=440500

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298634 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
recipe-roller@chromium.org df733c383f Roll recipe dependencies (trivial).
R=
BUG=
TBR=luqui@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298631 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
skym@chromium.org 3990c419a3 Moving swap IWYU from <algorithm> to <utility>.
In C++11 std::swap was moved from <algorithm> to <utility>. As such,
lint needed to be updated to look for/suggest <utility> when it finds
std::swap. The IWYU logic is a little bit different for <utility>
functions, including swap, because they do not typically include
template parameters, unlike most other std:: functions. Reworked the
existing algorithm pattern to be more generic and support multiple
differet headers. Did not rename/all caps _re_pattern_templates as it
is referenced/modified outside of cpplint.py.

BUG=584689

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298622 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
kylechar@chromium.org 8b61f11e22 Make "git cl format" format GN files.
Always formats full GN files that are modified since the format should
be canonical.

I tried to make it consistent in style with the existing formatters. I've
tested running it locally. For "git cl format" it formats GN files. For
"git cl format --diff" it outputs the full formatted files like clang but
doesn't modify. For "git cl format --dry-run" it doesn't modify or output.

TEST=Works running locally.
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298617 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
phajdan.jr@chromium.org edf62ce445 gclient: add depot_tools to PATH
BUG=437264

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298614 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
phajdan.jr@chromium.org 9e45c71356 depot_tools: use package_resource to locate gclient.py
BUG=437264

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298612 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
mgiuca@chromium.org 01d2cde990 git hyper-blame: Added approx. line number translation.
Previously, when a commit was skipped, it would be blamed on the line
number the line had *after* the skipped commit. This could mean a
totally unrelated commit gets blamed. Now, a heuristic analyses the diff
of the skipped commit to discover approximately what line number the
line had *before* the skipped commit, so it can hopefully be blamed on
the right commit.

BUG=574290

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298609 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
phajdan.jr@chromium.org 821e0a5db8 presubmit: add depot_tools to PATH
BUG=584197

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298599 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
recipe-roller@chromium.org a40e355ad2 Roll recipe dependencies (trivial).
R=
BUG=
TBR=luqui@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298598 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
scottmg@chromium.org 96ed03d55b Fix 'Calculating hash...' message
Right now I get

Calculating hash of toolchain in vs2013_files. Please wait...
Calculating hash of toolchain in vs2013_files. Please wait...
Calculating hash of toolchain in vs2013_files. Please wait...
Calculating hash of toolchain in vs2013_files. Please wait...
Calculating hash of toolchain in vs2013_files. Please wait...
Calculating hash of toolchain in vs2013_files. Please wait...

which isn't very informative (or at least a bit confusing as to why it's
doing the same thing 6 times).

R=brucedawson@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298593 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
phajdan.jr@chromium.org b182750ed9 depot_tools: add presubmit recipe module
BUG=584197

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298588 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
phajdan.jr@chromium.org 2f77e87ac8 depot_tools: add phajdan.jr to OWNERS
BUG=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298586 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
mtrofin@chromium.org 1d88dd3d3f Use current issue number for git cl patch
This change adds the option to use the current issue number, if any,
when doing a git cl patch. Instead of doing git cl issue (copy the
number) git cl patch <number>, one can simply do git cl patch -i

BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298582 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
brucedawson@chromium.org 3d3a2f6aa1 Add accidentally deleted 'if /x64' line back
BUG=440500

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298580 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
andybons@chromium.org 962f946973 Abort if a patch set title is provided for a Gerrit server
Gerrit doesn’t support patch titles.

BUG=579178

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298573 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
phajdan.jr@chromium.org 0097973a0e bot_update: add depot_tools to PATH so that e.g. apply_issue can be found (reland #1)
Original attempt: https://codereview.chromium.org/1660943002

Now adds depot_tools at the end of PATH to avoid issues with python
on Windows.

TBR=jochen

BUG=437264

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298562 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
kjellander@chromium.org fc064509b0 Revert of bot_update: add depot_tools to PATH so that e.g. apply_issue can be found (patchset #1 id:1 of https://codereview.chromium.org/1660943002/ )
Reason for revert:
I believe this breaks trybot patching on Windows. 

Example: https://build.chromium.org/p/tryserver.webrtc/builders/win_x64_gn_rel/builds/6811

Error: 
'E:\b\build\scripts\slave\.recipe_deps\depot_tools\python' is not recognized as an internal or external command,
operable program or batch file.

I'm speculatively reverting.

Original issue's description:
> bot_update: add depot_tools to PATH so that e.g. apply_issue can be found
> 
> BUG=437264
> 
> Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=298556

TBR=jochen@chromium.org,phajdan.jr@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=437264

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298561 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
sebmarchand@chromium.org a1798215d0 Add the possibility to keep several version of the VS toolchain.
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298557 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
phajdan.jr@chromium.org c8b8c31222 bot_update: add depot_tools to PATH so that e.g. apply_issue can be found
BUG=437264

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298556 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
recipe-roller@chromium.org 00f1409a81 Roll recipe dependencies (trivial).
R=
BUG=
TBR=luqui@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298554 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
phajdan.jr@chromium.org 735881c8df bot_update: make location of git cache configurable
Depends on https://codereview.chromium.org/1667713002

BUG=583626

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298552 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
phajdan.jr@chromium.org 2c460df082 depot_tools: add more hacks to properly find build_internal
I acknowledge this is really gross. This allows us to roll the changes into
build_limited in the short term.

Longer term, paths could be passed from outside.

BUG=582074

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298550 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
mgiuca@chromium.org 819375653b Added git hyper-blame, a tool that skips unwanted commits in git blame.
Currently, the script requires you to pass the unwanted commits on the
command line, but eventually, you could configure it with a file
(checked into the repo) that provides a fixed set of commits to always
skip (such as commits that do a huge amount of renaming and nothing
else).

BUG=574290

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298544 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
brucedawson@chromium.org b1f0581df4 Updates to package VS 2015 to not require UCRT
This change packages the api-ms-* DLLs and the VS 2015 CRT DLLs in all
of the VS package directories that we add to the path, so that they can
run without having the UCRT installed.

The Common7\IDE path was removed because it isn't actually packaged, in
VS 2013 or VS 2015, so adding it to the path is purely confusing.

In addition to changing the packaging script the installation script has
to change in order to continue if the UCRT cannot be installed. It
still makes sense to try to install it, and print a message saying where
the installer is, for the convenience of Google developers who may want
more flexibility in running VS 2015 binaries.

A 'calculating hash' message was added to make the mysterious hashing
hangs (which can be several minutes long) less mysterious.

BUG=440500

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298541 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
szager@chromium.org dbb6f8246b Allow blocking git-cache update with a timeout.
I guess I'm the only developer using git-cache, which is sad.
Hopefully these fixes will make it easier to adapt this to developer
usage some time in the FUTURE.

BUG=583420
TEST=Works for me
R=agable@chromium.org,tandrii@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298531 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
recipe-roller@chromium.org 8a602a63df Roll recipe dependencies (nontrivial).
recipe_engine -> 44b384f9b4f1085e9cfe43ea6308735a3af8d4e5: RELAND of Make the recipe engine allow modules named the same thing to co-exist.

R=martiniss@chromium.org,luqui@chromium.org
TBR=iannucci@chromium.org
BUG=582280

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298530 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
andybons@chromium.org 11f46eb416 Remove reference to unused GERRIT_PORT from git_cl_test.py
BUG=579160

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298525 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
phajdan.jr@chromium.org 4c3969479a depot_tools: import bot_update gclient git rietveld tryserver recipe modules (reland #1)
Previous attempt: https://codereview.chromium.org/1642023002

TBR=martiniss

BUG=582074

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298519 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
recipe-roller@chromium.org 0a9fe4770e Roll recipe dependencies (trivial).
R=
BUG=
TBR=luqui@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298516 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
luqui@chromium.org 87dc994ceb Revert of Adds bot_update to depot_tools. (patchset #8 id:140001 of https://codereview.chromium.org/1641363002/ )
Reason for revert:
Exposed recipe engine bug with ambiguous names, causing roller blockage.

Original issue's description:
> Adds bot_update to depot_tools.
> 
> This CL imports the bot_update script, along with the bot_update and gclient recipe modules from build. This should allow for recipes to run on swarming.
> 
> Also moves the recipe stuff into the infra folder.
> 
> bot_update has been modified. See full diff at https://paste.googleplex.com/4969207737352192
> 
> TBR=phajdan.jr@chromium.org
> 
> BUG=
> 
> Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=298490

TBR=iannucci@chromium.org,phajdan.jr@chromium.org,martiniss@chromium.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298505 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
martiniss@chromium.org 101657ebf4 Delete old recipe module files.
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298491 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
martiniss@chromium.org 816d1ec60f Adds bot_update to depot_tools.
This CL imports the bot_update script, along with the bot_update and gclient recipe modules from build. This should allow for recipes to run on swarming.

Also moves the recipe stuff into the infra folder.

bot_update has been modified. See full diff at https://paste.googleplex.com/4969207737352192

TBR=phajdan.jr@chromium.org

BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298490 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
recipe-roller@chromium.org 259b9f2305 Roll recipe dependencies (trivial).
R=
BUG=
TBR=luqui@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298489 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
recipe-roller@chromium.org 38fac06569 Roll recipe dependencies (trivial).
R=
BUG=
TBR=luqui@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298486 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
luqui@chromium.org caa2762f83 Deleted bot_update/resources/__init__.py which somehow didn't get deleted
BUG=582074,582229
TBR=phajdan.jr@chromium.org,maruel@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298459 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago