Commit Graph

1572 Commits (518597c50c2f52d1f871046d7ce377b1f0dd4f38)
 

Author SHA1 Message Date
szager@google.com 518597c50c A git extension for running post-sync hooks.
TBR=cmp@chromium.org
Review URL: https://codereview.chromium.org/11362025

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@165295 0039d316-1c4b-4281-b951-d872f2087c98
13 years ago
szager@google.com c1200a8559 Keep the parallel execution pipes full as much as possible.
Rearrange some of the pipe redirections to avoid crashing on Windows.

TBR=cmp@chromium.org
Review URL: https://codereview.chromium.org/11260036

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@164140 0039d316-1c4b-4281-b951-d872f2087c98
13 years ago
ukai@chromium.org 259e46891c git-cl: show dirty files if any
R=chase@chromium.org,szager@chromium.org,maruel@chromium.org
BUG=157398
Review URL: https://codereview.chromium.org/11262004

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@164026 0039d316-1c4b-4281-b951-d872f2087c98
13 years ago
sivachandra@chromium.org 91668b7007 Improve the test.
BUG=155792


Review URL: https://chromiumcodereview.appspot.com/11274037

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@163975 0039d316-1c4b-4281-b951-d872f2087c98
13 years ago
sivachandra@chromium.org d45e73e88b Allow DEPS file to specify 'target_os'.
BUG=155792


Review URL: https://chromiumcodereview.appspot.com/11246004

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@163955 0039d316-1c4b-4281-b951-d872f2087c98
13 years ago
maruel@chromium.org cb5667aaa2 patch can be None in the exception, causing a secondary exception.
R=csharp@chromium.org
BUG=


Review URL: https://chromiumcodereview.appspot.com/11232069

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@163646 0039d316-1c4b-4281-b951-d872f2087c98
13 years ago
maruel@chromium.org bff3fc2946 Add yaml to git-gs.
These are used for Google AppEngine configuration files.

TBR=csharp@chromium.org
BUG=


Review URL: https://chromiumcodereview.appspot.com/11239003

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@163582 0039d316-1c4b-4281-b951-d872f2087c98
13 years ago
sivachandra@chromium.org aebe87f424 Add gerrit Change-Id to commit messages if they do not have one.
BUG=156729


Review URL: https://chromiumcodereview.appspot.com/11236013

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@163366 0039d316-1c4b-4281-b951-d872f2087c98
13 years ago
cjhopman@chromium.org 426557ad35 Fix week_of, quarter_of, year_of calculation
These calculations were not dropping the time from the provided date.
And so a week would be Monday 11AM to Monday 11AM when run at 11AM.

BUG=


Review URL: https://chromiumcodereview.appspot.com/11233041

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@163360 0039d316-1c4b-4281-b951-d872f2087c98
13 years ago
maruel@chromium.org 370a623c70 Add a print to figure out where the hang occurs.
TBR=rogerta@chromium.org
BUG=


Review URL: https://chromiumcodereview.appspot.com/11235034

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@163342 0039d316-1c4b-4281-b951-d872f2087c98
13 years ago
dpranke@chromium.org 9e227d5bd5 use "/" instead of path.sep in owners glob check
R=maruel@chromium.org
BUG=157022


Review URL: https://chromiumcodereview.appspot.com/11236018

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@163198 0039d316-1c4b-4281-b951-d872f2087c98
13 years ago
dpranke@chromium.org e3b1c3d1e3 Fix swapping of args in call to relpath() that was causing
OWNERS checks on DEPS to fail.

TBR=maruel@chromium.org
BUG=157022



git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@163192 0039d316-1c4b-4281-b951-d872f2087c98
13 years ago
iannucci@chromium.org 7954005862 Allow users of git cl to disable git copy detection entirely.
Depends on rietveld cl: https://codereview.appspot.com/6726050/
BUG=155511

Review URL: https://chromiumcodereview.appspot.com/11195012

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@163092 0039d316-1c4b-4281-b951-d872f2087c98
13 years ago
scottmg@google.com 1a6ec7915b update windows ninja binary
Update to b022e789fd of github.com/martine/ninja:master.

Specifically, pulls in space-in-path dependency file fix here: 32f8ed1178

Bootstrapped from clean pull, ninja_test passes cleanly.

BUG=156789
TBR=maruel

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@163001 0039d316-1c4b-4281-b951-d872f2087c98
13 years ago
cmp@chromium.org 34e039a175 Revert "Fix a specific use case for the CQ."
This reverts commit r162769.

TBR=maruel@google.com
BUG=156778


Review URL: https://chromiumcodereview.appspot.com/11190067

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@162892 0039d316-1c4b-4281-b951-d872f2087c98
13 years ago
maruel@chromium.org 87dad41087 Fix a specific use case for the CQ.
Ensure the gcl change directory is created when gcl was never used by itself but
used through trychange.py

R=nsylvain@chromium.org
BUG=


Review URL: https://chromiumcodereview.appspot.com/11193040

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@162769 0039d316-1c4b-4281-b951-d872f2087c98
13 years ago
cjhopman@chromium.org 04d119d52d Add script to look up a user's activity
Found to be particularly helpful in writing snippets.

This tool looks up all activity for a particular user across many
different services. It looks up changes and reviews across various
Rietveld and Gerrit instances and looks up issues in various google code
projects.

Running with no arguments will look up activity of $USER over the
current week (last week on Monday). I.e. the primary use case is for
looking up your activity for writing snippets.

BUG=


Review URL: https://chromiumcodereview.appspot.com/11140010

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@162561 0039d316-1c4b-4281-b951-d872f2087c98
13 years ago
dpranke@chromium.org 17cc244cdb implement per-file OWNERS support
R=maruel@chromium.org
BUG=119394


Review URL: https://chromiumcodereview.appspot.com/11114005

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@162529 0039d316-1c4b-4281-b951-d872f2087c98
13 years ago
ilevy@chromium.org 27ca3a99b4 Add recursion=n syntax to DEPS files.
This will let DEPS files specify a higher local bound for recursion.
Note there is an edge case where a dependency can be initially pulled
in with a lower recursion level and then gets ignored subsequently
when a lower level DEPS overrides it's inclusion level and then
includes the same dependency.  I do not solve this case, as
I am intending to use this syntax for top level deps files.

BUG=155780


Review URL: https://chromiumcodereview.appspot.com/11146032

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@162464 0039d316-1c4b-4281-b951-d872f2087c98
13 years ago
ilevy@chromium.org 1369150868 Make gclient sync use cpu count for default jobs
- On high core, fast machines, jobs=8 is does not offer good
  parallelization.  Switch to use number of local cpus.

R=maruel@chromium.org
BUG=


Review URL: https://chromiumcodereview.appspot.com/11140019

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@162072 0039d316-1c4b-4281-b951-d872f2087c98
13 years ago
srdjan@google.com b531354fef Fix Issue 154553: gcl upload from within drover throws error
Adjust timeouts in PrimeLint.

BUG=154553

Review URL: https://chromiumcodereview.appspot.com/11122005

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@161950 0039d316-1c4b-4281-b951-d872f2087c98
13 years ago
szager@chromium.org c51def3ff4 Restore previous behavior of GetSha1ForSvnRev, so unit tests pass.
Review URL: https://chromiumcodereview.appspot.com/11148019

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@161909 0039d316-1c4b-4281-b951-d872f2087c98
13 years ago
szager@google.com 312a6a4e7a Fix safesync_url handling for git.
Takes into account the new submodule-enabled repository layout.
Review URL: https://codereview.chromium.org/11098064

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@161403 0039d316-1c4b-4281-b951-d872f2087c98
13 years ago
szager@google.com 1d23a428cc Add option to synthesize a consistent lkgr commit by running deps2git.py
and deps2submodules.py.

Depends on https://codereview.chromium.org/11085027
Review URL: https://codereview.chromium.org/11090038

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@161305 0039d316-1c4b-4281-b951-d872f2087c98
13 years ago
maruel@chromium.org b848d5b703 Fix multi-solution use case with conflicting custom_deps overrides.
Let's say there's 2 solutions, solA and solB, both fetching the dependency depA
with different urls, solA has 'depA': 'http://foo/bar' and solB has 'depA':
From('depB', 'bar').

This case used to not work, because LateOverride() was not called in
verify_validity(), so it was not comparing the resolved urls but instead what is
textually specified in both DEPS files.

Also because LateOverride() was not called, verify_validity() was comparing the
original urls even if custom_deps is specified in the solution(s).

Finally, allow one to mismatch the other IFF one is None.

R=szager@chromium.org
BUG=


Review URL: https://chromiumcodereview.appspot.com/11088023

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@161228 0039d316-1c4b-4281-b951-d872f2087c98
13 years ago
mkwst@chromium.org d3734c9cad Adding *.pm and *.pl files to the list searched by 'git gs'.
BUG=155016

Review URL: https://chromiumcodereview.appspot.com/11028112

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@161109 0039d316-1c4b-4281-b951-d872f2087c98
13 years ago
cmp@chromium.org c22ea4bc1d Make repos without VIEW_VC also post Committed to the codereview.
R=maruel@chromium.org
BUG=153446


Review URL: https://chromiumcodereview.appspot.com/11094033

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@160960 0039d316-1c4b-4281-b951-d872f2087c98
13 years ago
sivachandra@chromium.org 270db5c246 Allow special java statements (for example imports) to be as long as neccessary.
BUG=152209


Review URL: https://chromiumcodereview.appspot.com/11043031

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@160956 0039d316-1c4b-4281-b951-d872f2087c98
13 years ago
maruel@chromium.org e6b162cf32 Add .isolate to git-gs.
TBR=csharp@chromium.org
BUG=


Review URL: https://chromiumcodereview.appspot.com/11065002

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@160027 0039d316-1c4b-4281-b951-d872f2087c98
13 years ago
maruel@chromium.org de85d9c794 Add protected against empty binary file and disable all binary file support.
If a file is empty, it's not a binary file in the first place. This is to
protect against improper uploads.
From light testing, it seems binary file support is totally broken. This needs to be verified throughout before being enabled back.

TBR=rogerta@chromium.org
BUG=23608


Review URL: https://chromiumcodereview.appspot.com/11016032

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@159941 0039d316-1c4b-4281-b951-d872f2087c98
13 years ago
maruel@chromium.org cd8d8e1702 Correct invalid use of 'is' when '==' should have been used.
R=nsylvain@chromium.org
BUG=


Review URL: https://chromiumcodereview.appspot.com/11046016

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@159909 0039d316-1c4b-4281-b951-d872f2087c98
13 years ago
hinoka@chromium.org 791be0bc65 Added extra error message to trychange for empty diffs
BUG=


Review URL: https://chromiumcodereview.appspot.com/11046004

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@159765 0039d316-1c4b-4281-b951-d872f2087c98
13 years ago
iannucci@chromium.org 53937ba767 Add option to specify similarity level for git diff operations on commandline
BUG=125983

Review URL: https://chromiumcodereview.appspot.com/10945002

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@159732 0039d316-1c4b-4281-b951-d872f2087c98
13 years ago
maruel@chromium.org 3836bb2c3f Update upload.py at 6edc5bf0ceb2.
TBR=iannucci@chromium.org
BUG=


Review URL: https://chromiumcodereview.appspot.com/11032023

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@159715 0039d316-1c4b-4281-b951-d872f2087c98
13 years ago
maruel@chromium.org a73435aa98 Fix private issues, take two.
The object creation order was wrong

TBR=rogerta@chromium.org
BUG=149941


Review URL: https://chromiumcodereview.appspot.com/11024009

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@159524 0039d316-1c4b-4281-b951-d872f2087c98
13 years ago
maruel@chromium.org 0aca0f9684 Enforce the checkout object to use an absolute path.
Stop using stderr so the output is more readable on buildbot.
Otherwise stderr arrives before stdout in apply_issue step.

TBR=rogerta@chromium.org
BUG=153284


Review URL: https://chromiumcodereview.appspot.com/11038002

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@159508 0039d316-1c4b-4281-b951-d872f2087c98
13 years ago
maruel@chromium.org 4dd9f7205a Make apply_issue.py much more verbose about what it's doing.
It's to help users figuring out what is happening.

TBR=rogerta@chromium.org
BUG=153284


Review URL: https://chromiumcodereview.appspot.com/11028002

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@159504 0039d316-1c4b-4281-b951-d872f2087c98
13 years ago
maruel@chromium.org 9d5f4ad1b9 Works around rate limiting by trying to apply CL unauthenticated first.
TBR=rogerta@chromium.org
BUG=153284


Review URL: https://chromiumcodereview.appspot.com/11019015

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@159488 0039d316-1c4b-4281-b951-d872f2087c98
13 years ago
maruel@chromium.org ec4a918139 Add --no-backup-if-mismatch so no .orig file is created when fuzzing occurs.
Nobody cares about those .orig files and they get in the way on the try server
for some specific license check.

R=cmp@chromium.org
BUG=152507


Review URL: https://chromiumcodereview.appspot.com/10983092

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@159329 0039d316-1c4b-4281-b951-d872f2087c98
13 years ago
lliabraa@chromium.org ade83db154 Add 'git clean -f -d' to 'gclient revert' when in a git repo.
The try slaves run 'git revert' to clean up from the previous run. This only runs 'git reset --hard', which does not remove any untracked files, so if a CL adds a new file it will still be present after 'gclient revert'. Adding git clean -f -d removes untracked files (-f) and directories (-d).

Review URL: https://chromiumcodereview.appspot.com/10986032

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@159020 0039d316-1c4b-4281-b951-d872f2087c98
13 years ago
szager@chromium.org 5a30792458 git command to find a git revision corresponding to lkgr.
Review URL: https://chromiumcodereview.appspot.com/10958056

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@158892 0039d316-1c4b-4281-b951-d872f2087c98
13 years ago
ilevy@chromium.org f3b2123a71 Disable jobs sent directly to triggered bots
- and display a warning message

BUG=146713


Review URL: https://chromiumcodereview.appspot.com/10956062

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@158377 0039d316-1c4b-4281-b951-d872f2087c98
13 years ago
maruel@chromium.org e1a0376aa1 Fix applying svn:executable on Windows.
For an unknown reason, 'svn propset svn:executable * foo.sh' doesn't work on
Windows. It is even more awkward that 'svn propset svn:executable . foo.sh'
works just fine, in particular, subversion replaces the value, as long as it's
not an empty string, back to '*'.

R=petermayo@chromium.org
BUG=


Review URL: https://chromiumcodereview.appspot.com/10967071

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@158281 0039d316-1c4b-4281-b951-d872f2087c98
13 years ago
rogerta@chromium.org 9824629157 Allow the password to be specified through stdin.
BUG=149941

Review URL: https://chromiumcodereview.appspot.com/10958049

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@158068 0039d316-1c4b-4281-b951-d872f2087c98
13 years ago
sbc@chromium.org 7fc75cac2f make pylint behave the same with or without -v
BUG=http://code.google.com/p/chromium/issues/detail?id=151110


Review URL: https://chromiumcodereview.appspot.com/10956047

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@158064 0039d316-1c4b-4281-b951-d872f2087c98
13 years ago
rogerta@chromium.org 3e38ff492d Mark the apply_issue and apply_issue.bat files as executable. BUG=149941
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@158049 0039d316-1c4b-4281-b951-d872f2087c98
13 years ago
rogerta@chromium.org 11ac30f979 Add wrapper scripts around apply_issue.py so that it can be called directly
if depot tools is in the path.

BUG=149941

Review URL: https://chromiumcodereview.appspot.com/10966042

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@158039 0039d316-1c4b-4281-b951-d872f2087c98
13 years ago
maruel@chromium.org dffc73cb44 Fix applying git diff with new file mode 644 on a svn checkout.
svn propdel svn:executable shouldn't be called on it.

R=petermayo@chromium.org
BUG=150960


Review URL: https://chromiumcodereview.appspot.com/10962038

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@158038 0039d316-1c4b-4281-b951-d872f2087c98
13 years ago
maruel@chromium.org 072d94b68f Do not enforce HEAD when a revision is not specified.
This brings back git cl try to try at LKGR instead of HEAD, which is coherent
with git-try and gcl try.

R=rogerta@chromium.org
BUG=


Review URL: https://chromiumcodereview.appspot.com/10963013

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@157810 0039d316-1c4b-4281-b951-d872f2087c98
13 years ago
scottmg@google.com a5b79b6901 update windows ninja binaries to 75f1b00cc
Note that this unforks, windows ninja is now built from martine/ninja.

TBR=iannucci@chromium.org

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

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