- 15 Dec, 2011 1 commit
-
-
chrisha@chromium.org authored
This CL adds the egg distribution of setuptools to third_party. A follow-up CL will use this to install various required third-party eggs in a depot_tools/site-packages directory. TBR=maruel@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/8953018 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@114635 0039d316-1c4b-4281-b951-d872f2087c98
-
- 13 Dec, 2011 3 commits
-
-
maruel@chromium.org authored
Not sure why pylint didn't catch it. :/ TBR=dpranke@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/8937010 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@114270 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
GIT.CaptureStatus was assuming os.getcwd() was using all the time, which isn't true when using trychange.py --sub_rep XXX. R=dpranke@chromium.org TEST= BUG= Review URL: http://codereview.chromium.org/8930002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@114264 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
That helps weed out some issues faces with svn plus helped me figure out some misuses. Most of the commands have been implicitly depending on os.getcwd(). This change makes it always consistent and clear when dependence on the current directory is needed. Remove default arguments to scm.SVN.GenerateDiff and a few other calls to be sure the refactoring was done right. R=dpranke@chromium.org BUG= TEST=make sure most commands aren't broke Review URL: http://codereview.chromium.org/8771042 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@114262 0039d316-1c4b-4281-b951-d872f2087c98
-
- 10 Dec, 2011 1 commit
-
-
maruel@chromium.org authored
This caused all CQ job to not show up on rietveld. Now that rietvelt supports multiple try job per builder per patchset, this check is not useful anymore. TBR=dpranke@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/8895022 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@113952 0039d316-1c4b-4281-b951-d872f2087c98
-
- 09 Dec, 2011 1 commit
-
-
jhawkins@chromium.org authored
Review URL: http://codereview.chromium.org/8883034 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@113720 0039d316-1c4b-4281-b951-d872f2087c98
-
- 08 Dec, 2011 1 commit
-
-
jhawkins@chromium.org authored
The previous code erroneously took the lowest-valued branch. Review URL: http://codereview.chromium.org/8888028 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@113681 0039d316-1c4b-4281-b951-d872f2087c98
-
- 05 Dec, 2011 2 commits
-
-
maruel@chromium.org authored
Clean up stdin management. Remove stale comments. R=dpranke@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/8808002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@113065 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
No significant code change. R=dpranke@chromium.org TEST= BUG= Review URL: http://codereview.chromium.org/8801019 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@113062 0039d316-1c4b-4281-b951-d872f2087c98
-
- 02 Dec, 2011 2 commits
-
-
supersat@chromium.org authored
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@112766 0039d316-1c4b-4281-b951-d872f2087c98
-
supersat@chromium.org authored
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@112765 0039d316-1c4b-4281-b951-d872f2087c98
-
- 01 Dec, 2011 3 commits
-
-
maruel@chromium.org authored
Enables threaded callback handler for subprocess.communicate(). R=dpranke@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/8749015 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@112465 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
So temporary files aren't left around. R=dpranke@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/8758004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@112358 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
R=dpranke@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/8750003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@112351 0039d316-1c4b-4281-b951-d872f2087c98
-
- 30 Nov, 2011 7 commits
-
-
maruel@chromium.org authored
Also, increase the wait for socket binding to 0.2 seconds because OSX10.6 is broken _and_ slow. R=dpranke@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/8749005 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@112277 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
Make sure settings is correctly initialized. TBR=dpranke@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/8745014 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@112222 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
Previously, --send-mail required -r to pass. Now it uses the R=|TBR= lines from the description, which is much more useful. R=dpranke@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/8735018 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@112221 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
Add unit test! R=dpranke@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/8715007 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@112220 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
This makes sure no regression relative to subprocess is introduced in subprocess2. R=dpranke@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/8722001 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@112217 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
R=dpranke@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/8694006 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@112102 0039d316-1c4b-4281-b951-d872f2087c98
-
erg@chromium.org authored
Committing on behalf of Reid Kleckner <rnk@google.com>. BUG=102890 Review URL: http://codereview.chromium.org/8676053 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@112099 0039d316-1c4b-4281-b951-d872f2087c98
-
- 29 Nov, 2011 2 commits
-
-
asvitkine@chromium.org authored
Call ChangeInfo.Load() with fail_on_not_found=True to get a good error message in this case. BUG=none TEST=manual Review URL: http://codereview.chromium.org/8692007 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@112018 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
Use it in subprocess2 and trial_dir to remove manually bookeeping. R=dpranke@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/8688011 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@111941 0039d316-1c4b-4281-b951-d872f2087c98
-
- 24 Nov, 2011 2 commits
-
-
maruel@chromium.org authored
No code change beside tests. This is mainly a regression test to make sure I don't regress that code path. TBR=dpranke@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/8695003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@111535 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@google.com authored
This will be necessary to override member functions eventually. It also better replicates what subprocess.Popen is. R=dpranke@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/8570005 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@111530 0039d316-1c4b-4281-b951-d872f2087c98
-
- 21 Nov, 2011 1 commit
-
-
igorgatis@gmail.com authored
Introduced git+http(s) fake URL schema to support git urls which don't have "filename.git" portion (http://foo/bar vs http://foo/bar/filename.git). Review URL: http://codereview.chromium.org/8590024 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@110937 0039d316-1c4b-4281-b951-d872f2087c98
-
- 15 Nov, 2011 1 commit
-
-
maruel@chromium.org authored
Change return value from list to tuple for communicate(timeout != None). R=dpranke@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/8539015 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@110094 0039d316-1c4b-4281-b951-d872f2087c98
-
- 12 Nov, 2011 2 commits
-
-
cmp@chromium.org authored
Review URL: http://codereview.chromium.org/8536043 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@109750 0039d316-1c4b-4281-b951-d872f2087c98
-
jeffbailey@chromium.org authored
the current canonical upstream. The Chromium mirror is out of date. Review URL: http://codereview.chromium.org/8540026 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@109742 0039d316-1c4b-4281-b951-d872f2087c98
-
- 11 Nov, 2011 5 commits
-
-
jhawkins@chromium.org authored
Queries omahaproxy.appspot.com for related branch number. Review URL: http://codereview.chromium.org/8498038 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@109718 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
R=dpranke@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/8536018 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@109697 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
Add relevant new tests. R=dpranke@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/8539016 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@109692 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
It will simplify importing utility modules from other projects. Otherwise I was getting name conflicts with 'test'. Reenable W0403 that was disabled in the previous CL. R=dpranke@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/8508015 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@109636 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@109635 0039d316-1c4b-4281-b951-d872f2087c98
-
- 10 Nov, 2011 3 commits
-
-
maruel@chromium.org authored
Disable temporarily W0403, will be reenabled on the next CL R=dpranke@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/8508017 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@109435 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
The main fix is 'Accept new empty files, like __init__.py' TBR=dpranke@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/8519005 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@109431 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
"Add callback support for stdout and stderr." "Add tests for both universal_newlines=True and False." "Implement accelerated tee support for POSIX." The reason is that the semantic of subprocess2.check_call(cmd, timeout=60, stderr=subprocess2.STDOUT) changed, stderr wasn't redirected to VOID anymore and for an unknown reason, it was hanging until the timeout happened. Will reapply r109239 with a new regression test to detect that bug. TBR=dpranke@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/8505046 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@109369 0039d316-1c4b-4281-b951-d872f2087c98
-
- 09 Nov, 2011 3 commits
-
-
maruel@chromium.org authored
subprocess2.check_output() raises an OSError instead of a CalledProcessError when the executable is not found. R=dpranke@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/8511025 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@109325 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
This removes all the need of threading, which removes the contention on the GIL lock. Taking S2Test.test_check_output_tee_large as baseline, numbers are real/user/sys in seconds: Ubuntu workstation: ~25x 2.4/1.9/1.5 -> 0.10/0.70/0.02 OSX 10.6 laptop: ~40x 6.4/5.3/3.9 -> 0.15/0.80/0.07 Cygwin on win7: ~4x 2.8/2.2/1.3 -> 0.60/0.16/0.30 R=dpranke@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/8462008 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@109283 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
Fix stdout+stderr on Windows to binary mode in the child test process to make sure testing is done correctly. R=dpranke@chromium.org BUG= TEST=manually tested on OSX, Windows, cygwin and ubuntu Review URL: http://codereview.chromium.org/8472002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@109282 0039d316-1c4b-4281-b951-d872f2087c98
-