Mirror of mitogen
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Go to file
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.
7 years ago
.ci tests: CI should symlink all contents of ansible/hosts/ 7 years ago
.github .github: suggest file attachments for large logs 7 years ago
ansible_mitogen issue #251, #412, #434: fix connection configuration brainwrong 7 years ago
docs issue #414: reinitialize service pool lock on fork 7 years ago
examples core: many docstring updates and an example substitute for Channel 7 years ago
mitogen core: replace ancient YOLO loop in fire(). 7 years ago
tests issue #251, #412, #434: fix connection configuration brainwrong 7 years ago
.gitignore Add venvs/ to gitignore 7 years ago
.lgtm.yml compat: ignore LGTM checks on third party 8 years ago
.travis.yml Turn on Travis build notifcations, but send them to IRC. 7 years ago
LICENSE Add license text everywhere. 8 years ago
README.md Motivational shame badges back in README 7 years ago
dev_requirements.txt Split dev_requirements.txt up according to test mode. 7 years ago
preamble_size.py add --dump to preamble_size.py. 7 years ago
run_tests Pythonize, split out and parallelize all jobs. 7 years ago
setup.cfg Ignore another annoying flake8 message. 8 years ago
setup.py Update trove classifiers. 8 years ago
tox.ini Add tests/ansible/requirements.txt to Tox. 7 years ago

README.md