1. 18 Mar, 2014 1 commit
  2. 13 Mar, 2014 2 commits
  3. 12 Mar, 2014 1 commit
  4. 11 Mar, 2014 1 commit
  5. 10 Mar, 2014 2 commits
  6. 01 Mar, 2014 1 commit
  7. 28 Feb, 2014 1 commit
    • hinoka@google.com's avatar
      Make gclient_scm.py use cache_dir · 267f33e6
      hinoka@google.com authored
      Instead of having custom logic for dealing with cache directories, use
      git_cache.py to populate caches.
      
      Also fixes a bug in git_cache.py where it was looking for lockfiles in cwd rather than the cache dir.
      
      Other changes:
      * _Run now returns output.
      * Always print to stdout in CheckCallAndFilterOutput, even if it gets a carriage return.  This is done because git progress report are carriage returns and not newlines and we don't want everything on the same line and not strip out the CRs.
      * Removed members changed tests, its not very useful to know a new import is added.
      
      BUG=339171
      
      Review URL: https://codereview.chromium.org/180243006
      
      git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@254248 0039d316-1c4b-4281-b951-d872f2087c98
      267f33e6
  8. 26 Feb, 2014 3 commits
  9. 24 Feb, 2014 1 commit
  10. 21 Feb, 2014 1 commit
  11. 20 Feb, 2014 1 commit
  12. 13 Feb, 2014 2 commits
  13. 11 Feb, 2014 4 commits
  14. 06 Feb, 2014 1 commit
  15. 05 Feb, 2014 1 commit
  16. 30 Jan, 2014 1 commit
  17. 23 Jan, 2014 1 commit
  18. 21 Jan, 2014 1 commit
  19. 17 Jan, 2014 3 commits
  20. 16 Jan, 2014 1 commit
  21. 14 Jan, 2014 3 commits
  22. 09 Jan, 2014 1 commit
  23. 03 Jan, 2014 1 commit
  24. 19 Dec, 2013 1 commit
  25. 18 Dec, 2013 1 commit
  26. 16 Dec, 2013 1 commit
  27. 12 Dec, 2013 2 commits
    • bratell@opera.com's avatar
      Avoid windows presubmit hang in gclient tests. · 0ee42a68
      bratell@opera.com authored
      If os.kill(os.getpid(), signal.CTRL_C_EVENT) doesn't do what the
      test author hopes it will do, the test will hang until it has calculated
      a million out-of-thread/process results. That is approximately an
      infinite hang.
      
      BUG=
      
      Review URL: https://codereview.chromium.org/110883004
      
      git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@240319 0039d316-1c4b-4281-b951-d872f2087c98
      0ee42a68
    • hinoka@chromium.org's avatar
      Adds SSO auth to gsutil · c6a2ee69
      hinoka@chromium.org authored
      Code path:
      1. plugins.sso_auth is imported, which adds the AuthHandler class to the global state.
      2. HasConfiguredCredentials() in gslib/utils.py is called by gsutil, and will return true if "prodaccess" exists on the system, which tells the system that we don't want a no-op auth handler.
      3. When a command is called, all the auth handlers are cycled through and sso_auth.SSOAuth is called, which calls a stubby command to emit a gaiamint'ed oauth2 access token, which is then used as the Authorization Header
      
      if --bypass_prodaccess is passed in, then:
      1. HasConfiguredCredentials() will bypass the check for prodaccess, as if it didn't exist.
      2. plugins.sso_auth does not get imported.
      Which will essentially cause gsutil to behave as if this patch never existed.
      
      So the expected behavior is:
      =.boto file does not exist, prodaccess exists, but unauthenticated=
      Failure: No handler was ready to authenticate. 3 handlers were checked. ['OAuth2Auth', 'HmacAuthV1Handler', 'SSOAuth'] Check your credentials.
      
      =.boto file exists, prodaccess exists, but unauthenticated=
      sso_auth will raise NotReadyToAuthenticate, and the .boto file will be used instead
      
      =.boto file exists, prodaccess exists, authenticated=
      sso_auth will be run _after_ the default gsutil authenticator, which causes the sso_auth to be used over whatever the default authentication is.
      
      bypass_prodaccess is passed in by default to upload_to_google_storage because we expect people who use upload_to_google_storage to not need prodaccess and have their own boto file already.  Also the sso_auth plugin will only request a readonlyi token, which will not work for uploading.
      
      BUG=258152
      
      Review URL: https://codereview.chromium.org/86123002
      
      git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@240266 0039d316-1c4b-4281-b951-d872f2087c98
      c6a2ee69