hpk
021c1e943d
[svn r60976] a few notes regarding improving remote tracebacks for py.execnet
...
--HG--
branch : trunk
2009-01-14 22:02:14 +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
9b81b15b74
[svn r57544] still notify callbacks if we can't send to the other side anymore.
...
--HG--
branch : trunk
2008-08-21 14:00:08 +02:00
hpk
a999dc8472
[svn r57540] merge changes from release branch back
...
[svn merge -r 57430:HEAD ../release/0.9.x/ .]
* cmdline script organisation
* execnet windows fixes
* documentation updates
* test skips
also regen setup.py
--HG--
branch : trunk
2008-08-21 12:18:58 +02:00
hpk
a20731b111
[svn r57440] various fixes for python2.6
...
--HG--
branch : trunk
2008-08-18 19:33:31 +02:00
hpk
4115e975d1
[svn r57429] merging/porting the release branch changes and
...
cleanups to trunk.
svn merge -r 56716:HEAD ../release/0.9.x/ to trunk
--HG--
branch : trunk
2008-08-18 17:08:39 +02:00
hpk
c7da98d7a7
[svn r56722] porting the windows-execnet 56717 and 56718 fixes to other active branches
...
--HG--
branch : trunk
2008-07-22 21:17:17 +02:00
fijal
46fdbe7867
[svn r46010] Merge from branch - a lock for files, prevents segfaults of cpython
...
--HG--
branch : trunk
2007-08-27 10:45:03 +02:00
hpk
2371fb16fa
[svn r45549] fix a bug that servemain() wouldn't actually
...
try to join threads at exit because of a
(hidden) attribute error.
--HG--
branch : trunk
2007-08-08 14:02:55 +02:00
hpk
62634136b9
[svn r45548] - refactoring cleanup mechanics into its own class
...
- have setDaemon(1) for the receiverThread as
otherwise on python2.5 atexit will not be invoked
(the receiver thread apparently blocks it)
--HG--
branch : trunk
2007-08-08 13:45:04 +02:00
hpk
3cb7d3579a
[svn r45547] remove global
...
--HG--
branch : trunk
2007-08-08 12:38:22 +02:00
hpk
a94866a20b
[svn r45541] don't use globals when we might be called from destructors
...
--HG--
branch : trunk
2007-08-07 19:54:09 +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
8bf738614e
[svn r39982] introduce gateway._send and have all places route
...
their sending of Messages (or None's) through that method.
--HG--
branch : trunk
2007-03-06 13:51:18 +01: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
hpk
8e33cf6772
[svn r38427] significantly reducing the trailing "Exception in Thread"
...
messages by having threads die more silently. Most
of these threads and tracebacks are anyway on some
remote machine, and we need to take care that errors
are routed to the place of invocation (e.g. the
remote_exec() invoker should get remote exceptions,
if the remote thread goes out of scope, the resulting
exception will not be seen likely, anyway)
--HG--
branch : trunk
2007-02-10 23:16:47 +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
120dae7749
[svn r38172] Add a method which sends only if there are available targets
...
--HG--
branch : trunk
2007-02-08 16:54:53 +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
guido
5c7fb384bc
[svn r38076] Typo.
...
--HG--
branch : trunk
2007-02-07 16:34:01 +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
guido
7852ead1fe
[svn r37912] Made some small changes to the initpkg mechanism so docstrings are, if
...
provided in the exportdefs, copied to the namespaces (from whereever they
come), and added docstrings to all exposed namespaces (except for _thread for
now).
--HG--
branch : trunk
2007-02-04 15:27:10 +01:00
hpk
d6d7eb8704
[svn r37866] small cleanup of ground std* descriptors.
...
--HG--
branch : trunk
2007-02-03 13:31:47 +01:00
fijal
4ffda926ab
[svn r37850] Split methods a bit to smaller parts.
...
--HG--
branch : trunk
2007-02-03 11:26:23 +01:00
fijal
026c2fa0bc
[svn r37838] Privatize attributes of rsync.py
...
--HG--
branch : trunk
2007-02-03 00:32:35 +01:00
hpk
8c2ef5cb22
[svn r37831] improving more docstrings
...
--HG--
branch : trunk
2007-02-02 22:01:27 +01:00
hpk
2c0e4bc798
[svn r37830] better RSync docstring
...
--HG--
branch : trunk
2007-02-02 21:57:59 +01:00
hpk
e0a1612d51
[svn r37824] fix typo
...
--HG--
branch : trunk
2007-02-02 20:59:10 +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
272812fd76
[svn r37787] more precision at shutdown: first remove
...
from the sendqueue, then trigger the queue
to shutdown. (This is an attempt to get
rid of the still appearing "exception in thread"
messages)
--HG--
branch : trunk
2007-02-02 02:07:37 +01:00
hpk
0c55062e74
[svn r37786] improve docstring
...
--HG--
branch : trunk
2007-02-02 02:05:31 +01:00
hpk
7a718ca2e7
[svn r37785] privatizing some more attributes
...
--HG--
branch : trunk
2007-02-02 02:02:55 +01:00
hpk
b4919c8102
[svn r37784] privatizing some attributes
...
--HG--
branch : trunk
2007-02-02 01:34:40 +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
fijal
7759bb404f
[svn r37554] add XXX
...
--HG--
branch : trunk
2007-01-29 18:12:17 +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
dad2da4583
[svn r37456] some small adjustments/cleanups regarding intiialisation
...
--HG--
branch : trunk
2007-01-28 09:48:59 +01:00
hpk
8f540fe7c6
[svn r37446] don't try this on windows
...
--HG--
branch : trunk
2007-01-27 20:22:23 +01:00
hpk
780e715395
[svn r37445] use suprocess module to start socketserver subprocess
...
--HG--
branch : trunk
2007-01-27 20:13:17 +01:00
hpk
6d403d4573
[svn r37444] a try at a wrapping loop_socketserver.py
...
that restarts the actual socketserver.py
--HG--
branch : trunk
2007-01-27 19:57:05 +01:00
guido
ed55fea143
[svn r37318] Rolling back previous change, instead applying what seems to have been the intention from the start: if '' is supplied as hostname from the server, use the IP address as reported by socket.getsockname()
...
--HG--
branch : trunk
2007-01-25 11:25:40 +01:00
guido
039ec87c64
[svn r37317] Fixed execnet tests on Windows, for some reason it uses '0.0.0.0' as IP address if '' is given as hostname
...
--HG--
branch : trunk
2007-01-25 11:16:35 +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