Commit Graph

2972 Commits (3d3a2f6aa198c1e627704ca240967dc4ea3db617)
 

Author SHA1 Message Date
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
iannucci@chromium.org f3e37a0fbb Add better error messages to git_reparent_branch.
R=dhsharp@chromium.org, vadimsh@chromium.org
BUG=538454

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@297848 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
luqui@chromium.org b371a1c852 Rename recipes/ to fetch_configs/
We are making depot_tools a proper (chromium) recipe package, which assumes
that recipes are located in recipes/.  So I need to move these other kinds of
recipes out of the way.

BUG=564920
R=dpranke@chromium.org, iannucci@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@297837 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
tandrii@chromium.org 29d5e56cd5 Rietveld: refactor and improve retries with UrlError exception.
BUG=564304
R=sergiyb@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@297830 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
tandrii@chromium.org 6e1e951984 Rietveld: do retries on timeouts in Mac.
BUG=564304
TBR=sergiyb@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@297793 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
sdefresne@chromium.org d421f6a477 Fix "git rebase-update" when multiple branch are stale.
Fix a bug that left branches tracking a dead branch if both their parent
and grand-parent were left with no changes after a "rebase-update" step.

Given the following initial state:
  $ git map-branches -v
  origin/master
    a
      b
        c *        [ ahead 1 ]

without this patch, a "git rebase-update" on this tree state would
leave the branch "c" as tracking a non-existing branch "a":

  $ git recursive-rebase
  a up-to-date
  b up-to-date
  c up-to-date
  Reparented c to track a (was tracking b)
  Deleted branch b (was 448d1da).
  Deleted branch a (was 448d1da).
  $ git map-branches -v
  {a:GONE}
    c *

with the patch, we record that the branch "c" is tracking must be
updated twice and we end up in a state were "c" is correctly tracking
"origin/master":

  $ git recursive-rebase
  a up-to-date
  b up-to-date
  c up-to-date
  Reparented c to track origin/master (was tracking b)
  Deleted branch b (was 448d1da).
  Deleted branch a (was 448d1da).
  $ git map-branches -v
  origin/master
    c *            [ ahead 1 ]

BUG=456806

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@297792 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
nednguyen@google.com 6df90f329b Allows python line with pylint: disable=line-too-long to have more than 120 chars.
BUG=564100

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@297765 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
machenbach@chromium.org c1bb56e730 Roll CQ client changes 7d916d5..f59ed9f
BUG=chromium:561530

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@297753 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
machenbach@chromium.org 206729c4e6 Add ability to retrieve cl commit bit on cmd line.
BUG=chromium:563434

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@297735 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
cbentzel@chromium.org 473527c7ea rietveld.py: Change three_state_keys to emit "True" or "False" query params rather than 1/2.
Manually generating param strings shows that the 1/2 values do not work.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@297732 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
tandrii@chromium.org ad6451a79e Roll CQ client changes f5de663..7d916d5
R=sergiyb@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@297729 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
sergiyb@chromium.org 6a43185c75 Updated cq_client
R=akuegel@chromium.org
BUG=562427

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@297726 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
sergiyb@chromium.org f56c93bd17 Retry more errors when talking to Rietveld
R=tandrii@chromium.org
BUG=560785

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@297701 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
mmoss@chromium.org c349971db4 Fix some path processing to work better on Windows.
R=hinoka@chromium.org
BUG=555036

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@297698 0039d316-1c4b-4281-b951-d872f2087c98
9 years ago
thestig@chromium.org 13ccc77201 Remove unused CheckSvnModifiedDirectories.
Review URL: https://codereview.chromium.org/1435333005

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