Commit Graph

135 Commits (004da782dd92aa613972b6c970bbb6421deedfb4)

Author SHA1 Message Date
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
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
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 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
maruel@chromium.org 9e378efba3 Don't reinstall *every* time. Just if the batch file doesn't exist.
Review URL: http://codereview.chromium.org/115085

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@15546 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org a90bd59406 - Add change-svn-wc-format.py utility from http://svn.collab.net/repos/svn/trunk/tools/client-side/change-svn-wc-format.py
- Rename the thunk batch files so they don't get in the way.
- Add force flag support to win_tools.bat to override the behavior.
Review URL: http://codereview.chromium.org/109035

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@15376 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org 662563545b Add unzip.js instead of using 7za.exe. It greatly reduces the depot_tools.zip size.
Review URL: http://codereview.chromium.org/99233

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@14970 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org 7c06bed108 Fix a typo in get_files.js. Also fix style.
TBR=skylined
Review URL: http://codereview.chromium.org/102004

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@14760 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
skylined@chromium.org 9af21a0070 Style guide compliance
Review URL: http://codereview.chromium.org/92150

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@14466 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@google.com 7e4bc468c6 Remove wget.exe and use a small javascript instead. Had issues with some AV...
Actually, the get_file.js code was written by B.J. I have no merit.
Review URL: http://codereview.chromium.org/93139

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@14457 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@google.com 3380c1a484 Fix the windows auto update scripts.
TBR=nsylvain
Review URL: http://codereview.chromium.org/93106

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@14400 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@google.com fb2b8eb2e2 Create the Next Generation of depot_tools. Eh.
Review URL: http://codereview.chromium.org/92087

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