- 22 May, 2015 1 commit
-
-
akuegel@chromium.org authored
BUG=487172 Review URL: https://codereview.chromium.org/1150663002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@295375 0039d316-1c4b-4281-b951-d872f2087c98
-
- 15 May, 2015 1 commit
-
-
machenbach@chromium.org authored
BUG=488235 PRESUBMIT=false R=nodir@chromium.org Review URL: https://codereview.chromium.org/1143573002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@295275 0039d316-1c4b-4281-b951-d872f2087c98
-
- 12 May, 2015 1 commit
-
-
sheyang@google.com authored
TEST=local run on Linux desktop and Macbook NOPRESUBMIT=true(due to https://code.google.com/p/chromium/issues/detail?id=487172) BUG=461614 R=maruel@chromium.org, nodir@chromium.org, vadimsh@chromium.org Review URL: https://codereview.chromium.org/1063103002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@295236 0039d316-1c4b-4281-b951-d872f2087c98
-
- 06 May, 2015 1 commit
-
-
thakis@chromium.org authored
BUG=none NOTRY=true NOPRESUBMIT=true Review URL: https://codereview.chromium.org/1131643003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@295155 0039d316-1c4b-4281-b951-d872f2087c98
-
- 04 May, 2015 1 commit
-
-
luqui@chromium.org authored
NOPRESUBMIT because it's broke on CQ, Cf. https://codereview.chromium.org/1124803002 BUG=478260 NOPRESUBMIT=true Review URL: https://codereview.chromium.org/1110293002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@295124 0039d316-1c4b-4281-b951-d872f2087c98
-
- 30 Apr, 2015 1 commit
-
-
estaab@chromium.org authored
Change depot_tools presubmit to use infra rietveld from head. Also disable newly added backends by specifying app.yaml explicitly. BUG=481568 Review URL: https://codereview.chromium.org/1110403003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@295099 0039d316-1c4b-4281-b951-d872f2087c98
-
- 29 Apr, 2015 2 commits
-
-
stip@chromium.org authored
NOPRESUBMIT=true Review URL: https://codereview.chromium.org/1113453007 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@295075 0039d316-1c4b-4281-b951-d872f2087c98
-
wychen@chromium.org authored
Also, if one --last_week option is given, the date range should be strictly one week before when without the option. BUG= Review URL: https://codereview.chromium.org/1086083007 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@295052 0039d316-1c4b-4281-b951-d872f2087c98
-
- 28 Apr, 2015 2 commits
-
-
wychen@chromium.org authored
After crrev.com/896453002, if "git cl diff" ends up having conflict, it would be cleaned up. However, if "git cl patch" ends up with conflict, the user should still be able to manually resolve them. BUG=438362 TEST=tests/git_cl_test.py Review URL: https://codereview.chromium.org/1091283004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@295051 0039d316-1c4b-4281-b951-d872f2087c98
-
wychen@chromium.org authored
The assertion in TestGitCl.tearDown should be done after super.tearDown is finished. Otherwise if the assertion fails, mocked objects won't be restored properly, and the next TestCase would be affected. Review URL: https://codereview.chromium.org/1093943002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@295049 0039d316-1c4b-4281-b951-d872f2087c98
-
- 27 Apr, 2015 1 commit
-
-
sergiyb@google.com authored
R=akuegel@chromium.org,pgervais@chromium.org BUG=477454 Review URL: https://codereview.chromium.org/1099143002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@295007 0039d316-1c4b-4281-b951-d872f2087c98
-
- 22 Apr, 2015 1 commit
-
-
sbc@chromium.org authored
Also, don't use assert for user error handling plus some other general python cleanup. NOPRESUBMIT=true (presubmit is broken) Review URL: https://codereview.chromium.org/1091603002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294950 0039d316-1c4b-4281-b951-d872f2087c98
-
- 21 Apr, 2015 3 commits
-
-
agable@chromium.org authored
R=maruel@chromium.org BUG=475714 Review URL: https://codereview.chromium.org/1092313003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294925 0039d316-1c4b-4281-b951-d872f2087c98
-
vadimsh@chromium.org authored
depot_tools' git wrapper for some reason overrides %HOME% to point to depot_tools directory, and thus scripts running as git subprocesses (git_cl.py) use not the same HOME as scripts that run outside of git process tree (depot-tools-auth.py). Instead always use USERPROFILE in auth.py to consistently pick same directory. This issue happens only when HOME is not set globally. It can explain why it wasn't seen earlier. R=iannucci@chromium.org BUG=356813 Review URL: https://codereview.chromium.org/1082833004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294911 0039d316-1c4b-4281-b951-d872f2087c98
-
vadimsh@chromium.org authored
There are some mysterious issues happening to some Windows users. Verbose log can be helpful. R=maruel@chromium.org BUG=356813 Review URL: https://codereview.chromium.org/1051143004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294910 0039d316-1c4b-4281-b951-d872f2087c98
-
- 20 Apr, 2015 2 commits
-
-
vadimsh@chromium.org authored
ClientLogin will be supposedly turned off on Apr 20. R=maruel@chromium.org BUG=356813 Review URL: https://codereview.chromium.org/1095033002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294899 0039d316-1c4b-4281-b951-d872f2087c98
-
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
-
- 18 Apr, 2015 1 commit
-
-
phajdan.jr@chromium.org authored
BUG=none Review URL: https://codereview.chromium.org/1093913003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294890 0039d316-1c4b-4281-b951-d872f2087c98
-
- 17 Apr, 2015 2 commits
-
-
sheyang@chromium.org authored
BUG= Review URL: https://codereview.chromium.org/1091163002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294877 0039d316-1c4b-4281-b951-d872f2087c98
-
vadimsh@chromium.org authored
OAuth token cache file (as implemented by oauth2client library) stores refresh token and can in theory be deployed via Puppet as the credential. But it is mutated by the library (to store access tokens, rotated each hour), and so it is not static and managing it via Puppet (or however else) is a big pain. Instead, now depot_tools accepts --auth-refresh-token-json parameter with a path to a static JSON file (with minimal body being {"refresh_token": "....."}). It can be used to pass previously prepared refresh tokens of role accounts. It will be used for blink DEPS roller account and similar @chromium.org accounts. R=maruel@chromium.org BUG=356813 Review URL: https://codereview.chromium.org/1060193005 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294870 0039d316-1c4b-4281-b951-d872f2087c98
-
- 16 Apr, 2015 4 commits
-
-
peter@chromium.org authored
This CL implements support for file: include lines in OWNERS files, both as top-level directives and as per-file directives. The paths can be either relative or absolute. Examples of lines in OWNERS files: file:test/OWNERS (relative, top-level) file://content/OWNERS (absolute, top-level) per-file mock_impl.h=file:test/OWNERS (relative, per-file) per-file mock_impl.h=file://content/OWNERS (absolute, per-file) A whole series of tests to cover this feature have been added to owners_unittest.py as well. BUG=119396, 147633 Review URL: https://codereview.chromium.org/1085993004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294854 0039d316-1c4b-4281-b951-d872f2087c98
-
rmistry@google.com authored
The CQ dry run feature was announced in https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/G5-X0_tfmok The primary complain is that the presubmit builders fail because of OWNERS checks or because of "Missing LGTM from someone other than...". This change skips those checks for dry runs. BUG=chromium:477190 Review URL: https://codereview.chromium.org/1090943003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294853 0039d316-1c4b-4281-b951-d872f2087c98
-
akuegel@chromium.org authored
Revert of Upgrade 3rd packages (patchset #4 id:60001 of https://codereview.chromium.org/1085893002/) Reason for revert: This might have broken some internal tryserver bots. Original issue's description: > Upgrade 3rd packages > > BUG=461614 > R=nodir@chromium.org > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=294835 TBR=nodir@chromium.org,sheyang@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=461614 Review URL: https://codereview.chromium.org/1094533003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294841 0039d316-1c4b-4281-b951-d872f2087c98
-
sheyang@google.com authored
BUG=461614 R=nodir@chromium.org Review URL: https://codereview.chromium.org/1085893002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294835 0039d316-1c4b-4281-b951-d872f2087c98
-
- 14 Apr, 2015 1 commit
-
-
vadimsh@chromium.org authored
Internal Rietveld exposes OAuth2 compatible API via /bots/* endpoints, not via /* as public one does. See crbug.com/476690. R=maruel@chromium.org BUG=356813 Review URL: https://codereview.chromium.org/1082033002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294793 0039d316-1c4b-4281-b951-d872f2087c98
-
- 13 Apr, 2015 3 commits
-
-
vadimsh@chromium.org authored
This code path is not actually used yet, so the typo wasn't caught earlier. Also make sure access tokens have 'str' type, not 'unicode'. R=nodir@chromium.org BUG=356813 Review URL: https://codereview.chromium.org/1082133002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294789 0039d316-1c4b-4281-b951-d872f2087c98
-
sergiyb@chromium.org authored
This is needed to prevent auto_deploy.py in CQ send alert each time depot_tools get's updated as cron job will send alert on any output. R=stip@chromium.org CC=akuegel@chromium.org BUG=475049 Review URL: https://codereview.chromium.org/1073113004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294778 0039d316-1c4b-4281-b951-d872f2087c98
-
akuegel@chromium.org authored
BUG=356813 Review URL: https://codereview.chromium.org/1083693002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294777 0039d316-1c4b-4281-b951-d872f2087c98
-
- 10 Apr, 2015 1 commit
-
-
vadimsh@chromium.org authored
This CL introduces new top level command for managing cached auth tokens: $ depot-tools-auth login codereview.chromium.org $ depot-tools-auth info codereview.chromium.org $ depot-tools-auth logout codereview.chromium.org All scripts that use rietveld.Rietveld internally should be able to use cached credentials created by 'depot-tools-auth' subcommand. Also 'depot-tools-auth' is the only way to run login flow. If some scripts stumbles over expired or revoked token, it dies with the error, asking user to run 'depot-tools-auth login <hostname>'. Password login is still default. OAuth2 can be enabled by passing --oauth2 to all scripts. R=maruel@chromium.org BUG=356813 Review URL: https://codereview.chromium.org/1074673002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294764 0039d316-1c4b-4281-b951-d872f2087c98
-
- 09 Apr, 2015 2 commits
-
-
vadimsh@chromium.org authored
It is done in preparation for switching to OAuth2 as default (and only) authentication method. Having all auth options handled by the same code makes it easier to gradually add OAuth2 support. As part of this, some options that would no longer work with OAuth2 (and that are not being used from anywhere now, as far as I can tell) are removed: * Passing account password for authentication via command line. * Overriding 'Host' header when making requests to Rietveld (won't work with SSL anyway). * --account_type option (seems to be ClientLogin specific). R=maruel@chromium.org BUG=356813 Review URL: https://codereview.chromium.org/1075723002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294746 0039d316-1c4b-4281-b951-d872f2087c98
-
sbc@chromium.org authored
Error out of the current tree is dirty (previously the dirty content would be incorporated silently into the newly squashed branch!). Review URL: https://codereview.chromium.org/1064933004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294744 0039d316-1c4b-4281-b951-d872f2087c98
-
- 08 Apr, 2015 3 commits
-
-
primiano@chromium.org authored
crrev.com/348703002 has introduced some code into gclient_scm.py which disables the .git/hooks when gclient is running in managed mode. The disabling logic renames the individual hook files to hook.disabled using os.rename. Conversely to what happen on Posix OSs, on Windows os.rename does not have atomic rename semantics [1] and it fails if the destination file already exists. This change improves the hook disable logic. [1] See https://bugs.python.org/issue8828 and os.replace in Python 3 BUG=474218 Review URL: https://codereview.chromium.org/1063973002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294715 0039d316-1c4b-4281-b951-d872f2087c98
-
e.hakkinen@samsung.com authored
Review URL: https://codereview.chromium.org/1050853002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294714 0039d316-1c4b-4281-b951-d872f2087c98
-
dnj@chromium.org authored
Use 'realpath' instead of 'abspath' for self-discovery. This fixes an issue where 'gsutil' cannot find its dependencies when it is referenced through a symbolic link. Specifically, the symlink was: /b/scripts => /b/build/scripts 'gsutil' was called as: /b/scripts/slave/../../../depot_tools/third_party/gsutil/gsutil Because '/b/scripts/slave' resolves to '/b/build/scripts/slave', the three parent directory operators actually resolve to '/b', but 'os.path.abspath' blindly resolves them to '/'. BUG=chromium:474442 TEST=live - Signed onto failing bot, made this change, 'gsutil' works. R=hinoka@chromium.org Review URL: https://codereview.chromium.org/1060353002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294712 0039d316-1c4b-4281-b951-d872f2087c98
-
- 07 Apr, 2015 6 commits
-
-
vadimsh@chromium.org authored
They were used by CQ code, but CQ forked relevant parts of depot_tools already and no longer uses this code. These properties are unused now (as far as I can tell searching through code). They expose auth implementation details that better to be hidden (since they will change with OAuth2 adoption). R=maruel@chromium.org BUG=356813 Review URL: https://codereview.chromium.org/1063263002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294707 0039d316-1c4b-4281-b951-d872f2087c98
-
dnj@chromium.org authored
BUG=chromium:356813 TEST=local - Actually failed login, watched error message get printed. Review URL: https://codereview.chromium.org/1063143003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294705 0039d316-1c4b-4281-b951-d872f2087c98
-
dnj@google.com authored
BUG=chromium:356813 TEST=None R=vadimsh@chromium.org, stip@chromium.org Review URL: https://codereview.chromium.org/1060633003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294704 0039d316-1c4b-4281-b951-d872f2087c98
-
dnj@chromium.org authored
BUG=chromium:356813 TEST=local - Deleted cookies file, ran without patch, 404. - Deleted cookies file, ran on internal network, works! Review URL: https://codereview.chromium.org/1068973002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294701 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
This doesn't change the automatic command finder, so it really only helps increase match hit rate in case of low confidence level delta between the 2 top hits. For example, given commands 'set-commit' and 'dcommit', a user typing 'set_commit' would hit: - 'set-commit': 90% - 'dcommit': 70.5% Since subcommand.py uses a 30% minimum confidence level between the two top hit to automatically select a command, it will err on the side of safety and will abort instead of selecting 'set-commit'. This change fixes this specific case but won't trigger on partial matches, e.g. 'set_commi' for 'set-commit'. R=stip@chromium.org BUG= Review URL: https://codereview.chromium.org/1066923003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294700 0039d316-1c4b-4281-b951-d872f2087c98
-
rmistry@google.com authored
The corresponding Rietveld change is here: https://codereview.chromium.org/1054683003/ BUG=chromium:472690 Review URL: https://codereview.chromium.org/1053653004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294699 0039d316-1c4b-4281-b951-d872f2087c98
-