David Wilson
2f016b5c7b
issue #477 : Python 2.4 lacked context managers.
6 years ago
David Wilson
3767d56187
issue #477 : Python <2.5 did not have combined try/finally/except.
6 years ago
David Wilson
66b64cae2c
issue #477 : older Ansibles had no vars plugin base class.
6 years ago
David Wilson
33caea06ed
issue #477 : Python <2.5 lacked any().
6 years ago
David Wilson
3109abd518
issue #477 : Python <2.6 lacked rpartition().
6 years ago
David Wilson
84601f41fd
issue #477 : make CallError inherit from object for 2.4/2.5.
...
Otherwise cPickle will not call __reduce__().
6 years ago
David Wilson
f3dae10fe1
issue #477 : 2.4/2.5 had no better poller than poll().
6 years ago
David Wilson
881dc7d5ca
issue #477 : more 2.4-compatible thread.get_ident() use.
6 years ago
David Wilson
a1e0b4381f
issue #477 : bump corrupt msg output size to 2Kb
...
Allows much more of any tracebacks present to become visible.
6 years ago
David Wilson
3e255129ab
docs: add another strace recipe
6 years ago
David Wilson
f52f7f6a62
ansible: merge away unused return values / functions.
6 years ago
David Wilson
7dd0c704e2
github: tweak issue template.
6 years ago
David Wilson
a302b71f58
docs: include strace wrapper trick.
6 years ago
David Wilson
b5c14cecda
docs: docs and docstrings.
6 years ago
David Wilson
5c5269e147
docs: Changelog typo.
6 years ago
David Wilson
d76312d03c
docs: s/doffers/differs/
6 years ago
David Wilson
fb815ebec6
issue #434 : add to Changelog.
6 years ago
David Wilson
0edeec118c
issue #401 : add to Changelog.
6 years ago
David Wilson
6856ee9021
issue #359 : add to Changelog.
6 years ago
David Wilson
8f1cff7d08
issue #396 : add to Changelog.
6 years ago
David Wilson
efdfd4a353
docs: add thanks entry
6 years ago
David Wilson
97d2f2e1db
issue #436 : add to Changelog.
6 years ago
David Wilson
c654379482
issue #465 : add to Changelog.
6 years ago
David Wilson
c4d0046164
issue #404 : add to Changelog.
6 years ago
David Wilson
b8e1adf4fa
issue #251 : readd to Changelog.
6 years ago
David Wilson
d6945443b7
tests: add exact test for issue 251; closes #251 .
6 years ago
David Wilson
15182bb814
issue #412 : pad out debugging docs, add get_stack to changelog.
6 years ago
David Wilson
e767de3f15
issue #412 : force-verbose output for mitogen_get_stack.
6 years ago
David Wilson
23866084d7
issue #412 : promote "mitogen_get_stack" to the main extension.
...
This is to make it easier for users to diagnose their own problems.
6 years ago
David Wilson
115c3c5657
issue #412 : add docstrings/boilerplate to transport_config.py.
6 years ago
David Wilson
2ad05f1238
issue #251 , #412 , #434 : fix connection configuration brainwrong
...
This refactors connection.py to pull the two huge dict-building
functions out into new transport_transport_config.PlayContextSpec and
MitogenViaSpec classes, leaving a lot more room to breath in both files
to figure out exactly how connection configuration should work.
The changes made in 1f21a30
/ 3d58832
are updated or completely removed,
the original change was misguided, in a bid to fix connection delegation
taking variables from the wrong place when delegate_to was active.
The Python path no longer defaults to '/usr/bin/python', this does not
appear to be Ansible's normal behaviour. This has changed several times,
so it may have to change again, and it may cause breakage after release.
Connection delegation respects the c.DEFAULT_REMOTE_USER whereas the
previous version simply tried to fetch whatever was in the
'ansible_user' hostvar. Many more connection delegation variables closer
match vanilla's handling, but this still requires more work. Some of the
variables need access to the command line, and upstream are in the
process of changing all that stuff around.
6 years ago
David Wilson
8414ff21ca
issue #434 : tests: set a default remote_user in ansible.cfg.
6 years ago
David Wilson
73a0c485cf
tests: CI should symlink all contents of ansible/hosts/
6 years ago
David Wilson
6ca2677de5
ansible: fix test failure during process exit.
...
======================================================================
ERROR: tests.connection_test (unittest2.loader._FailedTest)
----------------------------------------------------------------------
Traceback (most recent call last):
ImportError: Failed to import test module: tests.connection_test
Traceback (most recent call last):
File "/home/dmw/src/mitogen/.venv/local/lib/python2.7/site-packages/unittest2/loader.py", line 456, in _find_test_path
module = self._get_module_from_name(name)
File "/home/dmw/src/mitogen/.venv/local/lib/python2.7/site-packages/unittest2/loader.py", line 395, in _get_module_from_name
__import__(name)
RuntimeError: not holding the import lock
6 years ago
David Wilson
1b8748a8d9
tests: use assert_equal in more places.
6 years ago
David Wilson
d72567b15b
tests: make assert_equal work on newer Ansibles.
6 years ago
David Wilson
8891b48080
tests: convert stack_construction.yml to assert_equal.
6 years ago
David Wilson
4256d2aa4b
tests: make fork_histogram optional
6 years ago
David Wilson
17eff064b0
tests: use assert_equal in delegate_to_template.yml.
6 years ago
David Wilson
91c9aff9ff
tests: import assert_equal action.
6 years ago
David Wilson
630c058a89
tests: rename 'delegation/' to 'connection_delegation/'
6 years ago
David Wilson
e99b8a8de7
core: replace ancient YOLO loop in fire().
6 years ago
David Wilson
f5d9af80ef
tests: some more utility function tests + flake8.
6 years ago
David Wilson
0ba8cc7b61
tests: clean up / deduplicate Ansible inventory.
6 years ago
David Wilson
1555f23215
tests: add some more helper function tests.
6 years ago
David Wilson
1119f24071
issue #414 : reinitialize service pool lock on fork
6 years ago
David Wilson
9d9add3339
issue #414 : reenable test.
6 years ago
David Wilson
120c667052
core: many docstring updates and an example substitute for Channel
6 years ago
David Wilson
84f75551a3
core: make Receiver a self-closing context manager.
6 years ago
David Wilson
fcc403cc2f
core: make Receiver.to_sender() use Router.myself().
6 years ago