David Wilson
aa5bc53f6d
Update test.
7 years ago
David Wilson
91d766ec81
core: Generalize/duplicate the call/send_await code using Receiver.
7 years ago
David Wilson
4ff1d4e523
master: use decorators rather than call_with_deadline(with_context=..)
7 years ago
David Wilson
d6d83b3fac
fakessh: cleanup master test.
7 years ago
David Wilson
5d0dcd051c
fakessh: use decorators rather than call_with_deadline(with_context=..)
7 years ago
David Wilson
456a40ce9c
core: synchronize Stream._output_buf by deferring send()
...
Previously _output_buf was racy. This may or may not be cheaper than
simply using a lock, but it requires much less code, so I prefer it for
now.
7 years ago
David Wilson
05055ebfc0
core: make Side.write() return None rather than crash if side already closed.
7 years ago
David Wilson
9ce71a546a
core: better Message.__repr__.
7 years ago
David Wilson
b7f5bd82bc
Replace `with_context` parameter with mitogen.core.takes_econtext decorator
7 years ago
David Wilson
22df965a46
fakessh: fix non-master context ID allocation.
7 years ago
David Wilson
68515bc9e1
fakessh: Fix NameError.
7 years ago
David Wilson
3bb02161dc
fakessh: return child exit status
7 years ago
David Wilson
9c306001f0
fakessh: Use local process's sys.executable.
7 years ago
David Wilson
023c100494
fakessh: IoPump() doesn't need Process reference.
7 years ago
David Wilson
29e4487d6a
Make subsystem requests die with a useful error.
7 years ago
David Wilson
69dd35784d
Reduce CHUNK_SIZE to paper over a hang with rsync
7 years ago
David Wilson
d84b4bf72a
Keep allocate_id() in the enhanced router class.
7 years ago
David Wilson
f3cdb4e050
Fix format string.
7 years ago
David Wilson
491b5ab575
core: add ALLOCATE_ID message for fakessh.
7 years ago
David Wilson
e00c2f2e39
core: allow sending 0-byte messages.
7 years ago
David Wilson
18a0529887
Import unused images.
7 years ago
David Wilson
6cfcd6c2c8
Fix proxy connection: pickling changes broke it.
7 years ago
David Wilson
535ffc25b7
Move more docstrings out of core.py.
7 years ago
David Wilson
e7673e72f6
Add TODO
7 years ago
David Wilson
3e020ddd09
Fix Channel constructor and add simple test; closes #32
7 years ago
David Wilson
05a0feb2f9
core: support takes_econtext and takes_router decorators.
7 years ago
David Wilson
d9bf091e6f
Simple working fakessh_test.
7 years ago
David Wilson
21fb601872
Tidy up logging of command lines for easier cutpaste.
7 years ago
David Wilson
bd2c613b9c
Fix up a few more ssh_tests, stop sending 400 modules over network.
...
Defining functions in the current module was causing the entirety of
py.test and all dependencies to be sucked in.
7 years ago
David Wilson
cffaa92fc4
Add rsync and git to build_docker_image too.
7 years ago
David Wilson
a89c20e54e
Fixup some more tests.
7 years ago
David Wilson
0f89756c1e
Initial version of ModuleFinder, but it's slooooow.
7 years ago
David Wilson
6f25fac430
Log forwarded events just as the docs suggest they're logged.
7 years ago
David Wilson
60dc0f6058
Typo.
7 years ago
David Wilson
04e3336c32
issue #31 : move error log to ticket.
...
Original commit:
commit 3535e45245
Author: David Wilson <dw@botanicus.net>
Date: Fri Aug 26 19:35:09 2016 +0100
Broken SSH unit test.
A todo/six-module-import-error.py
7 years ago
David Wilson
a1525b8bb8
Add subheading to describe each import hack.
7 years ago
David Wilson
38602d5eb3
Link to six bug.
7 years ago
David Wilson
700bfe31a4
Pad out shame.rst.
7 years ago
David Wilson
4110d6de60
Add instructions for running tests.
7 years ago
David Wilson
cf506dfdf2
First handful of functional tests for SSH against Docker.
7 years ago
David Wilson
a882497b62
ssh: Learn to type passwords and supply pubkeys.
...
Now ssh requires a tty allocation. This presents a scalability problem,
a future version could selectively allocate a tty only if typing
passwords is desired.
Sudo's tty handling is now moved into mitogen.master.
7 years ago
David Wilson
db793003e0
Tidy.
7 years ago
David Wilson
5fd3337ed2
Add more dependencies to dev_requirements.txt.
7 years ago
David Wilson
f60e8bc47d
Add hacks to allow Mock to be imported.
7 years ago
David Wilson
22c9f82c46
Import Docker build script for integration tests
7 years ago
David Wilson
bc437733e5
Working DockerMixin for tests.
7 years ago
David Wilson
36ad9d3f0f
Fixup ansible_demo.py for recent Ansibles
7 years ago
David Wilson
1627164165
fix unbelievably dumb variable shadowing
7 years ago
David Wilson
6e3f0702a3
A few more mitogen.slave/master changes
7 years ago
David Wilson
ce7a7eddb4
Mention git.
7 years ago