chromium/tools/deps2git.git
3 weeks agoAdd handling for mapping new libvpx branch location. master
mmoss@chromium.org [Fri, 22 Aug 2014 04:36:54 +0000 (04:36 +0000)]
Add handling for mapping new libvpx branch location.

TBR=szager@google.com

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@291329 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

3 weeks agoRetain original DEPS 'vars' in converted .DEPS.git.
mmoss@chromium.org [Tue, 19 Aug 2014 23:40:08 +0000 (23:40 +0000)]
Retain original DEPS 'vars' in converted .DEPS.git.

R=szager@chromium.org, szager@google.com
BUG=404343

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@290696 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

7 weeks agoDisable special handling for old reference_build repos.
mmoss@chromium.org [Fri, 25 Jul 2014 20:31:38 +0000 (20:31 +0000)]
Disable special handling for old reference_build repos.

TBR=szager@google.com

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@285662 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 months agoMake deps2git sync v8 bleeding_edge correctly.
machenbach@chromium.org [Tue, 8 Jul 2014 14:02:31 +0000 (14:02 +0000)]
Make deps2git sync v8 bleeding_edge correctly.

BUG=391270

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@281742 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 months agoAdd PROJECT to tools
sheyang@google.com [Wed, 25 Jun 2014 22:52:32 +0000 (22:52 +0000)]
Add PROJECT to tools

BUG=374398
R=phajdan.jr@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@279843 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 months agoAlways set deps2git.py to ignore cache locks
hinoka@chromium.org [Mon, 23 Jun 2014 18:38:51 +0000 (18:38 +0000)]
Always set deps2git.py to ignore cache locks

It makes more sense for deps2git to always ignore locks I think.

BUG=261741

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@279149 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

3 months agoFirst step in cleaning up pefile hack.
szager@chromium.org [Wed, 11 Jun 2014 17:38:57 +0000 (17:38 +0000)]
First step in cleaning up pefile hack.

BUG=362222
R=mmoss@chromium.org,vadimsh@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@276439 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

3 months agoTighten match for the chromium 'src' repo.
mmoss@chromium.org [Wed, 4 Jun 2014 23:39:19 +0000 (23:39 +0000)]
Tighten match for the chromium 'src' repo.

This was accidentally matching the '/trunk/src' in:
  /trunk/src/chrome/test/data/reliability@237714
and causing that entry to map to chromium/src.git

R=ivanpe@google.com, szager@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@274952 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

3 months agoEliminate redundant work and control parallelism.
szager@chromium.org [Tue, 20 May 2014 16:13:43 +0000 (16:13 +0000)]
Eliminate redundant work and control parallelism.

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

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@271672 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

4 months agoCleanDeps() svn_deps_vars param is obsolete.
mmoss@chromium.org [Thu, 15 May 2014 19:36:18 +0000 (19:36 +0000)]
CleanDeps() svn_deps_vars param is obsolete.

This was related to the DEPS_OVERRIDES handling that was removed in
r270695 (and was never used in this method anyhow).

R=dalecurtis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@270777 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

4 months agoRemove special case svn to git translations for FFmpeg.
dalecurtis@chromium.org [Thu, 15 May 2014 17:01:32 +0000 (17:01 +0000)]
Remove special case svn to git translations for FFmpeg.

This reverts the relevant pieces of https://codereview.chromium.org/9359045/

I'll update Chrome's DEPS file to use the new syntax and roll
deps2git at the same time in a followup CL.

BUG=329002
TEST=deps2git outputs correct DEPS.

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@270695 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

5 months agoA horrible hack for SVN-centric code.
szager@chromium.org [Fri, 11 Apr 2014 18:19:11 +0000 (18:19 +0000)]
A horrible hack for SVN-centric code.

BUG=362222
TBR=iannucci@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@263285 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

5 months agoMore retry logic for svn lookups in stale git repos.
mmoss@chromium.org [Wed, 9 Apr 2014 17:32:25 +0000 (17:32 +0000)]
More retry logic for svn lookups in stale git repos.

R=szager@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@262731 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

5 months agoHandle old skia weirdness.
mmoss@chromium.org [Fri, 4 Apr 2014 04:59:37 +0000 (04:59 +0000)]
Handle old skia weirdness.

BUG=355059
TBR=szager@google.com

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@261680 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

5 months agoAdd handling for old Win reference build location.
mmoss@chromium.org [Fri, 4 Apr 2014 01:43:54 +0000 (01:43 +0000)]
Add handling for old Win reference build location.

BUG=355059
TBR=szager@google.com

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@261630 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

5 months agoAdd more webrtc branch handling for some old buildspecs.
mmoss@chromium.org [Fri, 4 Apr 2014 00:39:52 +0000 (00:39 +0000)]
Add more webrtc branch handling for some old buildspecs.

BUG=355059
TBR=szager@google.com

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@261602 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

5 months agoAdd libvpx branch handling for some old buildspecs.
mmoss@chromium.org [Thu, 3 Apr 2014 19:50:56 +0000 (19:50 +0000)]
Add libvpx branch handling for some old buildspecs.

BUG=355059
TBR=szager@google.com

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@261510 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

5 months agoAdd 'no_fail_fast' option to find all conversion errors.
mmoss@chromium.org [Thu, 3 Apr 2014 16:13:13 +0000 (16:13 +0000)]
Add 'no_fail_fast' option to find all conversion errors.

TBR=szager@google.com
BUG=355059

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@261436 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

5 months agodeps2git processing enhancements for buildspec DEPS.
mmoss@chromium.org [Thu, 3 Apr 2014 16:09:51 +0000 (16:09 +0000)]
deps2git processing enhancements for buildspec DEPS.

- Add ability to pre-process the DEPS file.
- Add ability to find old svn commits in a git repo that was formerly
  mirrored from svn, but is now pure git.
- Allow removing, not just replacing, existing 'DEPS_OVERRIDES'.
- Implement buildspec-specific svn->git url mapping, as well as some
  legacy mappings for processing old buildspecs.

Run with '-x buildspec_to_git.py' to enable the buildspec-specific processing.

R=szager@google.com
BUG=355059

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@261433 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

6 months agoOnly calculate deps that are needed in a gclient workdir.
szager@chromium.org [Wed, 12 Mar 2014 23:29:30 +0000 (23:29 +0000)]
Only calculate deps that are needed in a gclient workdir.

When deps2git is invoked from a gclient checkout, it shouldn't
convert everything listed in DEPS.  Instead, it should only convert
the dependencies that would actually be checked out by
'gclient sync'.

Also, fix a few things for the non-cache, non-mirror case.

BUG=
R=hinoka@google.com

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@256696 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

6 months agoPreserve angle_revision variable in .DEPS.git so it can be overridden.
kbr@chromium.org [Wed, 12 Mar 2014 01:47:31 +0000 (01:47 +0000)]
Preserve angle_revision variable in .DEPS.git so it can be overridden.

This is needed in order to test the GPU recipe locally.

BUG=349291
R=szager@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@256390 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

6 months agoHave heartbeat ping get printed every second that we don't have output
hinoka@google.com [Fri, 7 Mar 2014 08:35:25 +0000 (08:35 +0000)]
Have heartbeat ping get printed every second that we don't have output

BUG=339171

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@255546 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

6 months agoAdd heartbeat to deps2git when running things that take a long time.
hinoka@google.com [Thu, 6 Mar 2014 18:20:35 +0000 (18:20 +0000)]
Add heartbeat to deps2git when running things that take a long time.

When doing delta resolution on a blink checkout, on some systesm it takes
over 10 minutes to make a tiny bit of progress.  This makes sure that
buildbot doesn't kill it.

BUG=339171

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@255400 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

6 months agoUse git_cache for deps2git
hinoka@google.com [Thu, 27 Feb 2014 02:26:10 +0000 (02:26 +0000)]
Use git_cache for deps2git

This CL does the following:
* Always invokes git_cache, as opposed to only when the folder doesn't exist.  This way git_cache populate always runs
* Up the number of processes in the pool from num_cpu() to all of the repos.
* Accepts and passes the --shallow flag to git cache.  Note that for adobe repos, it explicitly passes in "--depth 10" rather than "--shallow" since checking out 10000 revision is basically checking out the entire repo.

BUG=339171

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@253688 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

7 months agoAdd threading output buffer to deps2git while caching repos
hinoka@google.com [Thu, 13 Feb 2014 18:34:08 +0000 (18:34 +0000)]
Add threading output buffer to deps2git while caching repos

This is to prevent weird interleaving by prepending "repo.git> message" and only
outputting when there is a newline.

BUG=339168

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@251089 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

7 months agoWindows abnormal exit
hinoka@google.com [Thu, 13 Feb 2014 00:16:29 +0000 (00:16 +0000)]
Windows abnormal exit

Turns out the search failure is -1 on windows.

BUG=339171

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@250858 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

7 months agoUse chromium_util.RemoveDirectory for removing directories
hinoka@google.com [Wed, 12 Feb 2014 23:21:04 +0000 (23:21 +0000)]
Use chromium_util.RemoveDirectory for removing directories

shutil doesn't work on windows.

BUG=339168

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@250834 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

7 months agoFix for deps2git
hinoka@google.com [Wed, 12 Feb 2014 00:48:07 +0000 (00:48 +0000)]
Fix for deps2git

Bug introduced in https://codereview.chromium.org/159653007/
This should fix it

BUG=339168

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@250579 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

7 months agoFor deps2git, create dirs if not exist
hinoka@google.com [Wed, 12 Feb 2014 00:29:41 +0000 (00:29 +0000)]
For deps2git, create dirs if not exist

Fixes the bootstrap issue.

BUG=339168

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@250571 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

7 months agoMultiprocess pre-cache git checkouts if --cache_dir is passed in and catch bare repo...
hinoka@google.com [Wed, 12 Feb 2014 00:29:11 +0000 (00:29 +0000)]
Multiprocess pre-cache git checkouts if --cache_dir is passed in and catch bare repo cloning errors

This makes deps2git much faster
Also sometimes a bare repo clones halfways, dies, and we don't see the error until we try to run a search on it.  This blows away the bare checkout if a 128 is caught.

BUG=339168

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@250570 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

7 months agoIncrease deps2git timeout from 20min to 40min
hinoka@google.com [Mon, 10 Feb 2014 22:07:25 +0000 (22:07 +0000)]
Increase deps2git timeout from 20min to 40min

One of our bigger repos is 10GB, so at 7MB/s it takes just over 20 minutes to download.
Lets increase the timeout to 40 min so we're actually sure we won't run into this issue,
even if our connection is at 3-6MB/s

BUG=339168

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@250218 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

7 months agoAdd gclient style cache_dir support for deps2git.
hinoka@google.com [Fri, 7 Feb 2014 03:36:26 +0000 (03:36 +0000)]
Add gclient style cache_dir support for deps2git.

Also - During clone, always pipe stdout to sys.stdout. This will not work as well when we want to multithread
deps2git, but will be okay for now to get buildbot to not kill the process when checking out blink.

BUG=339168

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@249599 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

7 months agoAdd handling for src.chromium.org/llvm-project mirrors.
mmoss@chromium.org [Fri, 31 Jan 2014 23:56:16 +0000 (23:56 +0000)]
Add handling for src.chromium.org/llvm-project mirrors.

R=szager@chromium.org, thakis@chromium.org
BUG=333093

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@248305 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

8 months agoAdd retry and exponential backoff logic to deps2git --verify
phajdan.jr@chromium.org [Tue, 14 Jan 2014 21:23:42 +0000 (21:23 +0000)]
Add retry and exponential backoff logic to deps2git --verify

BUG=333270, 317931

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@244803 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

9 months agoChange WebRTC location in deps2git
niklase@chromium.org [Tue, 3 Dec 2013 16:09:26 +0000 (16:09 +0000)]
Change WebRTC location in deps2git
Update after landing https://codereview.chromium.org/86563002/

R=phajdan.jr@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@238405 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

9 months agoGTTF: Make deps2git.py produce JSON output that can be used in a recipe
phajdan.jr@chromium.org [Fri, 22 Nov 2013 22:13:30 +0000 (22:13 +0000)]
GTTF: Make deps2git.py produce JSON output that can be used in a recipe

BUG=317931

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@236839 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

10 months agoAdd special handling for libaddressinput sub-directories.
szager@chromium.org [Fri, 8 Nov 2013 22:10:32 +0000 (22:10 +0000)]
Add special handling for libaddressinput sub-directories.

BUG=312347
R=rouslan@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@234015 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

10 months agoFix URLs and line endings in deps2git
brettw@chromium.org [Wed, 23 Oct 2013 22:58:49 +0000 (22:58 +0000)]
Fix URLs and line endings in deps2git

The wiki URLs were out-of-date, and the tool produced CRLF line endings on Windows, which then confuses whatever reads the file.

R=hinoka

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@230538 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

12 months agoAdd ability to match exact svn revs to git commits.
mmoss@chromium.org [Wed, 4 Sep 2013 16:15:18 +0000 (16:15 +0000)]
Add ability to match exact svn revs to git commits.

This allows the buildspec convertor to ensure some repos only ever match
the exact revision specified, and fixes a problem where the mapping was
falling back to an older version when the mirror repo was not as
up-to-date as the buildspec.

R=ilevy@chromium.org
BUG=280765

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@221194 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

12 months agodeps2git: fail loudly if no match is found for a repository
phajdan.jr@chromium.org [Mon, 19 Aug 2013 20:58:03 +0000 (20:58 +0000)]
deps2git: fail loudly if no match is found for a repository

This should trigger alerts and result in faster fixing of issues.
A recent problem of this nature was detected 40 minutes after
a bad commit, and was already affecting developers.

BUG=none
R=ilevy@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@218308 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

13 months agoRestore fallback for old sourceforge URL.
phajdan.jr@chromium.org [Fri, 9 Aug 2013 18:41:01 +0000 (18:41 +0000)]
Restore fallback for old sourceforge URL.

Just in case someone uses it e.g. for an old branch.

BUG=268122
R=ilevy@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@216722 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

13 months agoUpdate deps2git for new sourceforge URL
phajdan.jr@chromium.org [Mon, 5 Aug 2013 23:57:47 +0000 (23:57 +0000)]
Update deps2git for new sourceforge URL

BUG=268122
R=agable@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@215730 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

13 months agoSupport HTTPS URLs.
phajdan.jr@chromium.org [Thu, 1 Aug 2013 18:23:26 +0000 (18:23 +0000)]
Support HTTPS URLs.

BUG=266172
R=ilevy@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@215069 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

13 months agoFix corner case in submodule instantiation.
szager@chromium.org [Wed, 31 Jul 2013 00:23:05 +0000 (00:23 +0000)]
Fix corner case in submodule instantiation.

If a CL deletes submodule foo and also adds submodule foo/bar, we
must delete foo before adding foo/bar; and when grep-ing for foo
in .gitmodules, we shouldn't match foo/bar.

R=ilevy@chromium.org
BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@214484 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

13 months agoAdds https://chromium.googlesource.com/external/webrtc/stable/talk mirror to svn_to_g...
szager@chromium.org [Tue, 30 Jul 2013 17:39:17 +0000 (17:39 +0000)]
Adds https://chromium.googlesource.com/external/webrtc/stable/talk mirror to svn_to_git_public.py

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@214390 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

14 months agogitdeps: Only fetch repo if needed
ilevy@chromium.org [Thu, 27 Jun 2013 18:09:25 +0000 (18:09 +0000)]
gitdeps: Only fetch repo if needed

Relanding earlier attempt to reduce fetches.

This does not work perfectly -- about 8 repos have DEPS pinned
to a revision which does not exist in the subfolder -- in this
case we cannot tell if we are missing the revision because of
a lost fetch, so we have to fetch. Once we use the same repos
as git_updater we can elimnate the fetches.

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@208952 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

14 months agoRevert 208657 "Only fetch git repo if revision does not exist"
ilevy@chromium.org [Wed, 26 Jun 2013 19:45:34 +0000 (19:45 +0000)]
Revert 208657 "Only fetch git repo if revision does not exist"

Causes deps2git to stop updating repos -- fail.
Foiled by CreateLessThanOrEqualRegex.

> Only fetch git repo if revision does not exist
>
> Look for revision locally before updating git repo.
>
> TBR=mmoss
>
> Review URL: https://codereview.chromium.org/17798002

TBR=ilevy@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@208764 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

14 months agoOnly fetch git repo if revision does not exist
ilevy@chromium.org [Wed, 26 Jun 2013 06:27:09 +0000 (06:27 +0000)]
Only fetch git repo if revision does not exist

Look for revision locally before updating git repo.

TBR=mmoss

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@208657 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

14 months agoFix return value unpacking from SvnUrlToGitUrl
szager@chromium.org [Tue, 25 Jun 2013 20:48:26 +0000 (20:48 +0000)]
Fix return value unpacking from SvnUrlToGitUrl

TBR=mmoss@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@208543 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

14 months agoReturn git_host from SvnUrlToGitUrl.
szager@chromium.org [Tue, 25 Jun 2013 20:32:23 +0000 (20:32 +0000)]
Return git_host from SvnUrlToGitUrl.

TBR=cmp,iannucci

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@208539 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

15 months agoAdd blink header-only repo mapping for iOS
stuartmorgan@chromium.org [Wed, 29 May 2013 16:46:32 +0000 (16:46 +0000)]
Add blink header-only repo mapping for iOS

Step one of converting the iOS header-only pull from WebKit to Blink.

BUG=242829

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@202885 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

16 months agoAdd special case to deps2git.py for usrsctplib
fischman@chromium.org [Thu, 2 May 2013 19:41:30 +0000 (19:41 +0000)]
Add special case to deps2git.py for usrsctplib

BUG=236498
R=szager@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@197957 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

16 months agoCorrectly update the Blink DEP.
cmp@chromium.org [Wed, 1 May 2013 02:03:57 +0000 (02:03 +0000)]
Correctly update the Blink DEP.

TBR=dpranke@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@197543 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

16 months agoadjust the webkit path used for determining the WebKit revision/hash to use.
dpranke@chromium.org [Wed, 1 May 2013 01:11:20 +0000 (01:11 +0000)]
adjust the webkit path used for determining the WebKit revision/hash to use.

As part of fixing bug 229611, we will start checking out the entire
Blink/WebKit repo even in Subversion checkouts; ios will still only use
a subset. This patch updates the deps2git script accordingly.

R=szager@chromium.org, cmp@chromium.org
BUG=229611

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@197536 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

16 months agoCovert git.chromium.org refs to chromium.googlesource
ilevy@chromium.org [Tue, 23 Apr 2013 22:20:07 +0000 (22:20 +0000)]
Covert git.chromium.org refs to chromium.googlesource

This is in preparation to switching chromiumos variable
in src/DEPS back to git.chromium.org.  The intention is
that bots (which use a svn checkout) will pull chromiumos
from git.chromium.org, which does not have the problematic
refs/head/HEAD branch. Devs who use the git workflow will
pull from chromium.googlesource, which is OK because they
should be using a modern version of git (v1.8.1 or above).

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@195917 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

16 months agoFix refspec for revision search.
szager@chromium.org [Thu, 18 Apr 2013 08:12:24 +0000 (08:12 +0000)]
Fix refspec for revision search.

R=cmp@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@194841 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

16 months agoFetch all refs, not just refs/heads/master.
szager@chromium.org [Thu, 18 Apr 2013 07:11:04 +0000 (07:11 +0000)]
Fetch all refs, not just refs/heads/master.

This broke gitdeps when the DEPS entry for angleproject was updated
to pull from a branch.

R=cmp@chromium.org,bevc@chromium.org,iannucci@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@194826 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

16 months agoUse correct branch ref for mirrors.
szager@chromium.org [Thu, 18 Apr 2013 00:32:38 +0000 (00:32 +0000)]
Use correct branch ref for mirrors.

R=mmoss@chromium.org,cmp@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@194741 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

17 months agoSupport automatically mirrored googlecode svn branches.
mmoss@chromium.org [Mon, 15 Apr 2013 16:51:23 +0000 (16:51 +0000)]
Support automatically mirrored googlecode svn branches.

R=apatrick@google.com, szager@google.com
BUG=230128

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@194189 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

17 months agoUpdate for blink.
szager@chromium.org [Thu, 4 Apr 2013 02:01:10 +0000 (02:01 +0000)]
Update for blink.

R=cmp@chromium.org,iannucci@chromium.org
Review URL: https://codereview.chromium.org/13606005

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@192210 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

18 months agoUse cmp-cc for watchlist.
cmp@chromium.org [Wed, 20 Feb 2013 20:18:49 +0000 (20:18 +0000)]
Use cmp-cc for watchlist.

TBR=cmp@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@183603 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

19 months agoAlways run fetch on repos in deps2git
ilevy@chromium.org [Wed, 6 Feb 2013 23:48:11 +0000 (23:48 +0000)]
Always run fetch on repos in deps2git

When run with the --repos command, for each repo,
the first time deps2git is run, it clones the directory, then
crashes on the revision lookup.  The second time it is run, it
runs fetch on the directory, looks up the revision and moves on
to the next repo.

We fix this behavior by always running fetch, even on the initial checkout.

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@181098 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

19 months agoAdd mapping for webrtc/openmax.
szager@chromium.org [Wed, 6 Feb 2013 16:01:06 +0000 (16:01 +0000)]
Add mapping for webrtc/openmax.

BUG=172998
TBR=mmoss@chromium.org
Review URL: https://codereview.chromium.org/12217039

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@180976 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

19 months agoReland "Improve support for internal DEPS files."
ilevy@chromium.org [Tue, 5 Feb 2013 01:41:23 +0000 (01:41 +0000)]
Reland "Improve support for internal DEPS files."

Relanding http://src.chromium.org/viewvc/chrome?view=rev&revision=180234
Reverted in r180247

Original commit broke deps2git cron due to a mistake in how the rules file function returns when the dependency should not be converted to git.  This did not come up in my testing because I forgot to test the conversion of src/DEPS.

TBR=mmoss

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@180601 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

19 months agoRevert r180234
ilevy@chromium.org [Sat, 2 Feb 2013 06:09:55 +0000 (06:09 +0000)]
Revert r180234

deps2git cronjob started failing from my change.  Will
debug and reland change after I am more confident.

TBR=mmoss
Review URL: https://codereview.chromium.org/12193003

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@180247 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

19 months agoImprove support for internal DEPS files.
ilevy@chromium.org [Sat, 2 Feb 2013 02:50:51 +0000 (02:50 +0000)]
Improve support for internal DEPS files.

Work with DEPS files containing both public and private URLs by first trying to convert with an auxiliary file
before using the default public one.

Improved the API by allowing users to specify file path for rules instead of having to copy rules into current directory.
More descriptive errors messages.

BUG=172151
TEST=Run manually to check each new code path.

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@180234 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

19 months agoSupport searching different refspecs.
mmoss@chromium.org [Mon, 28 Jan 2013 17:14:15 +0000 (17:14 +0000)]
Support searching different refspecs.

This is useful for searching the 'git-svn' refspec in the "projects.py"
repos on cron.golo (which don't have FETCH_HEAD).

R=szager@google.com

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@179157 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

19 months agoAdd special cases for boto and gsutil.
xusydoc@chromium.org [Wed, 23 Jan 2013 23:46:45 +0000 (23:46 +0000)]
Add special cases for boto and gsutil.

This allows tools/build to be deps2gitified.

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@178431 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

20 months agoAdd .git suffix to cdm URL.
szager@chromium.org [Tue, 18 Dec 2012 01:18:08 +0000 (01:18 +0000)]
Add .git suffix to cdm URL.

iannucci caught it first!  Without the suffix, deps2git.py will run without
error, but the .DEPS.git file it produces will confuse gclient.

NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@173611 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

20 months agoAdd special case for /trunk/deps/cdm.
szager@chromium.org [Mon, 17 Dec 2012 23:24:05 +0000 (23:24 +0000)]
Add special case for /trunk/deps/cdm.

NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@173563 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

21 months agoRevert:
szager@google.com [Thu, 13 Dec 2012 00:16:34 +0000 (00:16 +0000)]
Revert:

https://src.chromium.org/viewvc/chrome?view=rev&revision=172645

The special case for eyes-free is unnecessary.
Review URL: https://codereview.chromium.org/11550027

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@172717 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

21 months agoAdd special case for eyes-free project.
szager@google.com [Wed, 12 Dec 2012 20:09:23 +0000 (20:09 +0000)]
Add special case for eyes-free project.
Review URL: https://codereview.chromium.org/11554005

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@172645 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

21 months agoUse os.makedirs to build intermediate directories
dtrainor@chromium.org [Sat, 8 Dec 2012 00:02:05 +0000 (00:02 +0000)]
Use os.makedirs to build intermediate directories

BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@171889 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

22 months agoReplace more instances of git.chromium.org with chromium.googlesource.com
szager@google.com [Thu, 15 Nov 2012 23:34:01 +0000 (23:34 +0000)]
Replace more instances of git.chromium.org with chromium.googlesource.com
Review URL: https://codereview.chromium.org/11417016

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@168075 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

22 months agoSwitch upstream to git-on-borg.
szager@google.com [Thu, 15 Nov 2012 22:03:36 +0000 (22:03 +0000)]
Switch upstream to git-on-borg.
Review URL: https://codereview.chromium.org/11312251

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@168044 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

22 months agoSet a timeout for git invocations.
szager@google.com [Wed, 14 Nov 2012 22:23:30 +0000 (22:23 +0000)]
Set a timeout for git invocations.
Review URL: https://codereview.chromium.org/11377168

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@167757 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

22 months agoAdd PRESUBMIT.py check; including pylint and automatic unittest run.
maruel@chromium.org [Mon, 5 Nov 2012 19:03:06 +0000 (19:03 +0000)]
Add PRESUBMIT.py check; including pylint and automatic unittest run.

Made deps2submodules_unittest.py executable.

Fixed the pylint OCD about style.

R=szager@chromium.org
BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@165980 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

22 months agoAdd codereview.settings to deps2git.
maruel@chromium.org [Mon, 5 Nov 2012 18:58:54 +0000 (18:58 +0000)]
Add codereview.settings to deps2git.

R=szager@chromium.org
BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@165975 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

22 months agoadd old webrtc git back
wjia@chromium.org [Thu, 25 Oct 2012 00:24:01 +0000 (00:24 +0000)]
add old webrtc git back

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@163971 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

22 months agoCorresponding change for git mirror for webrtc.
wjia@chromium.org [Thu, 25 Oct 2012 00:02:14 +0000 (00:02 +0000)]
Corresponding change for git mirror for webrtc.

webrtc has renamed stable/src to stable/webrtc.
Review URL: https://codereview.chromium.org/11274034

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@163959 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

23 months agoSet default value for options.rewrite_url
szager@google.com [Fri, 12 Oct 2012 06:55:42 +0000 (06:55 +0000)]
Set default value for options.rewrite_url

TBR=nsylvain@chromium.org
Review URL: https://codereview.chromium.org/11117013

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@161520 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

23 months agoAdd --rewrite-url option.
szager@chromium.org [Fri, 12 Oct 2012 05:29:18 +0000 (05:29 +0000)]
Add --rewrite-url option.

This will allow us to migrate the git-submodule flow to the git-on-borg
mirrors without impacting the gclient-based flow.

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@161501 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

23 months agoFetch only the master branch to ensure that FETCH_HEAD is not pointing to a branch.
nsylvain@chromium.org [Wed, 10 Oct 2012 23:01:43 +0000 (23:01 +0000)]
Fetch only the master branch to ensure that FETCH_HEAD is not pointing to a branch.
Review URL: https://codereview.chromium.org/11093054

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@161223 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

23 months agoAdd --workspace option, so deps2git.py may be run in a
szager@chromium.org [Wed, 10 Oct 2012 19:44:43 +0000 (19:44 +0000)]
Add --workspace option, so deps2git.py may be run in a
git-based checkout.

Gross, horrible hacks.  If you make me refactor them, I will
rewrite the whole damn thing.  I mean it.

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@161157 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

23 months agoHACK to fix try bots without restarting master.
szager@chromium.org [Tue, 18 Sep 2012 22:54:36 +0000 (22:54 +0000)]
HACK to fix try bots without restarting master.

TBR=maruel@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@157441 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

23 months agoWeed out another git invocation when --gitless is provided.
szager@chromium.org [Tue, 18 Sep 2012 22:33:36 +0000 (22:33 +0000)]
Weed out another git invocation when --gitless is provided.

TBR=maruel@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@157433 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoAdd --gitless flag.
szager@chromium.org [Fri, 14 Sep 2012 18:09:00 +0000 (18:09 +0000)]
Add --gitless flag.

This flag will skip all steps that assume a git working copy.  This is primarily
intended to enable pre-commit checks.

BUG=148746

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@156838 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoFilter out nested deps.
szager@chromium.org [Mon, 10 Sep 2012 18:32:07 +0000 (18:32 +0000)]
Filter out nested deps.

Nested deps are allowed by gclient, but not by git-submodule.

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@155775 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoAdd mappings for header-only pulls of WebKit for iOS
stuartmorgan@chromium.org [Wed, 29 Aug 2012 07:37:26 +0000 (07:37 +0000)]
Add mappings for header-only pulls of WebKit for iOS

Maps two specific-directory pulls from WebKit to limited-scope
git mirrors.

BUG=145208

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@153866 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoIn deps2submodules.py, do not allow an OS-specific dependency to null out an OS-all...
rsesek@chromium.org [Thu, 2 Aug 2012 17:15:36 +0000 (17:15 +0000)]
In deps2submodules.py, do not allow an OS-specific dependency to null out an OS-all one.

This also adds some unittests for deps2submodules.

Patch from Stefan Zager <szager@chromium.org>. Tests from rsesek.

BUG=140223
TEST=Covered by unittests. git submodules workflow works again.
Review URL: https://chromiumcodereview.appspot.com/10823145

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@149645 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoGracefully handle deps with a None url.
szager@chromium.org [Tue, 31 Jul 2012 21:43:22 +0000 (21:43 +0000)]
Gracefully handle deps with a None url.

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@149282 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoPass excluded deps through.
xusydoc@chromium.org [Fri, 27 Jul 2012 18:58:18 +0000 (18:58 +0000)]
Pass excluded deps through.

BUG=139010
TEST=
R=cmp@chromium.org, maruel@chromium.org, nsylvain@chromium.org, stuartmorgan@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@148781 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoSometimes DEPS will not pin a revision for a dependency, but just let it float
szager@chromium.org [Wed, 13 Jun 2012 20:48:39 +0000 (20:48 +0000)]
Sometimes DEPS will not pin a revision for a dependency, but just let it float
to ToT.  Handle that.

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@141963 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoOnly open /dev/null once.
szager@chromium.org [Wed, 13 Jun 2012 17:40:59 +0000 (17:40 +0000)]
Only open /dev/null once.

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@141907 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoUtility to read .DEPS.git and register git submodules.
szager@chromium.org [Fri, 8 Jun 2012 19:16:05 +0000 (19:16 +0000)]
Utility to read .DEPS.git and register git submodules.

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@141251 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoSpecial-case git-only dependencies in the deps2git script
peter@chromium.org [Tue, 29 May 2012 21:26:56 +0000 (21:26 +0000)]
Special-case git-only dependencies in the deps2git script

Some Android-specific dependencies are only available on git. Since these will
be added to Chromium's main DEPS file, the deps2git scripts should be taught how
to handle repositories and revisions (hashes) which already are git's.

BUG=129577
TEST=

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@139377 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoAdd watchlist for deps2git.
cmp@chromium.org [Sat, 5 May 2012 22:04:21 +0000 (22:04 +0000)]
Add watchlist for deps2git.

TBR=nsylvain@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@135564 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoAdd a 'verify' option that pings each git repo to make sure it's valid.
xusydoc@chromium.org [Wed, 25 Apr 2012 23:07:09 +0000 (23:07 +0000)]
Add a 'verify' option that pings each git repo to make sure it's valid.

BUG=123644

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@134004 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoAdd default to 'DEPS' and add writing to stdout
xusydoc@chromium.org [Tue, 10 Apr 2012 21:37:49 +0000 (21:37 +0000)]
Add default to 'DEPS' and add writing to stdout

Intended to make presubmit checks like https://chromiumcodereview.appspot.com/10032019/ smoother.

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@131636 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoFetch only if we didn't clone. git-svn
ferringb@google.com [Thu, 22 Mar 2012 22:56:38 +0000 (22:56 +0000)]
Fetch only if we didn't clone.

No point in cloning, then immediately fetching.

BUG=None
TEST=N/a

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

git-svn-id: http://src.chromium.org/svn/trunk/tools/deps2git@128331 4ff67af0-8c30-449e-8e8b-ad334ec8d88c