David Wilson
40d2cf7e25
docs: update changelog.
6 years ago
David Wilson
7fd9fb0014
issue #397 : fix another case where stray tmpdirs can be left behind.
...
Newer Ansibles use atexit.register() to invoke cleanup, so we need to
run those registrations after each run.
6 years ago
David Wilson
1b17aa1d1a
ansible: fix temp cleanup regression and add test; closes #397 .
6 years ago
David Wilson
e45e5d3e06
tests: Document Python versions in build_docker_images.py
6 years ago
David Wilson
9828588e97
master: group is_stdlib_name() with other module functions.
6 years ago
David Wilson
bf597d257f
master: document LogForwarder.
6 years ago
David Wilson
74cf9c3c96
master: document ThreadWatcher
6 years ago
David Wilson
a7b1831ddf
core: move IS_DEAD doc into core.py.
6 years ago
David Wilson
3aa5c4c53d
issue #373 : parse the child process wait status
...
Don't log the raw waitpid() result, convert it to a useful string first.
6 years ago
David Wilson
48f9fc8930
docs: tweak thanks text
6 years ago
David Wilson
f5e933e8a2
docs: add Alex's fix to changelog
6 years ago
dw
ad44ad16f1
Merge pull request #385 from moreati/python-3.x-cleanups
...
Test with Tox on Python 3.x
6 years ago
dw
f3ee4011cc
Merge pull request #386 from moreati/doc-cleanups
...
Documentation cleanups
6 years ago
Alex Willmer
90823231f9
docs: Add services page to a hidden table of contents
...
This fixes an error reported by tox -edocs
Warning, treated as error:
/home/alex/src/mitogen/docs/services.rst:document isn't included in any
toctree
without promoting the page to a top level TOC entry, since the page
appears to be work in progress.
6 years ago
Alex Willmer
bf34b383eb
docs: Disambiguate references to Context
...
This addresses an error found while running tox -edocs
Warning, treated as error:
mitogen/docs/api.rst:469:more than one target found for cross-reference
u'Context': mitogen.core.Context, mitogen.parent.Context
6 years ago
Alex Willmer
191a327d9d
docs: Don't redefine links to scp and sftp
...
This addresses an error found while running tox -edocs
Warning, treated as error:
./docs/ansible.rst:6:Duplicate explicit target name: "scp(1)".
6 years ago
Alex Willmer
6da31c9dee
docs: Remove unneeded backslash escapes
...
Python 3.x was emitting a DeprecationWarning. AFAICT there has been no
impact on the HTML rendering.
6 years ago
Alex Willmer
b9112a9cbb
ssh: Fix password authentication with Python 3.x & OpenSSH 7.5+
...
Since PERMDENIED_PROMPT is a byte string the interpolation was resulting
in: b"user@host: b'permission denied'". Needless to say this didn't
match.
6 years ago
Alex Willmer
67f26434cb
tests: Run tests on CPython 3.5 and 3.6 with Tox
...
Python 3.0 to 3.4 are excluded because no version of Ansible supports
them. Due to their setup.py declarations pip refuses to install Ansible
on these versions of Python.
6 years ago
David Wilson
ad81a64ee0
Merge branch 'dmw'
...
- static binaries for runner tests
- temp files take 5
- kubectl updates
- fix tests/ansible/tests/ via run_tests
- extra locking for ContextService
- cap child proceses to 512 fds to fix RedHat stupidity.
- split find_good_temp_dir/is_good_temp_dir
- install instructions updates
- handle null sys.executable
- define explicit localhost for tests, needed when running under Travis
- block import if __main__ lacks an execution guard
6 years ago
David Wilson
0fa5fe5559
parent: handle masters with blank sys.executable; closes #356 .
6 years ago
David Wilson
9d070541d9
ansible: try to create tempdir if missing.
...
Closes #358 .
6 years ago
David Wilson
62f7963da9
tests: make ansible/tests/ run in run_tests.
6 years ago
David Wilson
6dd1001d7a
tests: move kubectl into new subdir
...
Fixes tab completion with tests/ dir :)
CC @yannig
6 years ago
David Wilson
130e42a932
tests: prevent compare_output_test running on import.
6 years ago
David Wilson
4c81eba599
Merge commit 'refs/pull/377/head' of github.com:dw/mitogen into dmw
...
(Pull #377 )
Changes:
- additional_parameters -> extra_args
- Merge with kubectl changes from dmw branch
- Update docs
- Remove unused username class member
- Avoid mutable kubectl_args class member
- Use six.iteritems
6 years ago
David Wilson
0abb6b0880
issue 366: update changelog.
6 years ago
David Wilson
4146648759
master: log error an refuse __main__ import if no guard detected.
...
Closes #366 .
6 years ago
David Wilson
f6b201bdfc
docs: updates for #376 and #371
6 years ago
David Wilson
6dddef0c45
Make image_prep work on Ubuntu.
6 years ago
David Wilson
7a00e1cc87
issue #360 : missing locks around shutdown and LRU management.
6 years ago
David Wilson
498db57ec8
issue #360 : ansible: missing lock around ContextService.put().
6 years ago
David Wilson
f8bf780e21
issue #362 : Py3.x fixes.
6 years ago
David Wilson
9fadd22396
docs: update Changelog; closes #362 .
6 years ago
David Wilson
f8b6c774dd
issue #362 : cap max open files in children.
6 years ago
David Wilson
86ff2cc768
bodge.
6 years ago
David Wilson
2eb3ea78d6
tests: remove a bunch of stray debug
6 years ago
David Wilson
21a7aac220
tests: import custom binaries for tests
...
Same for async tests.
6 years ago
David Wilson
dfb4930fce
tests: import custom binaries for tests
...
It means Linux<->OS X runs work fine without manual hackery.
6 years ago
David Wilson
564113874b
tests: explicitly define localhost in common-hosts
6 years ago
David Wilson
e58b6a8f05
tests: correct path for common-hosts
6 years ago
David Wilson
5521945bd2
ansible: temporary files take 5.
6 years ago
David Wilson
f6b74992e1
tests: fix apparently erroneous localhost delegation.
...
The stack delegates to localhost, which has ansible_python_interpreter
set.
6 years ago
David Wilson
e85760477b
tests: fix connection/_put_file.yml
...
Was statting wrong destination path, and comparing floats that don't
roundtrip serialization reliably.
6 years ago
David Wilson
0cf908661e
tests: set Docker hostname for more readable exceptions
6 years ago
David Wilson
638e473ff1
tests: hacksmash synchronize test to work
...
Avoid password typing idiocy.
6 years ago
David Wilson
43ad23946e
docs: tidy up wording.
6 years ago
David Wilson
3660febeb2
docs: add inline subscribe form to installation instructions
6 years ago
Yannig Perré
17548d1e49
[Enhancement] handle kubectl vars from Ansible connector.
...
This change allows the kubectl connector to support the same options as
Ansible's original connector.
The playbook sample comes with an example of a pod containing two containers
and checking that moving from one container to another, the version of Python
changes as expected.
6 years ago
dw
1a5dadf732
Merge pull request #383 from moreati/pytz-2018.05
...
Update pytz to 2018.05 (needed by babel 2.6.0)
6 years ago