Commit Graph

41 Commits

Author SHA1 Message Date
hpk 5f3fac94b6 [svn r63141] makegateway works for plain popen and popen+python-version
--HG--
branch : trunk
2009-03-20 15:20:40 +01:00
hpk 265e7c5dc2 [svn r63139] make _rinfo() cache results by default
--HG--
branch : trunk
2009-03-20 15:04:15 +01:00
hpk 8d8a73784c [svn r63137] a helper some basic remote info
--HG--
branch : trunk
2009-03-20 14:41:43 +01:00
hpk 250f17b609 [svn r63135] adding a new gateway specification method
--HG--
branch : trunk
2009-03-20 14:22:07 +01:00
hpk 22b4ff7f06 [svn r63104] * introduce rsync events
* only rsync once if a gateway is specified multiply

--HG--
branch : trunk
2009-03-20 01:34:59 +01:00
hpk a94359c791 [svn r63091] report some more info on dist-setup
shift comments

--HG--
branch : trunk
2009-03-19 19:25:13 +01:00
hpk f013f0a54b [svn r63050] * disabled classes or modules will now lead to a skip during setup of the colitem
* more graceful handling when "ssh" is not present

--HG--
branch : trunk
2009-03-18 18:54:45 +01:00
hpk 941d06e509 [svn r63040] try harder to record and auto-exit gateways after test runs
--HG--
branch : trunk
2009-03-18 16:51:55 +01:00
hpk ee52739b17 [svn r63034] fixing some tests to work across python revisions
--HG--
branch : trunk
2009-03-18 15:35:51 +01:00
hpk 87cd94a197 [svn r63027] new API:
py.execnet.MultiGateway
   py.execnet.MultiChannel
   py.execnet.GatewaySpec

with some docs and streamlined tests.

--HG--
branch : trunk
2009-03-18 12:18:39 +01:00
hpk 6f93561002 [svn r63020] allow to specify python executable in gatewayspecs, fix a few tests
--HG--
branch : trunk
2009-03-18 02:13:07 +01:00
hpk 9a47f06a59 [svn r63016] * fix setattr on apimodules
* higher timeout

--HG--
branch : trunk
2009-03-18 00:34:59 +01:00
hpk c3e5ca560a [svn r63014] streamlining multichannel interface, fixing test work with -n 3
--HG--
branch : trunk
2009-03-17 23:41:56 +01:00
hpk 8a8ae5fe5d [svn r62994] introducing internal MultiGateway class
--HG--
branch : trunk
2009-03-17 12:53:09 +01:00
hpk b5a1f95856 [svn r62978] * introduce --hosts and --rsyncdirs optiosn
* re-sort option groups, disable some options for now
* add docstrings to execnet gatewaymanage
* streamline tests a bit
* unify debugging and tracing

--HG--
branch : trunk
2009-03-16 22:17:14 +01:00
hpk f01040b193 [svn r62975] - use "popen" instead of localhost if you want popen-gateways
- have a default joinpath

--HG--
branch : trunk
2009-03-16 17:53:52 +01:00
hpk a743caef18 [svn r62487] merging hostmanage branch:
* cleanup of the way distributed/remote sessions are setup up
* simplified config pickling
* configs are now more correctly wired on receival at remote sides
* introduced py.__.execnet.gwmanage helps managing calls to multiple hosts
* grouping all pickling related tests in test_pickle.py
  and showcasing a nice pyfunc_call hack

--HG--
branch : trunk
2009-03-03 18:42:32 +01:00
hpk c17a09adaf [svn r62211] merge 60797:HEAD of pytestplugin branch:
this merge contains:

* a new plugin architecture
* a pluginized pytest core
* many pytest related refactorings
* refactorings/streamlining of pytest's own tests

--HG--
branch : trunk
2009-02-27 11:18:27 +01:00
hpk a55332091d [svn r58385] * move cross-platform process kill functionality and move it to
py.process.kill(pid)
* simplify test_auth.py
* use new functionality from some tests

--HG--
branch : trunk
2008-09-23 16:28:13 +02:00
hpk 6842e5a769 [svn r58035] allow for passing in ssh_config files, deprecat "identity" argument
--HG--
branch : trunk
2008-09-10 11:48:44 +02:00
hpk 3702ca2c71 [svn r57546] * channels now also provide makefile(mode) with mode = 'r'
for providing file-like read/readline/close methods.
* added and refined crash and finalization tests

--HG--
branch : trunk
2008-08-21 14:04:43 +02:00
hpk a5e69d2035 [svn r45539] merge the execnet lessthreads branch (using the branch'es history):
* now by default Gateways DO NOT SPAWN execution threads
  you can call "remote_init_threads(NUM)" on an already instantiated
  gateway, which will install a loop on the other side which will
  dispatch each execution task to its own thread.

* execution is dissallowed on the side which initiates a gateway
  (rarely used, anyway)

* some cleanups (hopefully)

--HG--
branch : trunk
2007-08-07 19:34:59 +02:00
hpk ed2759b262 [svn r38579] library code should not use magic timeouts,
testing code may use a global TESTTIMEOUT

--HG--
branch : trunk
2007-02-12 16:55:48 +01:00
hpk 1c354315a6 [svn r38441] increase hard-coded timeouts a bit (waitclose()
will not neccessarily wait that long, it returns
as soon as the channel is closed so it's not
as bad as outright sleeping)

--HG--
branch : trunk
2007-02-11 09:32:27 +01:00
guido d2f11081cb [svn r38221] Reverting previous changes after a discussion with hpk.
--HG--
branch : trunk
2007-02-09 00:43:27 +01:00
guido c1216c2346 [svn r38217] Moved the -S option to a new conftest.py in the execnet dir to avoid nasty
option re-definition problems.

--HG--
branch : trunk
2007-02-09 00:21:38 +01:00
hpk 7fccd77b8a [svn r38176] make delete a per-host option (internally it is anyway)
--HG--
branch : trunk
2007-02-08 17:04:58 +01:00
fijal e3dce2c288 [svn r38174] Flag instead of new method and a test.
--HG--
branch : trunk
2007-02-08 17:01:51 +01:00
fijal 0e8510648f [svn r38164] Move source as an rsync initialisation argument rather than
as a send parameter

--HG--
branch : trunk
2007-02-08 16:31:38 +01:00
hpk 4369d430c8 [svn r38028] make rsync configurable regarding its output
(verbose option and overridable method)

--HG--
branch : trunk
2007-02-06 20:32:21 +01:00
hpk 845357dcba [svn r37960] refactored the tests and added tests and code
for disallowing to send() twice without
adding new targets.

--HG--
branch : trunk
2007-02-05 13:55:31 +01:00
hpk beb3a12700 [svn r37915] sanity checks
--HG--
branch : trunk
2007-02-04 15:40:46 +01:00
hpk 59264d57ae [svn r37822] added lots of docstrings, general cleanup
--HG--
branch : trunk
2007-02-02 20:57:47 +01:00
hpk 24539c3797 [svn r37790] fix Ssh remote sanitzing of FD 1 and 0 and factor
out the code in a function

--HG--
branch : trunk
2007-02-02 02:44:31 +01:00
hpk 7a718ca2e7 [svn r37785] privatizing some more attributes
--HG--
branch : trunk
2007-02-02 02:02:55 +01:00
hpk c6c9fd326c [svn r37783] puh, it took me quite a while to find out why
ssh-stdout-confusion tests involving "os.write(1, ...)"
were passing on earlier revisions: in 35888
a test name got fixed, but when you specify "-S somehost"
then this will hang, so i am skipping the test for
now, this never worked.

--HG--
branch : trunk
2007-02-02 01:32:24 +01:00
hpk 3634701598 [svn r37780] simplifying code a bit (but test_confusion* for Ssh still fails)
--HG--
branch : trunk
2007-02-02 00:57:55 +01:00
fijal cf7e2d7c28 [svn r37779] Fix and a test for disappearing files.
--HG--
branch : trunk
2007-02-02 00:40:49 +01:00
hpk 6838180187 [svn r37459] fix socketgateway test to run on both win32 and linux
--HG--
branch : trunk
2007-01-28 11:14:22 +01:00
hpk 7cf9824680 [svn r37278] move files from branch to trunk (and thus complete
the merge of the config branch into the trunk)

--HG--
branch : trunk
2007-01-24 17:46:46 +01:00
hpk 5992a8ef21 [svn r37264] create the new development trunk
--HG--
branch : trunk
2007-01-24 15:24:01 +01:00