1. 06 Aug, 2014 1 commit
    • primiano@chromium.org's avatar
      Reland: Add --no-history option to fetch and gclient for shallow clones. · 5439ea59
      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
      5439ea59
  2. 05 Aug, 2014 3 commits
  3. 01 Aug, 2014 2 commits
  4. 31 Jul, 2014 1 commit
  5. 29 Jul, 2014 2 commits
  6. 28 Jul, 2014 5 commits
  7. 25 Jul, 2014 2 commits
  8. 23 Jul, 2014 1 commit
  9. 19 Jul, 2014 3 commits
  10. 17 Jul, 2014 1 commit
  11. 16 Jul, 2014 1 commit
  12. 15 Jul, 2014 1 commit
  13. 08 Jul, 2014 2 commits
  14. 07 Jul, 2014 4 commits
  15. 02 Jul, 2014 3 commits
  16. 01 Jul, 2014 1 commit
  17. 30 Jun, 2014 1 commit
    • cmp@chromium.org's avatar
      Add recurselist DEPS var setting. · e84ac911
      cmp@chromium.org authored
      Previously, recursion overrides were only available by setting
      a numeric 'depth' value in a DEPS file.  This meant that it
      was not possible to control recursion per-dependency entry.
      
      This change adds a recurselist variable with a list structure.
      If a named dependency is present in the list, then gclient will
      recurse into that dependency's DEPS.
      
      As part of this change, I move the recursion controls off of
      DependencySetting and onto Dependency.  The new setup of being
      based on Dependency allows access to the dependency's name.
      
      The controls are only called from Dependency instances.  They
      have always needed access to self.parent (in the Dependency
      context), so this should be more correct than the previous setup.
      
      BUG=390246
      
      Review URL: https://codereview.chromium.org/331373009
      
      git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@280690 0039d316-1c4b-4281-b951-d872f2087c98
      e84ac911
  18. 28 Jun, 2014 1 commit
  19. 27 Jun, 2014 4 commits
  20. 26 Jun, 2014 1 commit
    • hinoka@chromium.org's avatar
      Have git cache bootstrap repo if repo is corrupt · aa1e1a4f
      hinoka@chromium.org authored
      We're seeing fetches fail in interesting ways:
      running "git fetch -v --progress origin +refs/heads/*:refs/heads/*" in "/mnt/scratch0/b_used/build/slave/cache_dir/chrome--internal.googlesource.com-chrome-src--internal"
      error: object file ./objects/a1/4bd89aa4cc7d7bbad7594cba0ae73e99dbb54c is empty
      error: object file ./objects/a1/4bd89aa4cc7d7bbad7594cba0ae73e99dbb54c is empty
      fatal: loose object a14bd89aa4cc7d7bbad7594cba0ae73e99dbb54c (stored in ./objects/a1/4bd89aa4cc7d7bbad7594cba0ae73e99dbb54c) is corrupt
      fatal: The remote end hung up unexpectedly
      
      And then the cache becomes corrupted.  This blows the cache away if this happens.
      
      BUG=261741
      
      Review URL: https://codereview.chromium.org/352543003
      
      git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@280123 0039d316-1c4b-4281-b951-d872f2087c98
      aa1e1a4f