- 31 Mar, 2011 5 commits
-
-
maruel@chromium.org authored
I just don't want to wait for http://codereview.appspot.com/4333051 to be committed. R=dpranke@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/6728033 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@80045 0039d316-1c4b-4281-b951-d872f2087c98
-
bradnelson@google.com authored
BUG=None TEST=None R=thomasvl@google.com Review URL: http://codereview.chromium.org/6728031 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@80043 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
Deprecate RunPythonUnitTests() since it is a bit awkward. Add os_listdir, os_walk and platform to InputApi. GOAL=Slowly adds python 2.5 support for unit tests BUG=none TEST=new unit test R=dpranke@chromium.org Review URL: http://codereview.chromium.org/6778027 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@80009 0039d316-1c4b-4281-b951-d872f2087c98
-
dpranke@chromium.org authored
R=maruel@chromium.org Review URL: http://codereview.chromium.org/6740012 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@79942 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
BUG=none TEST=Poor mac users should be able to use git-cl back again. git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@79932 0039d316-1c4b-4281-b951-d872f2087c98
-
- 30 Mar, 2011 2 commits
-
-
maruel@chromium.org authored
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@79781 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
R=dpranke@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/6770028 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@79779 0039d316-1c4b-4281-b951-d872f2087c98
-
- 29 Mar, 2011 4 commits
-
-
maruel@chromium.org authored
This make possible to apply private issues or rietveld instances requiring authentication. Forces simplejson to be installed or uses python 2.6's json Make local_rietveld.py usable standalone. R=dpranke@chromium.org TEST=unit tests + manual testing, owners.sh is currentl broken, unrelated to this change. BUG=none Review URL: http://codereview.chromium.org/6721031 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@79734 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
Remove git_cl_hooks.py since it's now unnecessary. BUG= TEST= Review URL: http://codereview.chromium.org/6758001 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@79715 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
R=dpranke@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/6755003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@79682 0039d316-1c4b-4281-b951-d872f2087c98
-
bradnelson@google.com authored
BUG=None TEST=None R=dpranke@chromium.org Review URL: http://codereview.chromium.org/6768006 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@79644 0039d316-1c4b-4281-b951-d872f2087c98
-
- 28 Mar, 2011 4 commits
-
-
dpranke@chromium.org authored
Review URL: http://codereview.chromium.org/6757013 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@79597 0039d316-1c4b-4281-b951-d872f2087c98
-
mark@chromium.org authored
encountering Foundation types that are not id-derived, including NSPoint, NSRange, NSRect, and NSSize. BUG=77438 TEST=Modify chrome/browser/renderer_host/render_widget_host_view_mac.mm Review URL: http://codereview.chromium.org/6755007 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@79564 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
No behavior change. R=dpranke@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/6757002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@79522 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
Remove django since it's not necessary anymore, rietveld now uses django 1.2 and it's included in GAE SDK. Review URL: http://codereview.chromium.org/6749025 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@79521 0039d316-1c4b-4281-b951-d872f2087c98
-
- 25 Mar, 2011 4 commits
-
-
thomasvl@chromium.org authored
Review URL: http://codereview.chromium.org/6696080 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@79452 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
A lot of functions in gclient_utils and elsewhere will be deleted. Not used yet, committed as a separate change so it can be rubberstamped. :) R=dpranke@chromium.org BUG=none TEST=none Review URL: http://codereview.chromium.org/6711080 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@79449 0039d316-1c4b-4281-b951-d872f2087c98
-
dpranke@chromium.org authored
Review URL: http://codereview.chromium.org/6736018 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@79356 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
Mostly happening on Mac. Will investigate later. TBR=dpranke BUG= TEST= Review URL: http://codereview.chromium.org/6696094 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@79354 0039d316-1c4b-4281-b951-d872f2087c98
-
- 24 Mar, 2011 10 commits
-
-
dpranke@chromium.org authored
This fixes bugs 76724. We will now allow approvals from only non-owners to be sufficient if the patch is from an OWNER. Also, this strips out the code for suggesting reviewers during upload completely. I've come to believe that this should be done by gcl and git-cl directly rather than through a presubmit hook, when the change is being initially created. CheckOwners() is now a no-op on upload. (We might need to add a new value to the codereview.settings file instead to indicate if we want this to happen). Review URL: http://codereview.chromium.org/6730020 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@79339 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
Otherwise the local Rietveld instance could mysteriously hang. TEST=presubmit check won't fail even if an old version of the SDK is used BUG=none Review URL: http://codereview.chromium.org/6652002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@79338 0039d316-1c4b-4281-b951-d872f2087c98
-
dpranke@chromium.org authored
should never import any modules directly but always access modules through input_api. Review URL: http://codereview.chromium.org/6676128 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@79337 0039d316-1c4b-4281-b951-d872f2087c98
-
bradnelson@google.com authored
projects. BUG=None TEST=None R=erikkay@chromium.org,dpranke@chromium.org,maruel@chromium.org Review URL: http://codereview.chromium.org/6713101 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@79316 0039d316-1c4b-4281-b951-d872f2087c98
-
thomasvl@chromium.org authored
Review URL: http://codereview.chromium.org/6676119 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@79301 0039d316-1c4b-4281-b951-d872f2087c98
-
thomasvl@chromium.org authored
BUG=none TEST=none Review URL: http://codereview.chromium.org/6732023 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@79298 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
Removed all the local hacks as they are not necessary anymore. R=dpranke@chromium.org BUG=none TEST=manually verified that HTTP 302 redirect works fine. Review URL: http://codereview.chromium.org/6730004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@79296 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
Generate a fake diff instance of crashing. R=dpranke@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/6721030 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@79290 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
This reduces the likehood of conflict with local server and makes possible to run this check two times in parallel. R=dpranke@chromium.org TEST=moar unit tests BUG=none Review URL: http://codereview.chromium.org/6725042 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@79281 0039d316-1c4b-4281-b951-d872f2087c98
-
dpranke@chromium.org authored
This fixes an issue where we would suggest '*' and then choke on the text down the road. Also, the suggestions were not yet very useful. R=maruel@chromium.org Review URL: http://codereview.chromium.org/6722014 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@79227 0039d316-1c4b-4281-b951-d872f2087c98
-
- 23 Mar, 2011 5 commits
-
-
maruel@chromium.org authored
R=dpranke@chromium.org BUG=none TEST=none Review URL: http://codereview.chromium.org/6676093 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@79217 0039d316-1c4b-4281-b951-d872f2087c98
-
tony@chromium.org authored
with python 2.5.1. Traceback (most recent call last): File "/Users/tc/depot_tools/gclient.py", line 1270, in <module> fix_encoding.fix_encoding() File "/Users/tc/depot_tools/fix_encoding.py", line 350, in fix_encoding ret &= fix_default_encoding() File "/Users/tc/depot_tools/fix_encoding.py", line 51, in fix_default_encoding lang = locale.getlocale(aref)[0] File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/locale.py", line 460, in getlocale return _parse_localename(localename) File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/locale.py", line 373, in _parse_localename raise ValueError, 'unknown locale: %s' % localename ValueError: unknown locale: C/UTF-8/C/C/C/C R=dpranke@chromium.org,chase@chromium.org,bradnelson@google.com,maruel@chromium.org,evan@chromium.org,nsylvain@chromium.org,nsylvain@google.com Review URL: http://codereview.chromium.org/6730008 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@79213 0039d316-1c4b-4281-b951-d872f2087c98
-
dpranke@chromium.org authored
Review URL: http://codereview.chromium.org/6717004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@79206 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
Reapply r79006 with fixes for ubuntu 10.4. The only change is in fix_default_encoding() to trap an exception locale.getlocale() may throw. R=dpranke@chromium.org BUG=none TEST=unit test Review URL: http://codereview.chromium.org/6721029 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@79144 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
Otherwise it's painful when using tricks like $(git cl upstream). R=sky@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/6727012 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@79084 0039d316-1c4b-4281-b951-d872f2087c98
-
- 22 Mar, 2011 4 commits
-
-
maruel@chromium.org authored
It is causing exception for some users on ubuntu 10.4 with: "category LC_ALL is not supported" TBR=dpranke Review URL: http://codereview.chromium.org/6717025 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@79012 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
With this code in action, I can successfully print arabic and chinese on linux and cygwin. It fails to print chinese on my Mac but prints arabic. It prints '?' on Windows console but it *doesn't throw* which is the biggest improvement here. It was particularly a problem on windows because WindowsError's description text is in the current ANSI code page so it failed to print if the text was not pure ASCII, like error message when using Windows' French UI. R=dpranke@chromium.org BUG=none TEST=manual unit test ./tests/fix_encoding_test.py and it shouldn't throw Review URL: http://codereview.chromium.org/6676090 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@79006 0039d316-1c4b-4281-b951-d872f2087c98
-
dpranke@chromium.org authored
TBR=maruel@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@79005 0039d316-1c4b-4281-b951-d872f2087c98
-
dpranke@chromium.org authored
The parsing of change descriptions had a lot of overlap and inconsistencies between gcl and git-cl. In particular, we weren't handling TBR= consistently, or probably a few other things. This change moves most of the code into presubmit_support and gclient_utils and just leaves the formatting differences for the messages between the two tools. Review URL: http://codereview.chromium.org/6719004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@79002 0039d316-1c4b-4281-b951-d872f2087c98
-
- 18 Mar, 2011 2 commits
-
-
bauerb@chromium.org authored
BUG=none TEST=manual Review URL: http://codereview.chromium.org/6598068 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@78741 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
Split presubmit_support.Main() in two to make it simpler. Handle better the case with unversioned files and add a unit test. R=dpranke@chromium.org Review URL: http://codereview.chromium.org/6674059 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@78700 0039d316-1c4b-4281-b951-d872f2087c98
-