- 14 May, 2019 1 commit
-
-
Raul Tambre authored
Fixes colorama unintentionally overriding multiple sys.stdout wrappers of our own. And provides a fix for a SyntaxWarning on Python 3.8: C:\Google\depot_tools\third_party\colorama\ansitowin32.py:43: SyntaxWarning: invalid escape sequence \[ ANSI_RE = re.compile('\033\[((?:\d|;)*)([a-zA-Z])') Tests are updated to account for the annotation wrapper no longer being overriden. A fix by agable for the annotation wrapper working with carriage returns is also included (https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1592612). Bug: 958138, 958321 Change-Id: I2fe1def85c66cfe5229a1c25c2f677e498593eea Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1591513Reviewed-by: Aaron Gable <agable@chromium.org> Reviewed-by: Marc-Antoine Ruel <maruel@chromium.org> Commit-Queue: Raul Tambre <raul@tambre.ee> Auto-Submit: Raul Tambre <raul@tambre.ee>
-
- 08 Apr, 2019 1 commit
-
-
Raul Tambre authored
Hooks for Electron output UTF-8 characters. Example error for when "
" is output: File "/home/markus/depot_tools/metrics.py", line 266, in print_notice_and_exit yield File "/home/markus/depot_tools/gclient.py", line 3112, in <module> sys.exit(main(sys.argv[1:])) File "/home/markus/depot_tools/gclient.py", line 3098, in main return dispatcher.execute(OptionParser(), argv) File "/home/markus/depot_tools/subcommand.py", line 252, in execute return command(parser, args[1:]) File "/home/markus/depot_tools/gclient.py", line 2677, in CMDsync ret = client.RunOnDeps('update', args) File "/home/markus/depot_tools/gclient.py", line 1746, in RunOnDeps self.RunHooksRecursively(self._options, pm) File "/home/markus/depot_tools/gclient.py", line 1052, in RunHooksRecursively hook.run() File "/home/markus/depot_tools/gclient.py", line 245, in run cmd, cwd=self.effective_cwd, always=self._verbose) File "/home/markus/depot_tools/gclient_utils.py", line 344, in CheckCallAndFilterAndHeader return CheckCallAndFilter(args, **kwargs) File "/home/markus/depot_tools/gclient_utils.py", line 576, in CheckCallAndFilter stdout.write(in_byte.decode()) File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xe2 in position 0: unexpected end of data This issue was introduced in CL:1524583. Bug: 942522 Change-Id: I3c4355b925b34398c800d142f942531a829e0297 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1541334 Auto-Submit: Raul Tambre <raul@tambre.ee> Reviewed-by: Dirk Pranke <dpranke@chromium.org> Commit-Queue: Raul Tambre <raul@tambre.ee>
-
- 26 Mar, 2019 1 commit
-
-
Raul Tambre authored
This enables gclient sync and gclient runhooks to run, barring hook script failures. git cl upload also now works. The scripts still work with Python 2. There are no intended behaviour changes. Bug: 942522 Change-Id: I2ac587b5f803ba7f5bb5e412337ce049f4b1a741 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1524583 Commit-Queue: Raul Tambre <raul@tambre.ee> Reviewed-by: Dirk Pranke <dpranke@chromium.org>
-
- 19 Mar, 2019 1 commit
-
-
Raul Tambre authored
The scripts still work with Python 2. There are no intended behaviour changes. Bug: 939847 Change-Id: Icada60c5b2cf351d62aead26b7364fcef2c2a3e5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1524486Reviewed-by: Dirk Pranke <dpranke@chromium.org> Commit-Queue: Raul Tambre <raul@tambre.ee>
-
- 11 Mar, 2019 1 commit
-
-
Nico Weber authored
gclient_utils.py is a kitchen sink and is for that reason expensive to import. Move the comparatively cheap and simple path routines to a new gclient_paths module and use that in gn.py, clang_format.py, dart_format.py. (To be able to move FindGclientRoot() to gclient_paths.py, make it use io.open() instead of FileRead(). FileRead() tries to paper over invalid utf-8, but that was added for presubmits, not for .gclient files, so this is hopefully fine.) Cuts gn.py overhead in half (on my Windows laptop from 0.6s to 0.25s, still high; on my Mac laptop from 0.1s to 0.05s), and probably helps the other two too. Completely remove PathDifference() since it's unused. Bug: 939959 Change-Id: I6a70f6e4c16062b622fb2df8778e8a598d4cc956 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1512058 Commit-Queue: Nico Weber <thakis@chromium.org> Reviewed-by: Andrii Shyshkalov <tandrii@chromium.org>
-
- 20 Mar, 2018 1 commit
-
-
Edward Lesmes authored
This is a reland of 7f4c905f Original change's description: > gclient: Add commands to edit dependencies and variables in DEPS > > Adds 'gclient setvar' and 'gclient setdep' commands to edit variables > and dependencies in a DEPS file. > > Bug: 760633 > Change-Id: I6c0712cc079dbbbaee6541b7eda71f4b4813b77b > Reviewed-on: https://chromium-review.googlesource.com/950405 > Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org> > Reviewed-by: Aaron Gable <agable@chromium.org> Bug: 760633 Change-Id: Ia46c74d02e5cc3b67517dfa248f597cb3d98ef3d Reviewed-on: https://chromium-review.googlesource.com/969457 Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org> Reviewed-by: Aaron Gable <agable@chromium.org>
-
- 31 Jan, 2018 1 commit
-
-
Edward Lemur authored
This will allow us to show the progress when cloning a new repo when running commands like gclient sync. R=agable@chromium.org Bug: 722686 Change-Id: I268cba343ea4c3c024292c9341d5009aa112b184 Reviewed-on: https://chromium-review.googlesource.com/890524 Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org> Reviewed-by: Aaron Gable <agable@chromium.org>
-
- 20 Oct, 2017 1 commit
-
-
Daniel Cheng authored
This is a reland of 5fd1defb Original change's description: > gclient runhooks: now with less spammy progress notifications > > Bug: 772741 > Change-Id: I62ad64219ba27ee4ea26ceb603b1133dff4a2e04 > Reviewed-on: https://chromium-review.googlesource.com/727194 > Reviewed-by: Nico Weber <thakis@chromium.org> > Reviewed-by: Dirk Pranke <dpranke@chromium.org> > Commit-Queue: Daniel Cheng <dcheng@chromium.org> Bug: 772741 Change-Id: Idd6fcd46a8c97716d68ed0975940705a90540a4d Reviewed-on: https://chromium-review.googlesource.com/728961Reviewed-by: Dirk Pranke <dpranke@chromium.org> Commit-Queue: Daniel Cheng <dcheng@chromium.org>
-
- 19 Oct, 2017 2 commits
-
-
Daniel Cheng authored
This reverts commit 5fd1defb. Reason for revert: breaks v8 because hook names are optional Original change's description: > gclient runhooks: now with less spammy progress notifications > > Bug: 772741 > Change-Id: I62ad64219ba27ee4ea26ceb603b1133dff4a2e04 > Reviewed-on: https://chromium-review.googlesource.com/727194 > Reviewed-by: Nico Weber <thakis@chromium.org> > Reviewed-by: Dirk Pranke <dpranke@chromium.org> > Commit-Queue: Daniel Cheng <dcheng@chromium.org> TBR=dcheng@chromium.org,thakis@chromium.org,dpranke@chromium.org Change-Id: I7dee0ca188f5ca34232f16e6496249fc9f49fa96 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 772741 Reviewed-on: https://chromium-review.googlesource.com/728959Reviewed-by: Dirk Pranke <dpranke@chromium.org> Commit-Queue: Daniel Cheng <dcheng@chromium.org>
-
Daniel Cheng authored
Bug: 772741 Change-Id: I62ad64219ba27ee4ea26ceb603b1133dff4a2e04 Reviewed-on: https://chromium-review.googlesource.com/727194Reviewed-by: Nico Weber <thakis@chromium.org> Reviewed-by: Dirk Pranke <dpranke@chromium.org> Commit-Queue: Daniel Cheng <dcheng@chromium.org>
-
- 09 Oct, 2017 1 commit
-
-
Nico Weber authored
The newline is probably here to protect against a hook that doesn't print a trailing newline. I've never seen a hook that did that, and if we found one, we could make the logic look like "print a trailing newline if it's not there" -- or just fix the hook. The newline has been around since depot_tools was created (https://codereview.chromium.org/92087, gclient.py), back then this was in a general "run stuff" function, not in hooks-specific code. Maybe it made more sense back then. This is part of a few changes to make `gclient runhooks` less noisy. Bug: 772741 Change-Id: I285f76dc3f01c5acf5bbaa0be4db9f6edb9c0366 Reviewed-on: https://chromium-review.googlesource.com/706914Reviewed-by: Dirk Pranke <dpranke@chromium.org> Commit-Queue: Nico Weber <thakis@chromium.org>
-
- 16 Aug, 2017 1 commit
-
-
Paweł Hajdan, Jr authored
Consistently pin all dependencies - including deps_os and ones with shortened shas. We add --process-all-deps switch so that users can easily tell gclient to check out all affected dependencies locally. Bug: 570091 Change-Id: If68db98000c569ae35dd7d0a4b695eb80a589213 Reviewed-on: https://chromium-review.googlesource.com/617224Reviewed-by: Michael Moss <mmoss@chromium.org> Commit-Queue: Paweł Hajdan Jr. <phajdan.jr@chromium.org>
-
- 14 Jun, 2017 1 commit
-
-
Bruce Dawson authored
While setting up a Chromium repo on a new machine I ended up with a missing .gclient_entries file. This triggered a warning message but it led me in the wrong direction. I think that the new message - saying exactly what problem was detected - will be slightly more helpful. Change-Id: I8c91861f843e3d30881b1b4933a02ad966c114ef Reviewed-on: https://chromium-review.googlesource.com/533314Reviewed-by: Paweł Hajdan Jr. <phajdan.jr@chromium.org> Commit-Queue: Bruce Dawson <brucedawson@chromium.org>
-
- 12 Jun, 2017 1 commit
-
-
Paweł Hajdan, Jr authored
This will also be useful for other values (deps_os, hooks_os) we may want to store and keep constant. Freeze code copied from luci/recipes-py @ 944125e6d1e8c831d09517bde658a38d8f81db37 Bug: 570091 Change-Id: I3365cf2b267c478316870bbb3fd41e9955aa4ddf Reviewed-on: https://chromium-review.googlesource.com/531166 Commit-Queue: Paweł Hajdan Jr. <phajdan.jr@chromium.org> Reviewed-by: Andrii Shyshkalov <tandrii@chromium.org>
-
- 23 May, 2017 3 commits
-
-
Paweł Hajdan, Jr authored
Original CL: https://chromium-review.googlesource.com/509693 This feature appears unused, and removing it will simplify the codebase. Bug: 661382 Change-Id: I0d83b537b57d0b9ca65c7101d13e0ad6c1642a29 Reviewed-on: https://chromium-review.googlesource.com/512842Reviewed-by: Andrii Shyshkalov <tandrii@chromium.org> Commit-Queue: Paweł Hajdan Jr. <phajdan.jr@chromium.org>
-
Andrii Shyshkalov authored
This reverts commit bf72b593. Reason for revert: maybe caused outage. Original change's description: > gclient: remove support for From() > > This feature appears unused, and removing it will simplify the codebase. > > Bug: 661382 > Change-Id: I545befb2c592eea53c54552018ce2d3dda7670f5 > Reviewed-on: https://chromium-review.googlesource.com/509693 > Commit-Queue: Paweł Hajdan Jr. <phajdan.jr@chromium.org> > Reviewed-by: Dirk Pranke <dpranke@chromium.org> > TBR=phajdan.jr@chromium.org,dpranke@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Bug: 661382 Change-Id: I4db9554a0a3a64a3a69908560b6da2a9963518f2 Reviewed-on: https://chromium-review.googlesource.com/512343Reviewed-by: Andrii Shyshkalov <tandrii@chromium.org> Commit-Queue: Andrii Shyshkalov <tandrii@chromium.org>
-
Paweł Hajdan, Jr authored
This feature appears unused, and removing it will simplify the codebase. Bug: 661382 Change-Id: I545befb2c592eea53c54552018ce2d3dda7670f5 Reviewed-on: https://chromium-review.googlesource.com/509693 Commit-Queue: Paweł Hajdan Jr. <phajdan.jr@chromium.org> Reviewed-by: Dirk Pranke <dpranke@chromium.org>
-
- 21 Jan, 2017 1 commit
-
-
Andrii Shyshkalov authored
Git cl decides if git-numberer is enabled on a repository by writing Gerrit's project.config from refs/meta/config into a tempfile, which is then queried using `git config -f tempfile --get ...`. The file itself is only flushed, but not closed after writing because Python's tempfile.NamedTemporaryFile is deleted on closing. This worked fine on Linix/Mac, but not on Windows, where `git config` apparently doesn't see file or its contents. This CL rewrites the above using yet another contexmanager temp directory into which a file is written and closed before git config is ran. R=machenbach@chromium.org,grt@chromium.org BUG=683202 Change-Id: I7974d66b1b2b0478ab4b6f7ac04e547a4981c46c Reviewed-on: https://chromium-review.googlesource.com/430719 Commit-Queue: Andrii Shyshkalov <tandrii@chromium.org> Reviewed-by: Vadim Shtayura <vadimsh@chromium.org>
-
- 16 Dec, 2016 1 commit
-
-
Quinten Yearsley authored
This affects a bunch of files, but only changes comments, and shouldn't make any difference to behavior. The purpose is to slightly improve readability of pylint disable comments. Change-Id: Ic6cd0f8de792b31d91c6125f6da2616450b30f11 Reviewed-on: https://chromium-review.googlesource.com/420412Reviewed-by: Aaron Gable <agable@chromium.org> Commit-Queue: Quinten Yearsley <qyearsley@chromium.org>
-
- 20 Oct, 2016 1 commit
-
-
agable authored
This removes SVN support (most notably the SVNWrapper class, and the git-svn logic in GitWrapper.GetUsableRev) from gclient_scm. It also removes some references to SVN from comments in gclient_utils. R=maruel@chromium.org BUG=641588 Review-Url: https://chromiumcodereview.appspot.com/2393773003
-
- 11 Oct, 2016 2 commits
-
-
tandrii authored
Revert of gclient: kill git fetch operation that hangs. (patchset #12 id:220001 of https://codereview.chromium.org/2241843002/ ) Reason for revert: Didn't help. Original issue's description: > gclient: kill git fetch operation that hangs. > > This provides env variable GCLIENT_KILL_GIT_FETCH_AFTER > that kills git fetch if it produces no output for that > many seconds. > > Note that this is not final patch, but an experiment. > See http://crbug.com/635641#c24 for the deployment plan. > > BUG=635641 > R=hinoka@chromium.org > > Committed: https://chromium.googlesource.com/chromium/tools/depot_tools/+/f8757b7e02226594655230ccbeae3543c7dc49c6 TBR=hinoka@chromium.org,hinoka@google.com # Not skipping CQ checks because original CL landed more than 1 days ago. BUG=635641 Review-Url: https://codereview.chromium.org/2410853002
-
tandrii authored
Revert of bot_update/gclient: kill git fetch after timeout regardless of output. (patchset #2 id:20001 of https://codereview.chromium.org/2293013002/ ) Reason for revert: didn't work. Original issue's description: > bot_update/gclient: kill git fetch after timeout regardless of output. > > Also spits out whatever output was produced by git fetch for debugging. > > BUG=635641 > R=machenbach@chromium.org,hinoka@chromium.org > > Committed: https://chromium.googlesource.com/chromium/tools/depot_tools/+/db8b839320168ab4f5156399ecb275478c0aa2cd TBR=hinoka@chromium.org,machenbach@chromium.org # Not skipping CQ checks because original CL landed more than 1 days ago. BUG=635641 Review-Url: https://codereview.chromium.org/2410053002
-
- 30 Aug, 2016 1 commit
-
-
tandrii authored
Also spits out whatever output was produced by git fetch for debugging. BUG=635641 R=machenbach@chromium.org,hinoka@chromium.org Review-Url: https://codereview.chromium.org/2293013002
-
- 25 Aug, 2016 1 commit
-
-
tandrii authored
This provides env variable GCLIENT_KILL_GIT_FETCH_AFTER that kills git fetch if it produces no output for that many seconds. Note that this is not final patch, but an experiment. See http://crbug.com/635641#c24 for the deployment plan. BUG=635641 R=hinoka@chromium.org Review-Url: https://codereview.chromium.org/2241843002
-
- 24 Aug, 2016 1 commit
-
-
agable authored
These tools are relatively standalone, and only ever worked for SVN. Removing these is a good start to removing other SVN support code. R=maruel@chromium.org BUG=475321 Review-Url: https://codereview.chromium.org/2269413002
-
- 09 Aug, 2016 1 commit
-
-
hanpfei authored
if when execute command "git rev-parse --show-toplevel" in a directory that is not a subdirectory of a git repo, CheckCallAndFilter will not throw exception, so the top_dir may be updated with a invalid path. BUG=633971 Signed-off-by: hanpfei <hanpfei@gmail.com> Review-Url: https://codereview.chromium.org/2200193003
-
- 08 Jun, 2016 1 commit
-
-
hinoka authored
There are entries in the DEPS file where two folders uses the same git URL (ie. freetype2). This doesn't work well with git caches because each task will run on it's own and might try to clobber on top of each other. This adds another field in a WorkItem which is a list of resources. When the work queue is flushed, it has to make sure that none of a newly added workitem has any resource conflicts. BUG=618124 Review-Url: https://codereview.chromium.org/2049583003
-
- 20 Apr, 2016 1 commit
-
-
gab@chromium.org authored
BUG=605201 Review URL: https://codereview.chromium.org/1905693002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@300049 0039d316-1c4b-4281-b951-d872f2087c98
-
- 05 Jun, 2015 1 commit
-
-
sbc@chromium.org authored
Based on yapf (https://github.com/google/yapf) this formatter currently only works with --full. It defaults to pep8 style and projects that use a different style can add .style.yapf to the top level. Review URL: https://codereview.chromium.org/1156743008 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@295547 0039d316-1c4b-4281-b951-d872f2087c98
-
- 03 Jun, 2015 1 commit
-
-
dpranke@chromium.org authored
Since we no longer have a 32-bit Linux GN binary, we shouldn't try to point to one in the gn.py wrapper; this was hiding a bug on one of the NaCl bots. R=brettw@chromium.org BUG= Review URL: https://codereview.chromium.org/1152163008 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@295520 0039d316-1c4b-4281-b951-d872f2087c98
-
- 20 Apr, 2015 1 commit
-
-
jiangj@opera.com authored
GetPrimarySolutionPath() is used by GetBuildtoolsPath() to locate the chromium/src directory, its return value shouldn't include 'buildtools', since GetBuildtoolsPath() will append another one to it. Introduced by https://codereview.chromium.org/933383002 Review URL: https://codereview.chromium.org/1072973003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294894 0039d316-1c4b-4281-b951-d872f2087c98
-
- 23 Feb, 2015 1 commit
-
-
erg@chromium.org authored
If the repository has third_party/dart-sdk/ unpacked, use that to format dart files modified in the current patch. BUG=459376 R=maruel@chromium.org, zra@google.com Review URL: https://codereview.chromium.org/933383002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294179 0039d316-1c4b-4281-b951-d872f2087c98
-
- 07 Jan, 2015 1 commit
-
-
dnj@chromium.org authored
BUG=chromium:444597 Review URL: https://codereview.chromium.org/819133003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@293549 0039d316-1c4b-4281-b951-d872f2087c98
-
- 25 Dec, 2014 1 commit
-
-
loislo@chromium.org authored
The root of problem is a _cache_temp file. git_cache expected that it is a folder. So rmtree failed to remove it. BUG= TBR= dpranke@chromium.org, enne@chromium.org NOTRY=true Review URL: https://codereview.chromium.org/825133002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@293502 0039d316-1c4b-4281-b951-d872f2087c98
-
- 12 Nov, 2014 1 commit
-
-
ncbray@chromium.org authored
BUG=https://code.google.com/p/chromium/issues/detail?id=430602 R=bradnelson@google.com, dpranke@chromium.org Review URL: https://codereview.chromium.org/718213002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@292912 0039d316-1c4b-4281-b951-d872f2087c98
-
- 05 Sep, 2014 1 commit
-
-
kjellander@chromium.org authored
In https://codereview.chromium.org/341533006/ a change was made so that gn.py is not looking for the .gn file to identify the root of the checkout. This breaks GN functionality for projects that uses gclient but have a top directory named something else than 'src'. This change adds support for arbitrarily named primary (the first) solutions in the .gclient file. It also adds a check for the generated GN path so a friendly error message can be printed if the GN executable cannot be found. BUG=389883 TESTED=Various cases of Chromium, WebRTC and custom checkouts with .gclient containing empty solution list, solution missing the 'name' key and so on. Review URL: https://codereview.chromium.org/538393002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@291819 0039d316-1c4b-4281-b951-d872f2087c98
-
- 13 Aug, 2014 1 commit
-
-
zturner@chromium.org authored
This is useful in certain (admittedly unsupported) cases when trying to use tools from depot_tools outside of a chrome repository. In this particular case, I was trying to "git cl format" something that wasn't a chrome repository. BUG=0 Review URL: https://codereview.chromium.org/472553003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@289412 0039d316-1c4b-4281-b951-d872f2087c98
-
- 06 Aug, 2014 1 commit
-
-
primiano@chromium.org authored
Original CL: https://codereview.chromium.org/440263002/ Many people* have complained on chromium-dev about the long times required to perform a full fetch over a DSL. This seems to be mostly due to the huge size of chromium's history (~9 GB). On the other side, not everybody is interested in downloading the full git history of the projects. The size of git packs required to fetch a working HEAD is one order of magnitude smaller (1.5 GB). This change makes it possible to perform a shallow fetch (in a way which is consistent with DEPS, leveraging git templates on clone), reducing fetch times by 80% for those not interested in the history. * See: [chromium-dev] "fetch chromium" keeps hanging/getting stuck on Windows 7 [chromium-dev] Initial checkout with git taking long [chromium-dev] Trying to get latest source code fails when fetching [chromium-dev] Gclient sync takes too long BUG=228996 TBR=iannucci@chromium.org,szager@chromium.org,wtc@chromium.org Review URL: https://codereview.chromium.org/440273002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@287793 0039d316-1c4b-4281-b951-d872f2087c98
-
- 05 Aug, 2014 2 commits
-
-
primiano@chromium.org authored
Revert of Add --no-history option to fetch and gclient for shallow clones. (https://codereview.chromium.org/437903002/) Reason for revert: Broke the WebRTC waterfall: http://build.chromium.org/p/tryserver.webrtc/builders/win/builds/3958/steps/gclient%20revert/logs/stdio Original issue's description: > Add --no-history option to fetch and gclient for shallow clones. > > Many people* have complained on chromium-dev about the long times > required to perform a full fetch over a DSL. This seems to be mostly > due to the huge size of chromium's history (~9 GB). On the other side, > not everybody is interested in downloading the full git history of > the projects. The size of git packs required to fetch a working HEAD > is one order of magnitude smaller (1.5 GB). > This change makes it possible to perform a shallow fetch (in a way > which is consistent with DEPS, leveraging git templates on clone), > reducing fetch times by 80% for those not interested in the history. > > * See: > [chromium-dev] "fetch chromium" keeps hanging/getting stuck on Windows 7 > [chromium-dev] Initial checkout with git taking long > [chromium-dev] Trying to get latest source code fails when fetching > [chromium-dev] Gclient sync takes too long > > BUG=228996 > > Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=287606 TBR=iannucci@chromium.org,szager@chromium.org,wtc@chromium.org NOTREECHECKS=true NOTRY=true BUG=228996 Review URL: https://codereview.chromium.org/440263002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@287637 0039d316-1c4b-4281-b951-d872f2087c98
-
primiano@chromium.org authored
Many people* have complained on chromium-dev about the long times required to perform a full fetch over a DSL. This seems to be mostly due to the huge size of chromium's history (~9 GB). On the other side, not everybody is interested in downloading the full git history of the projects. The size of git packs required to fetch a working HEAD is one order of magnitude smaller (1.5 GB). This change makes it possible to perform a shallow fetch (in a way which is consistent with DEPS, leveraging git templates on clone), reducing fetch times by 80% for those not interested in the history. * See: [chromium-dev] "fetch chromium" keeps hanging/getting stuck on Windows 7 [chromium-dev] Initial checkout with git taking long [chromium-dev] Trying to get latest source code fails when fetching [chromium-dev] Gclient sync takes too long BUG=228996 Review URL: https://codereview.chromium.org/437903002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@287606 0039d316-1c4b-4281-b951-d872f2087c98
-