- 09 Feb, 2018 1 commit
-
-
Torne (Richard Coles) authored
After the initial gclient sync, "fetch --no-history" was adding a fetchspec to the config for the main repository that causes all tags to be downloaded in future. This means that after fetching a repository with no history, the very next git pull (or other remote update operation) will download all the tags, including all the history referred to by those tags, leaving you with an almost-complete checkout of the top-level repository that takes up much more space. Fix this by skipping the "git config" command that requests the tags when using no-history. Change-Id: Ia31baa6a90df014ebc1e8c2ed6e05de3ad27d415 Reviewed-on: https://chromium-review.googlesource.com/909653Reviewed-by:
Aaron Gable <agable@chromium.org> Commit-Queue: Richard Coles <torne@chromium.org>
-
- 29 Jan, 2018 1 commit
-
-
Edward Lemur authored
Add an option to not store stdout when running commands unless it's needed. R=agable@chromium.org Bug: 722686 Change-Id: I402c83767097d53e588ba3e8bca89291712a572f Reviewed-on: https://chromium-review.googlesource.com/888584Reviewed-by:
Aaron Gable <agable@chromium.org> Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
-
- 29 Nov, 2017 1 commit
-
-
Aaron Gable authored
This was broken by 209a681f, which replaced self.run() with git_common.run(), thus bypassing self.run()'s dry_run check. Bug: 788562 Change-Id: I9964c169b0ff56778c4660acab7ef7c010e37a36 Reviewed-on: https://chromium-review.googlesource.com/797611 Commit-Queue: Aaron Gable <agable@chromium.org> Reviewed-by:
Andrii Shyshkalov <tandrii@chromium.org>
-
- 12 Jul, 2017 1 commit
-
-
Dan Jacques authored
Several tools, including the "git" recipe module, hard-code a checkout-relative "git.bat" path. Git is a feature that is provided by the system, both to tooling and recipes: 1) For users, "depot_tools" must be on PATH, and during setup it will have installed "git.bat", ensuring that Git tooling is available in PATH. 2) For bots, the system is responsible for providing "git.bat" on PATH. This is typically done at "/b/depot_tools/git.bat", which is sync'd through the "update_scripts" step. By formally treating Git as a system resource, we absolve Windows bots and users from manually installing a depot_tools-local Git, bringing them in line with other platforms. BUG=chromium:590806 TEST=local Change-Id: I93e89855cdd330a2ba7a8cfb8117a1789d1ab54e Reviewed-on: https://chromium-review.googlesource.com/568694 Commit-Queue: Daniel Jacques <dnj@chromium.org> Reviewed-by:
Robbie Iannucci <iannucci@chromium.org>
-
- 16 Dec, 2016 1 commit
-
-
Dr Alex Gouaillard authored
BUG= Change-Id: I33aa83c36721059005b86fe8538560c302bbd4b5 Reviewed-on: https://chromium-review.googlesource.com/414692Reviewed-by:
Henrik Kjellander <kjellander@chromium.org> Reviewed-by:
Aaron Gable <agable@chromium.org> Commit-Queue: Henrik Kjellander <kjellander@chromium.org>
-
- 26 Sep, 2016 1 commit
-
-
agable authored
R=iannucci@chromium.org BUG=475320 Review-Url: https://codereview.chromium.org/2360873002
-
- 22 Sep, 2016 1 commit
-
-
agable authored
We no longer support git-svn as a workflow. R=iannucci@chromium.org BUG=475320 Review-Url: https://codereview.chromium.org/2360143002
-
- 09 May, 2016 1 commit
-
-
iannucci@chromium.org authored
This was breaking presubmit because the linked gae_ts_mon subdir was absent. R=andybons@chromium.org, dsansome@chromium.org, dnj@chromium.org BUG=608490 Review-Url: https://codereview.chromium.org/1959193002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@300511 0039d316-1c4b-4281-b951-d872f2087c98
-
- 04 Dec, 2015 1 commit
-
-
luqui@chromium.org authored
We are making depot_tools a proper (chromium) recipe package, which assumes that recipes are located in recipes/. So I need to move these other kinds of recipes out of the way. BUG=564920 R=dpranke@chromium.org, iannucci@chromium.org Review URL: https://codereview.chromium.org/1494793002 . git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@297837 0039d316-1c4b-4281-b951-d872f2087c98
-
- 19 Sep, 2015 1 commit
-
-
thestig@chromium.org authored
Review URL: https://codereview.chromium.org/1360493002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@296782 0039d316-1c4b-4281-b951-d872f2087c98
-
- 17 Jun, 2015 1 commit
-
-
mmoss@chromium.org authored
BUG=501173 R=dpranke@chromium.org, scottmg@chromium.org Review URL: https://codereview.chromium.org/1183703003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@295725 0039d316-1c4b-4281-b951-d872f2087c98
-
- 15 Jun, 2015 2 commits
-
-
agable@chromium.org authored
This reverts commit 78624b68. The reason is that install-build-deps.sh isn't meant to be run on mac or windows, and this implementation ran it everywhere. TBR=dpranke@chromium.org BUG=229270 Review URL: https://codereview.chromium.org/1186893003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@295686 0039d316-1c4b-4281-b951-d872f2087c98
-
agable@chromium.org authored
R=mmoss@chromium.org BUG=229270 Review URL: https://codereview.chromium.org/1187913002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@295679 0039d316-1c4b-4281-b951-d872f2087c98
-
- 10 Jun, 2015 1 commit
-
-
mmoss@chromium.org authored
BUG=230693 R=agable@chromium.org Review URL: https://codereview.chromium.org/1169403002. git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@295611 0039d316-1c4b-4281-b951-d872f2087c98
-
- 26 Feb, 2015 1 commit
-
-
sbc@chromium.org authored
Handle KeyboardInterrupt gracefully rather the printing a backtrace. Most users of these tools don't expect a backtrace when then hit Ctrl-C. Also, fix a few other inconsistencies found in the python startup code of these different scripts: - always call main function 'main' (rather than 'Main') - always return 0 from main function - if main takes args never include argv[0] Review URL: https://codereview.chromium.org/955993006 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294250 0039d316-1c4b-4281-b951-d872f2087c98
-
- 25 Nov, 2014 1 commit
-
-
agable@chromium.org authored
R=kjellander@chromium.org Review URL: https://codereview.chromium.org/753383002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@293110 0039d316-1c4b-4281-b951-d872f2087c98
-
- 22 Oct, 2014 1 commit
-
-
agable@chromium.org authored
R=machenbach@chromium.org BUG=415464 Review URL: https://codereview.chromium.org/656623003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@292588 0039d316-1c4b-4281-b951-d872f2087c98
-
- 06 Aug, 2014 2 commits
-
-
iannucci@chromium.org authored
R=agable@chromium.org BUG=366884 Review URL: https://codereview.chromium.org/358203002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@287832 0039d316-1c4b-4281-b951-d872f2087c98
-
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
-
- 06 May, 2014 1 commit
-
-
jochen@chromium.org authored
BUG=none R=dpranke@chromium.org,machenbach@chromium.org Review URL: https://codereview.chromium.org/225743005 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@268466 0039d316-1c4b-4281-b951-d872f2087c98
-
- 03 Apr, 2014 1 commit
-
-
iannucci@chromium.org authored
R=agable@chromium.org BUG= Review URL: https://codereview.chromium.org/212413002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@261264 0039d316-1c4b-4281-b951-d872f2087c98
-
- 18 Mar, 2014 1 commit
-
-
szager@chromium.org authored
BUG= Review URL: https://codereview.chromium.org/202753003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@257728 0039d316-1c4b-4281-b951-d872f2087c98
-
- 20 Feb, 2014 1 commit
-
-
mmoss@chromium.org authored
The git path is based on the git version, so it might change whenever git is updated. Run git.bat instead, since that's updated with new git installs and should always point to the right path. Review URL: https://codereview.chromium.org/173393002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@252299 0039d316-1c4b-4281-b951-d872f2087c98
-
- 12 Feb, 2014 1 commit
-
-
wtc@chromium.org authored
This typo was introduced in https://codereview.chromium.org/106403003. Rename options.dryrun to options.dry_run. R=agable@chromium.org,dpranke@chromium.org BUG=none TEST=none Review URL: https://codereview.chromium.org/138623008 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@250802 0039d316-1c4b-4281-b951-d872f2087c98
-
- 13 Dec, 2013 1 commit
-
-
digit@chromium.org authored
'fetch chromium' will fail if the build dependencies are not already installed on the host machine, because it runs 'gclient sync' which, by default, will run hooks that will try to run build/gyp_chromium (which will then fail). This introduces a --nohooks option that solve the problem by allowing the user to do the following: 1) fetch --nohooks <recipe> 2) src/build/install-build-deps.sh 3) fetch <recipe> BUG=325795 TEST=Run 'fetch --nohooks chromium' in a temporary 'clean' chroot directory. R=maruel@chromium.org,jochen@chromium.org,scottmg@chromium.org,agable@chromium.org Review URL: https://codereview.chromium.org/106403003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@240680 0039d316-1c4b-4281-b951-d872f2087c98
-
- 18 Apr, 2013 1 commit
-
-
janx@chromium.org authored
Follow the explicit iteration order of the spec keys array instead of relying on the arbitrary iteration order of the hashtable. BUG= Review URL: https://chromiumcodereview.appspot.com/13878009 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@194973 0039d316-1c4b-4281-b951-d872f2087c98
-
- 12 Apr, 2013 2 commits
-
-
dpranke@chromium.org authored
to tell the user how to recover from partial checkouts and what to do with an existing checkout. R=iannucci@chromium.org BUG=230691 Review URL: https://chromiumcodereview.appspot.com/13945020 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@194019 0039d316-1c4b-4281-b951-d872f2087c98
-
dpranke@chromium.org authored
R=maruel@chromium.org BUG=227526 Review URL: https://chromiumcodereview.appspot.com/14093004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@193865 0039d316-1c4b-4281-b951-d872f2087c98
-
- 11 Apr, 2013 1 commit
-
-
jochen@chromium.org authored
This allows non-committers to use fetch to checkout chromium or blink using $ fetch chromium --nosvn=true BUG=230357 R=dpranke@chromium.org Review URL: https://codereview.chromium.org/13910005 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@193713 0039d316-1c4b-4281-b951-d872f2087c98
-
- 04 Apr, 2013 2 commits
-
-
dpranke@chromium.org authored
R=maruel@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/13532013 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@192358 0039d316-1c4b-4281-b951-d872f2087c98
-
agable@chromium.org authored
R=dpranke@chromium.org,iannucci@chromium.org Review URL: https://chromiumcodereview.appspot.com/13540004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@192205 0039d316-1c4b-4281-b951-d872f2087c98
-
- 03 Apr, 2013 7 commits
-
-
dpranke@chromium.org authored
TBR=maruel@chromium.org, agable@chromium.org BUG= Review URL: https://codereview.chromium.org/13589003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@192170 0039d316-1c4b-4281-b951-d872f2087c98
-
dpranke@chromium.org authored
TBR=iannucci@chromium.org, maruel@chromium.org, agable@chromium.org Review URL: https://codereview.chromium.org/13582005 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@192164 0039d316-1c4b-4281-b951-d872f2087c98
-
dpranke@chromium.org authored
TBR=iannucci@chromium.org, agable@chromium.org, maruel@chromium.org Review URL: https://codereview.chromium.org/13588004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@192160 0039d316-1c4b-4281-b951-d872f2087c98
-
dpranke@chromium.org authored
TBR=iannucci@chromium.org, agable@chromium.org, maruel@chromium.org Review URL: https://codereview.chromium.org/13586005 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@192157 0039d316-1c4b-4281-b951-d872f2087c98
-
dpranke@chromium.org authored
This is done as a hack since we don't really have real option parsing :(. R=iannucci@chromium.org, agable@chromium.org, maruel@chromium.org Review URL: https://codereview.chromium.org/13586004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@192154 0039d316-1c4b-4281-b951-d872f2087c98
-
dpranke@chromium.org authored
TBR=iannucci@chromium.org, maruel@chromium.org BUG= Review URL: https://codereview.chromium.org/13586003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@192135 0039d316-1c4b-4281-b951-d872f2087c98
-
agable@chromium.org authored
This is the bare minimum to have fetch.py working for chromium. The DEPS file pulls the new tools/recipes repo in, which will contain the recipe for chromium and all other checkout recipes eventually (followup CL coming shortly). fetch and fetch.bat simply invoke fetch.py. fetch.py takes a recipe and some arguments on the command line, invokes the recipe to get its instructions, and performs the actual checkout. Currently only supports Gclient-Git-Svn checkout (the kind needed for Chromium), but other checkout types will be pulled from annotated_checkout.py soon. Review URL: https://codereview.chromium.org/13463006 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@192130 0039d316-1c4b-4281-b951-d872f2087c98
-