- 24 Mar, 2016 3 commits
-
-
tandrii@chromium.org authored
This adds pluggable codereview-specific implementations into Changelist class. The specific implementation is chosen at Changelist automatically, with Rietveld being default for backwards compatibility. Gerrit implementation for Gerrit is incomplete, and will be added in later CLs. However, it is sufficient to ensure current functionality of this tool is not diminished. Sadly, the base class isn't completely free from Rietveld assumptions because of presubmit_support. Apparently, PRESUBMIT scripts can make use of Rietveld instance for RPCs directly. This use doesn't make sense for Gerrit, which substitutes rietveld instance with a dummy object, which raises exception on any attribute access with a diagnostic message. This also includes refactoring of some related code which (ab)used ChangeList. Overall, this CL adds a few extra call to git config in order to determine which codereview to use, but but it shouldn't have any performance impact. BUG=579160 Review URL: https://codereview.chromium.org/1805193002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299462 0039d316-1c4b-4281-b951-d872f2087c98
-
recipe-roller@chromium.org authored
This is an automated CL created by the recipe roller. This CL rolls recipe changes from upstream projects (e.g. depot_tools) into downstream projects (e.g. tools/build). Please review the expectation changes, and LGTM as normal. The recipe roller will *NOT* CQ the change itself, so you must commit the change manually. More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug (or complain) R= BUG= TBR=martiniss@chromium.org Review URL: https://codereview.chromium.org/1833623002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299460 0039d316-1c4b-4281-b951-d872f2087c98
-
tandrii@chromium.org authored
Gerrit requires Content-Length to be set for POST requests. httplib Python library has a bug which doesn't set Content-Length if the body is empty. Python BUGS: https://bugs.python.org/issue14721 (partial fix) https://bugs.python.org/issue23539 (full fix) The full fix only appears in 2.7.11 release changelog (technically, it's been fixed in 2.7.10 rc1, but 2.7.10 was not released): https://hg.python.org/cpython/raw-file/53d30ab403f1/Misc/NEWS R=andybons@chromium.org,szager@chromium.org BUG=579160 Review URL: https://codereview.chromium.org/1827653002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299459 0039d316-1c4b-4281-b951-d872f2087c98
-
- 23 Mar, 2016 4 commits
-
-
recipe-roller@chromium.org authored
This is an automated CL created by the recipe roller. This CL rolls recipe changes from upstream projects (e.g. depot_tools) into downstream projects (e.g. tools/build). Please review the expectation changes, and LGTM as normal. The recipe roller will *NOT* CQ the change itself, so you must commit the change manually. More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug (or complain) R= BUG= TBR=martiniss@chromium.org Review URL: https://codereview.chromium.org/1821393005 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299446 0039d316-1c4b-4281-b951-d872f2087c98
-
recipe-roller@chromium.org authored
This is an automated CL created by the recipe roller. This CL rolls recipe changes from upstream projects (e.g. depot_tools) into downstream projects (e.g. tools/build). Please review the expectation changes, and LGTM as normal. The recipe roller will *NOT* CQ the change itself, so you must commit the change manually. More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug (or complain) R= BUG= TBR=martiniss@chromium.org Review URL: https://codereview.chromium.org/1832523002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299445 0039d316-1c4b-4281-b951-d872f2087c98
-
recipe-roller@chromium.org authored
This is an automated CL created by the recipe roller. This CL rolls recipe changes from upstream projects (e.g. depot_tools) into downstream projects (e.g. tools/build). Please review the expectation changes, and LGTM as normal. The recipe roller will *NOT* CQ the change itself, so you must commit the change manually. More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug (or complain) R= BUG= TBR=martiniss@chromium.org Review URL: https://codereview.chromium.org/1825843003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299443 0039d316-1c4b-4281-b951-d872f2087c98
-
phajdan.jr@chromium.org authored
It was added in https://codereview.chromium.org/112503005 for https://bugs.chromium.org/p/chromium/issues/detail?id=278558 , but we ended up implementing the functionality in different way. BUG=583578 Review URL: https://codereview.chromium.org/1825063003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299433 0039d316-1c4b-4281-b951-d872f2087c98
-
- 22 Mar, 2016 2 commits
-
-
brucedawson@chromium.org authored
Toolchain crashes on build machines are an ongoing problem, particularly with the VC++ 2015 migration. Setting this registry key tells Windows Error Reporting to record minidumps (a few MB typically) to a local directory, up to a maximum of ten. This should help with investigations. This change also suppresses Windows Error Reporting dialogs with the DontShowUI registry value, to avoid builder hangs on crashes. See also crrev.com/1816333002 BUG=440500 Review URL: https://codereview.chromium.org/1825163003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299426 0039d316-1c4b-4281-b951-d872f2087c98
-
recipe-roller@chromium.org authored
R= BUG= TBR=martiniss@chromium.org Review URL: https://codereview.chromium.org/1819233002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299417 0039d316-1c4b-4281-b951-d872f2087c98
-
- 21 Mar, 2016 1 commit
-
-
tandrii@chromium.org authored
R=szager@chromium.org,sergiyb@chromium.org BUG=579160 Review URL: https://codereview.chromium.org/1820923002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299408 0039d316-1c4b-4281-b951-d872f2087c98
-
- 18 Mar, 2016 3 commits
-
-
martiniss@chromium.org authored
Also makes bot_update use this. This allows for clank to manually set the gclient config. BUG=590788 Review URL: https://codereview.chromium.org/1815863002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299398 0039d316-1c4b-4281-b951-d872f2087c98
-
nodir@chromium.org authored
gclient-sync + git-cache are racy because if two different DEPS files dependent on the same repo URL, even if depsed to different checkout dirs, they use same git cache dir. If both checkout dirs are synced at the same time, one of them cannot acquire a lock. This is a cheap solution to change --lock_timeout option default value from 0 to 5m. R=hinoka@chromium.org BUG=593468 Review URL: https://codereview.chromium.org/1785083005 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299386 0039d316-1c4b-4281-b951-d872f2087c98
-
tandrii@chromium.org authored
R=andybons@chromium.org BUG= Review URL: https://codereview.chromium.org/1813813004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299383 0039d316-1c4b-4281-b951-d872f2087c98
-
- 17 Mar, 2016 2 commits
-
-
tandrii@chromium.org authored
Reason: it breaks re-upload. R=andybons@chromium.org,machenbach@chromiu.org,mmentovai@chromium.org BUG= Review URL: https://codereview.chromium.org/1810683003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299354 0039d316-1c4b-4281-b951-d872f2087c98
-
tandrii@chromium.org authored
Special case when the change description has no footers, but looks like a footer. R=machenbach@chromium.org,andybons@chromium.org BUG=579176 Review URL: https://codereview.chromium.org/1812803002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299343 0039d316-1c4b-4281-b951-d872f2087c98
-
- 16 Mar, 2016 3 commits
-
-
martiniss@chromium.org authored
Depends on https://codereview.chromium.org/1755593003 BUG=591172 Review URL: https://codereview.chromium.org/1741983002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299332 0039d316-1c4b-4281-b951-d872f2087c98
-
martiniss@chromium.org authored
R=iannucci@chromium.org BUG=591172 Review URL: https://codereview.chromium.org/1805113003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299329 0039d316-1c4b-4281-b951-d872f2087c98
-
tandrii@chromium.org authored
BUG= Review URL: https://codereview.chromium.org/1777603002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299312 0039d316-1c4b-4281-b951-d872f2087c98
-
- 15 Mar, 2016 3 commits
-
-
tandrii@chromium.org authored
R=andybons@chromium.org,jbudorick@chromium.org BUG=579176 Review URL: https://codereview.chromium.org/1763153002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299295 0039d316-1c4b-4281-b951-d872f2087c98
-
tandrii@chromium.org authored
R=bauerb@chromium.org,ukai@chromium.org,andybons@chromium.org BUG=579176,579160 Review URL: https://codereview.chromium.org/1799553003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299293 0039d316-1c4b-4281-b951-d872f2087c98
-
tandrii@chromium.org authored
Inspiration: $ watch -n 10 "git cl try-results" $ watch --color "ls -al --color" R=nodir@chromium.org,sergiyb@chromium.org BUG= Review URL: https://codereview.chromium.org/1799203002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299291 0039d316-1c4b-4281-b951-d872f2087c98
-
- 14 Mar, 2016 2 commits
-
-
tandrii@chromium.org authored
Follow up on https://codereview.chromium.org/6758001 R=maruel@chromium.org BUG= Review URL: https://codereview.chromium.org/1795753005 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299283 0039d316-1c4b-4281-b951-d872f2087c98
-
recipe-roller@chromium.org authored
R= BUG= TBR=martiniss@chromium.org Review URL: https://codereview.chromium.org/1798163002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299278 0039d316-1c4b-4281-b951-d872f2087c98
-
- 12 Mar, 2016 4 commits
-
-
phajdan.jr@chromium.org authored
BUG=437264 Review URL: https://codereview.chromium.org/1778243008 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299267 0039d316-1c4b-4281-b951-d872f2087c98
-
phajdan.jr@chromium.org authored
BUG=437264 Review URL: https://codereview.chromium.org/1787633003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299263 0039d316-1c4b-4281-b951-d872f2087c98
-
sergiyb@chromium.org authored
R=phajdan.jr@chromium.org Review URL: https://codereview.chromium.org/1789713004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299261 0039d316-1c4b-4281-b951-d872f2087c98
-
martiniss@chromium.org authored
https://codereview.chromium.org/1762513002/ Use gclient's git_cache setting in bot_update/api.py BUG=589140 R=szager@chromium.org,iannucci@chromium.org Review URL: https://codereview.chromium.org/1784043002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299260 0039d316-1c4b-4281-b951-d872f2087c98
-
- 11 Mar, 2016 1 commit
-
-
recipe-roller@chromium.org authored
R= BUG= TBR=martiniss@chromium.org Review URL: https://codereview.chromium.org/1786883003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299256 0039d316-1c4b-4281-b951-d872f2087c98
-
- 10 Mar, 2016 2 commits
-
-
recipe-roller@chromium.org authored
R= BUG= TBR=martiniss@chromium.org Review URL: https://codereview.chromium.org/1781083002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299218 0039d316-1c4b-4281-b951-d872f2087c98
-
recipe-roller@chromium.org authored
R= BUG= TBR=martiniss@chromium.org Review URL: https://codereview.chromium.org/1784623004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299202 0039d316-1c4b-4281-b951-d872f2087c98
-
- 09 Mar, 2016 5 commits
-
-
phajdan.jr@chromium.org authored
This is rolling in https://codereview.chromium.org/1777003003 BUG=593420 Review URL: https://codereview.chromium.org/1785443002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299187 0039d316-1c4b-4281-b951-d872f2087c98
-
szager@chromium.org authored
Apparently most Mac's have git 2.6.2, which doesn't have this feature. This only affects end developers, so there's no urgency to push this out to the bots. TBR=agable@chromium.org,wkorman@chromium.org BUG= NOTRY=true Review URL: https://codereview.chromium.org/1777043002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299185 0039d316-1c4b-4281-b951-d872f2087c98
-
thakis@chromium.org authored
I failed to do this in https://codereview.chromium.org/1706423002 BUG=495204 Review URL: https://codereview.chromium.org/1776283002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299179 0039d316-1c4b-4281-b951-d872f2087c98
-
tandrii@chromium.org authored
R=andybons@chromium.org,phajdan@chromium.org BUG= Review URL: https://codereview.chromium.org/1772293003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299174 0039d316-1c4b-4281-b951-d872f2087c98
-
szager@chromium.org authored
The key piece here is that when running 'git cl land' from a cache checkout, refs/pending/* must be fetched from / pushed to the cache mirror's remote. BUG=589140 R=wkorman,agable,iannucci,martiniss Review URL: https://codereview.chromium.org/1777693002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299166 0039d316-1c4b-4281-b951-d872f2087c98
-
- 08 Mar, 2016 5 commits
-
-
martiniss@chromium.org authored
Revert of Use gclient's git_cache setting in bot_update/api.py (patchset #6 id:100001 of https://codereview.chromium.org/1762513002/ ) Reason for revert: Roll into build breaks infra crons. Original issue's description: > Use gclient's git_cache setting in bot_update/api.py > > BUG=589140 > R=agable@chromium.org > > Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=299120 TBR=agable@chromium.org,hinoka@chromium.org,hinoka@google.com,iannucci@chromium.org,wkorman@chromium.org,szager@chromium.org BUG=589140 Review URL: https://codereview.chromium.org/1776193002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299160 0039d316-1c4b-4281-b951-d872f2087c98
-
recipe-roller@chromium.org authored
R= BUG= TBR=martiniss@chromium.org Review URL: https://codereview.chromium.org/1771893003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299159 0039d316-1c4b-4281-b951-d872f2087c98
-
phajdan.jr@chromium.org authored
BUG=585401 Review URL: https://codereview.chromium.org/1770383004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299158 0039d316-1c4b-4281-b951-d872f2087c98
-
martiniss@chromium.org authored
This is needed because bot_update changed from getting the cache directory from the global path module to the gclient config. BUG=589140 Review URL: https://codereview.chromium.org/1768893003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299143 0039d316-1c4b-4281-b951-d872f2087c98
-
nodir@chromium.org authored
git-cl-try does not properly print error message when the response status code is 403, because response parsing is broken. Fix response parsing. R=sheyang@chromium.org, tandrii@chromium.org BUG= Review URL: https://codereview.chromium.org/1773963002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299137 0039d316-1c4b-4281-b951-d872f2087c98
-