Commit Graph

3375 Commits (9f343717f1f6d254b5b6992f2f82df28afc51033)
 

Author SHA1 Message Date
recipe-roller@chromium.org 4337184dcf 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).

Please review the expectation changes, and LGTM as normal. The recipe roller
will *NOT* CQ the change itself, so you must commit the change manually.

More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug
(or complain)

R=
BUG=
TBR=martiniss@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299445 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
recipe-roller@chromium.org c81a3d0811 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).

Please review the expectation changes, and LGTM as normal. The recipe roller
will *NOT* CQ the change itself, so you must commit the change manually.

More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug
(or complain)

R=
BUG=
TBR=martiniss@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299443 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
phajdan.jr@chromium.org 2ff301874b depot_tools: remove code for --trybot-json
It was added in https://codereview.chromium.org/112503005
for https://bugs.chromium.org/p/chromium/issues/detail?id=278558 ,
but we ended up implementing the functionality in different way.

BUG=583578

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299433 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
brucedawson@chromium.org ff3af2c1e5 Enable crash dump collection on builders
Toolchain crashes on build machines are an ongoing problem, particularly
with the VC++ 2015 migration. Setting this registry key tells Windows
Error Reporting to record minidumps (a few MB typically) to a local
directory, up to a maximum of ten. This should help with investigations.

This change also suppresses Windows Error Reporting dialogs with the
DontShowUI registry value, to avoid builder hangs on crashes.

See also crrev.com/1816333002

BUG=440500

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

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299417 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
tandrii@chromium.org 1d2ac68728 testing_support: fix Gerrit releases URL.
R=szager@chromium.org,sergiyb@chromium.org
BUG=579160

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299408 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
martiniss@chromium.org 375aa58877 Make the config -> pythonish conversion a gclient module function.
Also makes bot_update use this.

This allows for clank to manually set the gclient config.

BUG=590788

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299398 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
nodir@chromium.org 5b48e48c1a Set default --lock_timeout to 5m
gclient-sync + git-cache are racy because if two different DEPS files
dependent on the same repo URL, even if depsed to different checkout
dirs, they use same git cache dir. If both checkout dirs are synced at
the same time, one of them cannot acquire a lock.

This is a cheap solution to change --lock_timeout option default value
from 0 to 5m.

R=hinoka@chromium.org
BUG=593468

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299386 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
tandrii@chromium.org b12008466d add AppEngine files downloaded for running tests to gitignore.
R=andybons@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299383 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
tandrii@chromium.org 139595ec3e Gerrit git cl: temporarily disable gerritissue setting.
Reason: it breaks re-upload.

R=andybons@chromium.org,machenbach@chromiu.org,mmentovai@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299354 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
tandrii@chromium.org 9fc50db2cc Gerrit git cl: fix change-id appending.
Special case when the change description has no footers, but looks
like a footer.

R=machenbach@chromium.org,andybons@chromium.org
BUG=579176

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299343 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
martiniss@chromium.org 29c3b34610 bot_update: Rewrite to use properties, and add override options for patches.
Depends on https://codereview.chromium.org/1755593003

BUG=591172

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299332 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
martiniss@chromium.org 21217f42df Convert the bot_update module to use properties
R=iannucci@chromium.org
BUG=591172

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299329 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
tandrii@chromium.org a342c92be8 Gerrit git cl upload: record issue id for a branch.
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299312 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
tandrii@chromium.org 5e8bb9a26b Remove legacy DownloadHooks as no longer used.
R=andybons@chromium.org,jbudorick@chromium.org
BUG=579176

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299295 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
tandrii@chromium.org e7d3d1652c Stop installing Gerrit commit-msg hooks in git cl config.
R=bauerb@chromium.org,ukai@chromium.org,andybons@chromium.org
BUG=579176,579160

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299293 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
tandrii@chromium.org 6cf98c8bd5 git cl try-results: make color force-able.
Inspiration:
  $ watch -n 10 "git cl try-results"
  $ watch --color "ls -al --color"

R=nodir@chromium.org,sergiyb@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299291 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
tandrii@chromium.org 5e2a68736a Delete super old and unused git-cl-upload-hook.
Follow up on https://codereview.chromium.org/6758001

R=maruel@chromium.org
BUG=

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

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299278 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
phajdan.jr@chromium.org dabddd8a68 depot_tools: use ninja.exe instead of just ninja on Windows
BUG=437264

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299267 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
phajdan.jr@chromium.org f3874aff0d depot_tools: expose location of ninja
BUG=437264

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299263 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
sergiyb@chromium.org fa2707ee95 Log the location where we start to search .gclient for
R=phajdan.jr@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299261 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
martiniss@chromium.org 5fc657ba8a Reland of Use gclient's git_cache setting in bot_update/api.py
https://codereview.chromium.org/1762513002/

Use gclient's git_cache setting in bot_update/api.py

BUG=589140
R=szager@chromium.org,iannucci@chromium.org

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

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

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

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

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

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299202 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
phajdan.jr@chromium.org 88e173be1a depot_tools: adjust for resource API changes in recipe engine
This is rolling in https://codereview.chromium.org/1777003003

BUG=593420

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299187 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
szager@chromium.org 8159374e44 Don't use 'git remote get-url', which is a new-ish feature.
Apparently most Mac's have git 2.6.2, which doesn't have this
feature.

This only affects end developers, so there's no urgency to push
this out to the bots.

TBR=agable@chromium.org,wkorman@chromium.org
BUG=
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299185 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
thakis@chromium.org d12b7210a7 Let package_from_installed actually package the json files it now writes.
I failed to do this in https://codereview.chromium.org/1706423002

BUG=495204

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299179 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
tandrii@chromium.org f04a6e6c14 git cl upload: print patchset when uploading to Rietvled.
R=andybons@chromium.org,phajdan@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299174 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
szager@chromium.org 151ebcff42 Enable git-cl-land for git-cache checkouts.
The key piece here is that when running 'git cl land' from a cache checkout, refs/pending/* must be fetched from / pushed to the cache mirror's remote.

BUG=589140
R=wkorman,agable,iannucci,martiniss

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299166 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
martiniss@chromium.org 907a1e7c8e Revert of Use gclient's git_cache setting in bot_update/api.py (patchset #6 id:100001 of https://codereview.chromium.org/1762513002/ )
Reason for revert:
Roll into build breaks infra crons.

Original issue's description:
> Use gclient's git_cache setting in bot_update/api.py
>
> BUG=589140
> R=agable@chromium.org
>
> Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=299120

TBR=agable@chromium.org,hinoka@chromium.org,hinoka@google.com,iannucci@chromium.org,wkorman@chromium.org,szager@chromium.org
BUG=589140

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

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299159 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
phajdan.jr@chromium.org 6196039380 depot_tools: expose path to download_from_google_storage
BUG=585401

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299158 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
martiniss@chromium.org 3ce9b4446d Make CACHE_DIR set by default in most gclient configs.
This is needed because bot_update changed from getting the cache directory from
the global path module to the gclient config.

BUG=589140

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299143 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
nodir@chromium.org baff4e1c8c git-cl-try: print proper access denied error msg
git-cl-try does not properly print error message when the response
status code is 403, because response parsing is broken.
Fix response parsing.

R=sheyang@chromium.org, tandrii@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299137 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
szager@chromium.org 88be9a1c5a Use gclient's git_cache setting in bot_update/api.py
BUG=589140
R=agable@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299120 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
tandrii@chromium.org 1062500617 git cl: stop downloading Gerrit commit-hook with --squash mode.
BUG=579176

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299117 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
tandrii@chromium.org 675bec320d Update TODO for cleaning up DownloadGerritHooks.
TBR=phajdan.jr@chromium.org,andybons@chromium.org
BUG=579176

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299110 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
tandrii@chromium.org 57d8654568 git cl for Gerrit: make --squash generate Change-Id directly.
BUG=579183

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299107 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
tandrii@chromium.org c55295c327 temporary fix for repos that directly used DownloadHooks from git_cl.py.
TBR=phajdan.jr@chromium.org,andybons@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299106 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
tandrii@chromium.org 09d7a6a817 git cl upload for Gerit no-squash: correct detect missing Change-Id.
BUG=579183

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299105 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
tandrii@chromium.org b371370eb9 cq.cfg: use presubmit builder to tryserver.infra.
Corresponding build CL: https://codereview.chromium.org/1759553007,
land OR revert both Cls in tandem.

TBR=phajdan.jr@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299098 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
tandrii@chromium.org 18630d61d2 Gerrit: announce deprecation of auto-download of commit-msg hook.
BUG=579176

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299095 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
tandrii@chromium.org 65874e1466 git cl: add python implementation of Change-Id generation.
This allows to generate new IDs on the fly without installing
commit-msg hook and works just fine on Windows.

BUG=579183

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299094 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
tandrii@chromium.org 3c3c034d82 Add Gerrit's Change-Id handling to git_footers.
This should insert the message according to Gerrit's own commit-msg
hook implementation.

BUG=579183

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299093 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
ppi@chromium.org 6593d9331d Fix `git cl format` for dart code.
The part that runs dartfmt was relying on the part that runs (or not)
Clang to set the |env| local variable, which no longer happens after
https://codereview.chromium.org/1734863002, making `git cl format` fail
with:

Traceback (most recent call last):
  File "/usr/local/google/home/ppi/projects/depot_tools/git_cl.py", line 3957, in <module>
    sys.exit(main(sys.argv[1:]))
  File "/usr/local/google/home/ppi/projects/depot_tools/git_cl.py", line 3939, in main
    return dispatcher.execute(OptionParser(), argv)
  File "/usr/local/work/depot_tools/subcommand.py", line 252, in execute
    return command(parser, args[1:])
  File "/usr/local/google/home/ppi/projects/depot_tools/git_cl.py", line 3837, in CMDformat
    stdout = RunCommand(command, cwd=top_dir, env=env)
UnboundLocalError: local variable 'env' referenced before assignment

It seems that we don't need to override env for dartfm anyway - the
clang part is doing this to put clang_format_tool in PATH.

This patch just drops env= from RunCommand for dartfmt.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299072 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
tandrii@chromium.org b4f6a22935 git cl status: do not show CQ Dry run as 'commit'.
R=jsbell@chromium.org,phajdan.jr@chromium.org
BUG=

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

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299063 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
sebmarchand@chromium.org 15cdcfe30e Add a Syzygy fetch config.
Review URL: https://codereview.chromium.org/1749213002

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