Commit Graph

59 Commits (c137c1a5a6e3f0f23f2f7d71cc827c6930feb839)

Author SHA1 Message Date
iannucci@chromium.org 0c85206992 Roll windows git binary package up to v6 everywhere.
Thus solving the sh.exe problem once and for all...

R=hinoka@google.com, hinoka@chromium.org
BUG=383455, 241556, 389361, 380958

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@281844 0039d316-1c4b-4281-b951-d872f2087c98
11 years ago
iannucci@chromium.org 590f243b13 Bump git bleeding edge up to 6.
This includes the new (fast) custom sh.exe/bash.exe/msys-1.0.dll.

R=hinoka@google.com, hinoka@chromium.org
BUG=383455,241556,389361,380958

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@281645 0039d316-1c4b-4281-b951-d872f2087c98
11 years ago
iannucci@chromium.org d6c8be8e51 Bump version to 5 to clear out slow win7 git rollout.
The previous rollout pushed the xp version of chromium git v4 to windows7. This rollout pushes the correct windows 7 version.

R=mmoss@chromium.org, szager@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@274363 0039d316-1c4b-4281-b951-d872f2087c98
11 years ago
iannucci@chromium.org 3f802b8b1f Roll windows git to include htmlpathalt.
This will allow e.g. `git help rebase-update` to work.

R=agable@chromium.org
BUG=238428

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@267038 0039d316-1c4b-4281-b951-d872f2087c98
11 years ago
iannucci@chromium.org e722300a14 Add a bleeding-edge git version mode to depot_tools.
R=mmoss@google.com, mmoss@chromium.org
BUG=238428

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@263544 0039d316-1c4b-4281-b951-d872f2087c98
11 years ago
szager@chromium.org d9f405d4da Re-enable git-1.9.0
There is now a separate XP-compatible release which doesn't have
the performance fix for index-pack.

BUG=
NOTRY=true
R=mmoss@google.com

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@260010 0039d316-1c4b-4281-b951-d872f2087c98
11 years ago
szager@chromium.org b000c1cdb2 Revert git-1.9.0.
I've received a few reports of:

error: inflate: data stream error (incorrect header check)
fatal: serious inflate inconsistency
fatal: index-pack failed
error: Could not fetch origin

TBR=mmoss@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@258147 0039d316-1c4b-4281-b951-d872f2087c98
11 years ago
szager@chromium.org 83f4767a60 Update to git-1.9.0.
Also, allow multiple git installations to exist side-by-side.
This makes it easier to revert back to an old version quickly.

BUG=
R=maruel@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@258058 0039d316-1c4b-4281-b951-d872f2087c98
11 years ago
iannucci@chromium.org 1520d9086a Remove python.new.bat instead of pylint.new.bat
python.new.bat was inadvertantly removed when iannucci@ committed
c64d3765a0

This restores pylint.new.bat and removes python.new.bat

Original CL: https://chromiumcodereview.appspot.com/140183007/

BUG=328453
AUTHOR=techtonik@gmail.com
R=agable@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@257489 0039d316-1c4b-4281-b951-d872f2087c98
11 years ago
iannucci@chromium.org c64d3765a0 Windows: Bootstrap Python first and get rid of Python 2.6 legacy
If loaded first, Python can then be used to replace JS bootstrapping
logic if appropriate libs are already present in depot_tools.

BUG=328453
AUTHOR=techtonik@gmail.com
R=iannucci@chromium.org, maruel@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@257248 0039d316-1c4b-4281-b951-d872f2087c98
11 years ago
mmoss@chromium.org f41d791ae5 Make new Windows git the default again.
To force revert to the old git, and uninstall the new one, set:
DEPOT_TOOLS_GIT_1852=0

BUG=341967
R=maruel@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@250622 0039d316-1c4b-4281-b951-d872f2087c98
11 years ago
mmoss@chromium.org d9839e8e7a Better restriction to prevent Windows git install on XP or older.
This is in preparation for once again making 1.8.5.2 the default Windows git.

Also remove the CHROME_HEADLESS condition, which confuses bot setup because the
same bot will sometimes run without that set (e.g. at slave startup) and with
it set (e.g. during a build), leading to the wrong, or even no, git installed.

R=maruel@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@250486 0039d316-1c4b-4281-b951-d872f2087c98
11 years ago
mmoss@chromium.org 2504f2ed7c Revert default Windows git to the old version.
There are several bot failures, some understood, some not. This will revert
bots to the old git until all the failures can be investigated.

Users who want the new git can still install it with an explicit:
set DEPOT_TOOLS_GIT_1852=1

R=hinoka@google.com

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@250239 0039d316-1c4b-4281-b951-d872f2087c98
11 years ago
mmoss@chromium.org 91dadb3ff7 Don't install new Windows git on XP machines.
The new git broke then XP bots because it relies on WinAPIs that are newer than
XP.

R=szager@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@250211 0039d316-1c4b-4281-b951-d872f2087c98
11 years ago
mmoss@chromium.org 5021f93373 Make new Windows git the default.
This can be overridden, and the old git installed, with:

set DEPOT_TOOLS_GIT_1852=0
rd /s /q git-1.8.5.2.chromium.1_bin git-1.8.0_bin
gclient

R=maruel@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@250132 0039d316-1c4b-4281-b951-d872f2087c98
11 years ago
mmoss@chromium.org a638c2de6d Download git package via https.
R=cmp@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@249612 0039d316-1c4b-4281-b951-d872f2087c98
11 years ago
mmoss@chromium.org ea60d18f09 Add custom Windows git 1.8.5.2, disabled by default.
The new git will only be installed when DEPOT_TOOLS_GIT_1852=1, otherwise the
previous version will be installed.

BUG=322954
R=iannucci@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@249609 0039d316-1c4b-4281-b951-d872f2087c98
11 years ago
maruel@chromium.org 181ddcec35 Update the python auto-install on Windows to 2.7.6.
2.7.5 has bug http://bugs.python.org/issue17998 in re package that is affecting
the chromium team so it can't be used. The bug is fixed in 2.7.6.

This update still respects DEPOT_TOOLS_PYTHON_275=0. Since the name doesn't
represent what is being installed, it also respects
DEPOT_TOOLS_PYTHON_27=0.

R=iannucci@chromium.org
BUG=241769

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@235384 0039d316-1c4b-4281-b951-d872f2087c98
11 years ago
maruel@chromium.org aecf9d11b4 Change the windows bootstrap code to download zips in %TEMP%.
It may help when the directory is created at high integrity level.
This hypothesis is unconfirmed.

TBR=iannucci@chromium.org
BUG=241769,314257

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@235149 0039d316-1c4b-4281-b951-d872f2087c98
11 years ago
maruel@chromium.org 411b7b0dbe Print the exact path get_file.js is trying to write to when failing.
Clean up stray spaces.

TBR=iannucci@chromium.org
BUG=241769

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@235145 0039d316-1c4b-4281-b951-d872f2087c98
11 years ago
maruel@chromium.org 741cf9bb60 Enable implicit auto-upgrade to python 2.7.5.
This will automatically upgrade python to 2.7.5 unless
set DEPOT_TOOLS_PYTHON_275=0
is used.

R=iannucci@chromium.org
BUG=241769

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@235140 0039d316-1c4b-4281-b951-d872f2087c98
11 years ago
maruel@chromium.org 4d3ed59ab7 Redo the python check to look for the directories too.
This way, DEPOT_TOOLS_PYTHON_275=1 will properly upgrade an installation
still running 2.6. Otherwise the user had to "del python.bat" to force
the upgrade.

Stop calling python to verify it works, this is slow.

Upgrade url to https.

R=iannucci@chromium.org
BUG=241769

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@228179 0039d316-1c4b-4281-b951-d872f2087c98
12 years ago
maruel@chromium.org ca4fdfd874 Add python 2.7.5 support on Windows. Not enabled by default.
- Python2.7.5 will be installed only if DEPOT_TOOLS_PYTHON_275=1,
  otherwise 2.6 is installed.
- Eventually the default will be changed to install python 2.7.5
  for new users.
- Afterward, python 2.7.5 will be always installed when not detected
  and 2.6 will be ignored.

README.chromium contains the exact instructions how to recreate
python275_bin.zip that was committed independently.

I tested it on a vanilla Windows XP image and documented how to
install the VC90 CRT redistributable in that specific case in
README.chromium.

R=iannucci@chromium.org
BUG=241769,257696

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@227961 0039d316-1c4b-4281-b951-d872f2087c98
12 years ago
maruel@chromium.org 1561be960e Revert partially r200799, it would break the official builders.
Until r200514 is merged into every active branches on Windows, python can't be
upgraded to 2.7.x.

TBR=iannucci@chromium.org,joi@chromium.org
BUG=241769

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@200800 0039d316-1c4b-4281-b951-d872f2087c98
12 years ago
maruel@chromium.org 9e6dd687c9 Switch depot_tools python to 2.7.4.
TBR=joi@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@200799 0039d316-1c4b-4281-b951-d872f2087c98
12 years ago
szager@google.com e700bcb096 Force a new download/install of git-1.8.0 to pick up:
https://codereview.chromium.org/11312153/
Review URL: https://codereview.chromium.org/11275218

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@166804 0039d316-1c4b-4281-b951-d872f2087c98
12 years ago
szager@google.com 32fbac6b1f git-1.8.0 requires TERM to be set appropriately for commands that
page output.  Rather than recreate the entire msysgit zip file and
for everyone to download it again, just modify git.bat in place.

TBR=maruel@chromium.org,cmp@chromium.org
Review URL: https://codereview.chromium.org/11358128

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@166295 0039d316-1c4b-4281-b951-d872f2087c98
12 years ago
szager@google.com 6a12660bc6 Fix logic for checking whether git is installed.
TBR=maruel@chromium.org
Review URL: https://codereview.chromium.org/11377002

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@166259 0039d316-1c4b-4281-b951-d872f2087c98
12 years ago
szager@google.com c37b2817b0 Force win clients to update to git-1.8.0.
Depends on https://codereview.chromium.org/11365070
Review URL: https://codereview.chromium.org/11364056

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@166237 0039d316-1c4b-4281-b951-d872f2087c98
12 years ago
chrisha@google.com 267d659c93 Add pylint to depot_tools.
This CL adds pylint (and its dependencies) to third_party. It plumbs them into presubmit_canned_checks, and exposes a command-line tool to access pylint.

BUG=
TEST=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@143016 0039d316-1c4b-4281-b951-d872f2087c98
13 years ago
maruel@chromium.org e6c00f3f6f Fix git depot_tools update flow.
In Windows (already worked correctly in posix): gclient wouldn't correctly update depot_tools when called.

Refactored away the bootstrap depot_tools update flow which only still existed in Windows.

Patch contributed by gab@chromium.org

R=maruel@chromium.org
BUG=
TEST=Running `gclient sync` from src/ and see depot_tools being correctly updated under a git depot_tools checkout.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@132191 0039d316-1c4b-4281-b951-d872f2087c98
13 years ago
cmp@chromium.org b3528b0a45 Don't auto-install on bots for now.
BUG=79356
Review URL: http://codereview.chromium.org/8394016

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@107212 0039d316-1c4b-4281-b951-d872f2087c98
14 years ago
cmp@chromium.org 82844095ce Enable installing git by default on Windows.
BUG=79356
Review URL: http://codereview.chromium.org/8369019

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@107206 0039d316-1c4b-4281-b951-d872f2087c98
14 years ago
maruel@chromium.org 70444a0907 Fix EOL issues.
Set svn:eol-style=CRLF for all .bat files and everything in bootstrap/win/
Set svn:eol-style=LF for everything else.

Also delete depot_tools/git_cl/ since it's not used anymore.
Review URL: http://codereview.chromium.org/8055016

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@103051 0039d316-1c4b-4281-b951-d872f2087c98
14 years ago
cmp@chromium.org 9e6ec10bba Wrap calls to git.bat in quotes.
Review URL: http://codereview.chromium.org/7178001

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@89268 0039d316-1c4b-4281-b951-d872f2087c98
14 years ago
cmp@chromium.org 8a4fb64c90 In Windows Git, set autocrlf and filemode by default.
Review URL: http://codereview.chromium.org/7172033

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@89261 0039d316-1c4b-4281-b951-d872f2087c98
14 years ago
cmp@chromium.org f33f80cbae For Git tools setup, also copy ssh-keygen.bat.
TBR=nsylvain@chromium.org
Review URL: http://codereview.chromium.org/7017005

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@85596 0039d316-1c4b-4281-b951-d872f2087c98
14 years ago
cmp@chromium.org d7ccf53c78 Install Git on Windows via depot tools.
Review URL: http://codereview.chromium.org/7035005

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@85568 0039d316-1c4b-4281-b951-d872f2087c98
14 years ago
bradnelson@google.com 22501af80a Don't install python shell script, as we now want to fall thru to cygwin.
BUG=None
TEST=None

Review URL: http://codereview.chromium.org/6579008

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@75789 0039d316-1c4b-4281-b951-d872f2087c98
14 years ago
bradnelson@google.com 28e0e9408d Changing entry points to use cygwin python (as gyp will now fall back on
hermetic python).


BUG=http://code.google.com/p/gyp/issues/detail?id=178
TEST=None

Review URL: http://codereview.chromium.org/6557004

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@75768 0039d316-1c4b-4281-b951-d872f2087c98
14 years ago
scottbyer@chromium.org 7526fe3b28 A refactoring left cygwin busted.
Create an update_depot_tools.bat file to use for updated when on cygwin, and
properly call it from the update_depot_tools shell script and gclient batch
files.

BUG=none
TEST=gclient sync and git cl work again on cygwin.  Can also turn echo on in update_depot_tools.bat to verify updating working correctly.

Review URL: http://codereview.chromium.org/3856006

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@63234 0039d316-1c4b-4281-b951-d872f2087c98
15 years ago
maruel@chromium.org c989674f06 Rewrite chrome-update.py and .bat.
Now reuse compile.py and almost make them platform agnostic.

TEST=none
BUG=none
Review URL: http://codereview.chromium.org/306031

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@59108 0039d316-1c4b-4281-b951-d872f2087c98
15 years ago
jeffbailey@google.com e0ff00dcec Set bootstrap Python version to 2.6
Review URL: http://codereview.chromium.org/873002

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@41303 0039d316-1c4b-4281-b951-d872f2087c98
15 years ago
maruel@chromium.org 4a47fc71a5 Add svnversion.bat.
It is necessary for webkit build slaves.
Review URL: http://codereview.chromium.org/460023

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@33601 0039d316-1c4b-4281-b951-d872f2087c98
15 years ago
maruel@chromium.org 0a3488a5a8 Revert 18633
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@18634 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org 25a8081d37 Now update git depot_tools checkouts, also add automatic update for git-cl-repo and git-try-repo.
TEST=none
BUG=none

Review URL: http://codereview.chromium.org/125259

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@18633 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org ac4b100a69 Add scripts to thunk into the non-cygwin version of svn and python.
This is slightly messy but seemingly necessary because cygwin doesn't consider a .bat file when running the command without the .bat extension.

TEST=shouldn't break everything
BUG=none
Review URL: http://codereview.chromium.org/125032

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@18337 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org 7196846f83 Change the python.new.bat and svn.new.bat to work around potential dynamic dll loading issues.
Review URL: http://codereview.chromium.org/113323

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@15938 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
sverrir@chromium.org f30a43845a Fix a problem with gclient not being able to download tools such as svn.
It turns out that Shell.Application.NameSpace works with relative paths 
on some systems only.  This failed on my Windows 7 box.


Review URL: http://codereview.chromium.org/115184

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@15754 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org 25b438dea7 Fixing a label renaming that shouldn't have been checked-in!
TBR=bradnelson
Review URL: http://codereview.chromium.org/115098

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