Commit Graph

2936 Commits (c0ff2f64e04fb11faf2ac05f1b69084c2d47d39a)
 

Author SHA1 Message Date
bcwhite@chromium.org c0ff2f64e0 Locate appropriate "winreg" module under both native Win32 and CygWin.
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298362 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
phajdan.jr@chromium.org ff68735d06 depot_tools/commit_queue: add command line flags for experimental and triggered builders
BUG=580556

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

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

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

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298343 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
brucedawson@chromium.org 0928fbaff8 Skip include\ucrt on VS 2013 packages
In change crrev.com/1504983002 the include\ucrt path from
the Windows 10 SDK was added to the include search path,
but this is not a legal thing to do on VS 2013. This change
makes the ucrt path VS 2015 specific.

Testing shows that this makes no difference to the VS 2015
package.

BUG=440500

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298330 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
thakis@chromium.org d23b1fd984 Set SetEnv.cmd set VSINSTALLDIR, VCINSTALLDIR
We use depot_tools's toolchain to build LLVM on the clang/win bots.
llvm-symbolizer relies on VSINSTALLDIR to be set to find the DIA SDK,
so set it.  While here, also set VCINSTALLDIR.

BUG=82385

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298326 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
jkarlin@chromium.org 6f7fa5e756 5X speed up of 'git cl format', which also speeds up 'git cl upload'
'git cl format' became very slow (7
seconds) after the Blink merge. 'git cl upload' is also slow when
the presubmit requires formatting checks.

This CL speeds up 'git cl format' by reducing the number of calls to
'git diff' and by removing the glob parameter. The glob
parameter adds a couple of seconds as it scans the entire
repository.

Before: 'git cl format' takes 7 seconds
After: 'git cl format' takes 1.25 seconds

BUG=577647

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

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

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

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298287 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
brucedawson@chromium.org 98202df75c Package/Install the Windows 10 Universal C Runtime for VS 2015
The VS 2015 tools require the Windows 10 Universal C Runtime, either
installed in C:\Windows or in every directory containing tools, or
dynamically linked executables created with VS 2015. Installing to
C:\Windows seems less error prone.

This is only applicable for Google developers and build machines that
don't have VS 2015 installed.

This updates the packaging script so that it packages the three
installers, and no longer packages the installed files (which vary
between operating systems anyway).

The installer is updated to check for the existence of one of the
Universal C Runtime files. If it isn't found then it detects the
version of Windows in order to select and run the correct installer.

I manually confirmed that, for instance, the installers for Windows 7
and Windows 2008 R2, were identical despite coming from different
download URLs.

If the installation fails because gclient runhooks is run non-elevated
then the developer will have to do a one-time manual install of the
update. A message will be printed indicating this.

BUG=440500

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298286 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
tandrii@chromium.org a83663a08c Fix git cl upload --squash (for Gerrit).
R=bauerb@chromium.org,andybons@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298270 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
machenbach@chromium.org 59994802e8 git cl try: omit triggered bots from cq.cfg default list
BUG=522909,565952

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298261 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
bauerb@chromium.org 54b400c89f Add a setting to squash Gerrit uploads by default, and a --no-squash command line option to override it.
BUG=nope

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

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298257 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
tandrii@chromium.org 71184c0099 git cl try: load trybot list from cq.cfg by default.
This allows "git cl try" to just work for projects without any PRESUBMIT
but with cq.cfg in default location (infra/config/cq.cfg). This also
ships all presubmit bots, since these usually fail LGTM checks anyway.

BUG=522909

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

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298205 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
danakj@chromium.org 0ae7122b91 Remove build/c++11 from the set of linter rules ever used.
The checks are not reliable for Rvalue references, and only are
allowing default/deleted constructors. They are based on the google3
internal rules which do not exactly match our own c++11 rules, and
may diverge more over time.

Email thread that led to this change here: https://groups.google.com/a/chromium.org/forum/#!topic/cxx/9TZvt8vyeEM

R=agable@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298202 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
danakj@chromium.org 1d01871c1e Remove readability/inheritance from the lint blacklist
Now that we're using real override/final and not also using
virtual on the same methods, this transitional blacklist
can go away.

R=agable, dcheng

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298201 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
iannucci@chromium.org 0d9e59c6ce Fix rebase-update on windows on git-svn repos.
Through a comedy of wrapper scripts, the ^ is being swallowed, which
causes the `git config` invocation to match all lines which HAVE
"remote" in them, instead of matching lines which BEGIN with remote.

R=maruel@chromium.org, pkasting@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298185 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
brucedawson@chromium.org 105c85dbca Fix raise to use Exception instead of raw strings
I coded these incorrectly in a previous change and hit them when
building a VS package.

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

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

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

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

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

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

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

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

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

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298113 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
bratell@opera.com c53b8cbf72 Remove unused print_output argument from upload.py
R=dpranke@chromium.org,tandrii@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298097 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
bratell@opera.com 3a1707d767 Fix git cl upload deadlock.
If the stderr buffer used in git diff became full
before stdout was completely consumed, git cl upload
would deadlock.

This also sets GIT_PAGER to be perfectly sure no pager
is triggered by the git commands run. I haven't
seen that as a problem but it's a reasonable (and
common) precaution.

BUG=558726

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

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

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

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

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

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298073 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
sergiyb@chromium.org 20b08f266b Update cq_client in depot_tools form CQ repo
R=tandrii@chromium.org
BUG=564557

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298053 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
akuegel@chromium.org da93188cef Remove akuegel@ from OWNERS.
BUG=
TBR=sergiyb@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298052 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
erikcorry@chromium.org 3e44502a9a Update dartfmt message to be less confusing
R=tandrii@chromium.org
BUG=

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@297972 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
brucedawson@chromium.org 2d18db8321 Updates to VS packaging script for VS 2015
This change updates the packaging script for VS 2015 Update 1. Changes
include:

- Filtering out Windows Performance Toolkit to save space
- Filtering out .msi files to save space
- Adding a 'dryrun' option to quickly print statistics
- Allowing specifying what OS sub-version is desired
- Filtering out unused versions from the include/lib/source directories
- Avoiding the double-include of the ucrt directory
- Adding ucrt directory to include and lib path
- Handling running from 64-bit or 32-bit python

R=scottmg@chromium.org
BUG=chromium:440500

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@297894 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
brucedawson@chromium.org 8a6495cb4f Clarify error messages in roll_dep.py
If you specify a directory incorrectly to roll_dep then it may not be
obvious why it cannot be found. For instance, "roll-dep tools\gyp" vs.
"roll-dep src\tools\gyp". This change prints the full directory.

This change also clarifies what is meant by a clean tree to make that
error message easier to understand.

R=maruel@chromium.org

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

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@297871 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
luqui@chromium.org 77323d17ce Manual roll of engine, removing coverage threshold!
BUG=
TBR=recipe-roller@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@297856 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
iannucci@chromium.org d2a3a8029e Add trivial git-bash so that it can always drop you into a bash term,
even on windows.

R=mattm@chromium.org, mmoss@chromium.org, vadimsh@chromium.org
BUG=345142

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@297854 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
luqui@chromium.org f7bb4cf047 Set up depot_tools as a recipe package, and add depot_tools recipe module.
This is a good prototypical example of how to do it :-).

TBR for OWNERS change for recipes.cfg.  

BUG=564920
R=iannucci@chromium.org,martiniss@chromium.org
TBR=phajdan.jr@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@297851 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
iannucci@chromium.org d9b318cff1 Add detection for locked git repos.
R=mithro@mithis.com, mmoss@chromium.org, vadimsh@chromium.org
BUG=405426

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@297850 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
iannucci@chromium.org aa1dfdab66 Fix multi-rename empty branch detection.
This changes the 'empty' branch detection to compare the commit trees instead
of the commit hashes. This avoids empty-branch detection when you have multiple
renames on the branch that end up canceling eachother out. Previously you'd
end up with the rename-commits, in order, in your rebased branch, even though
when you run `git upstream-diff` you get nothing.

R=agable@chromium.org, jochen@chromium.org, vadimsh@chromium.org
BUG=438208

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

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