David Wilson
fadb9181bc
issue #410 : support sudo --user and SELinux options, add stub test.
6 years ago
David Wilson
0d410aef51
docs: fix internals.rst headings.
6 years ago
David Wilson
0394dac2c7
docs: document RouteMonitor class.
6 years ago
David Wilson
7314b54afd
issue #409 : update Changelog.
6 years ago
David Wilson
54445470e2
issue #409 : add missing path config variables to severa plugins
...
So every method can be redirected to a stub implementation.
6 years ago
David Wilson
48942a8a30
issue #409 : updat Changelog.
6 years ago
David Wilson
026710cb28
issue #373 : update Changelog.
6 years ago
David Wilson
1198164ce6
docs: Changelog typos.
6 years ago
David Wilson
766dce9a59
docs: update Changelog
6 years ago
David Wilson
d81698c43a
docs: update Changelog.
6 years ago
David Wilson
1eae594e32
ssh: fix check_host_keys="accept" and test; closes #411
...
Add real accept/enforce tests.
6 years ago
David Wilson
cf50b572f6
docs: update ChangeLog.
6 years ago
David Wilson
b527ff0b66
docs: update Changelog; closes #369 .
6 years ago
David Wilson
efed9da474
docs: update Changelog.
6 years ago
David Wilson
9ec360c26d
core: split out & extend Broker.sync_call()
6 years ago
David Wilson
8891fda48a
docs: getting_started typo
6 years ago
David Wilson
f3e19d81da
docs: reorder sections
6 years ago
David Wilson
96b88cc70f
issue #76 : docs: update Changelog.
6 years ago
David Wilson
bd71a2760e
docs: describe disconnect propagation; closes #76 .
6 years ago
David Wilson
72da291b24
docs: fix up incomplete Temporary Files section.
6 years ago
David Wilson
48bc91550b
docs: update changelog.
6 years ago
David Wilson
40d2cf7e25
docs: update changelog.
6 years ago
David Wilson
a7b1831ddf
core: move IS_DEAD doc into core.py.
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
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
David Wilson
0fa5fe5559
parent: handle masters with blank sys.executable; closes #356 .
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
f6b201bdfc
docs: updates for #376 and #371
6 years ago
David Wilson
9fadd22396
docs: update Changelog; closes #362 .
6 years ago
David Wilson
5521945bd2
ansible: temporary files take 5.
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
David Wilson
638b196a45
ansible: fix put_file() for large temporary files.
...
Reverts 49736b3a
, large file copies can't avoid the RTT.
The parent stack must be blocked while FileService progresses, as unlike
the small file path, it does not make a snapshot of the (possibly
temporary) file passed by the action plug-in. So we need to keep that
file alive while the service runs.
Add a new integration test and a new soak test to cover both.
6 years ago
David Wilson
dfc67b89fd
docs: some more cleanups
...
- add faulthandler/thread stacks to changelog.
- various api.rst cleanups.
- docs: explain chain_id in howitworks.
6 years ago
David Wilson
6cb0e422e9
docs: changelog typo.
6 years ago
David Wilson
65f03e03f5
tests: remote_tmp test fixes.
6 years ago
David Wilson
cc4835ce99
docs: update changelog.
6 years ago
David Wilson
f0f828033f
docs: update changelog.
6 years ago
David Wilson
ae446ad7c8
docs: fix changelog
6 years ago
David Wilson
c9596568be
docs: update changelog.
6 years ago
David Wilson
2c0244eea7
docs: more tweaks
6 years ago
David Wilson
c8081e7ca1
docs: typo
6 years ago
David Wilson
e241081cae
ansible: stop sharing target temp_dir in runner.
...
This cannot work with delegate_to, since delegate_to permits multiple
concurrent tasks to be executing on the same target.
6 years ago
David Wilson
020482e554
dosc: update changelog
6 years ago
David Wilson
4d3873c784
core: call chains v3: abstract it into a new CallChain class.
6 years ago
David Wilson
1bf9b2c1a3
docs: update changelog.
6 years ago
David Wilson
aa9400a3b9
docs: fix changelog
6 years ago
David Wilson
a3957d6aaf
parent: add Context.forget_chain().
6 years ago
David Wilson
1247d1fce6
docs: update changelog.
6 years ago
David Wilson
42b1b3d286
core: support mitogen_chain dispatcher option.
6 years ago
David Wilson
07845d2f59
docs: update changelog.
6 years ago
David Wilson
57fb00cf6b
docs: update changelog.
6 years ago
David Wilson
1b6dea24ba
docs: update changelog.
6 years ago
David Wilson
6c8a667691
docs: update Changelog.
6 years ago
David Wilson
7d62a53264
issue #337 : ssh: disabling PTYs round 2: make it automatic.
6 years ago
David Wilson
5004207705
issue #337 : ssh: support disabling PTY allocation
...
`.ssh(batch_mode=True)`
6 years ago
David Wilson
8ab11f415f
ansible: better support for diagnosing hangs
...
* Always enable the faulthandler module in the top-level process if it
is available.
* Make MITOGEN_DUMP_THREAD_STACKS interval configurable, to better
handle larger runs.
* Add docs subsection on diagnosing hangs.
Conflicts:
ansible_mitogen/process.py
6 years ago
David Wilson
897bc07ea0
docs: update changelog.
6 years ago
David Wilson
42f07466d2
setns: always assume a user identity, default to root.
...
Without this, an invocation like:
sudo ansible-playbook foo.yml
Where foo.yml uses setns, could inherit the HOME environment variable
from the external non-root user, which broke /usr/bin/mysql_upgrade and
plenty more.
6 years ago
David Wilson
c32b8d9728
docs: fix up doas documentation.
6 years ago
David Wilson
4134218ef4
docs: update changelog.
6 years ago
David Wilson
d36a320e7f
docs: update contributors.
6 years ago
David Wilson
fcc7429111
docs: changelog: split out enhancements
6 years ago
David Wilson
52cd7fddc1
docs: update changelog.
6 years ago
David Wilson
7458dfae85
ansible: avoid roundtrip for small file transfers.
...
Calls to connect.put_file() where the file is sufficiently small enough
to fit in a single RPC proceed without waiting for an RPC response. If
the write fails the target context will log an exception, and any
subsequent step depending on the written file will fail.
I verified every built-in action plugin for file transfer calls, and
they all depend on the transferred file in the following step, so this
should be safe.
Reduces template/copy actions to 2-RTT, loop-20-templates.yml runtime
reduced from 30 seconds to 10 seconds over a 250ms link compared to
v0.2.2, and from 123 seconds compared to vanilla with pipelining
enabled.
6 years ago
David Wilson
84521b714f
docs: update changelog.
6 years ago
David Wilson
76c4cf57bd
docs: update changelog
6 years ago
David Wilson
bce4f59138
issue #345 : disable IdentitiesOnly by default.
6 years ago
David Wilson
e84de489eb
issue #336 : update changelog.
...
Closes #336 .
6 years ago
David Wilson
06cae11e52
Add freze alabaster version to try fix layout issue.
6 years ago
David Wilson
2e3d04bbb8
issue #342 : forward _create_control_path() to SSH plugin.
...
network_cli connection type loads the "ssh" (mitogen_ssh) plugin and
expects a private method to exist.
6 years ago
David Wilson
bc682ce5a0
docs: update supported versions.
6 years ago
David Wilson
77b68f9b9d
issue #321 : docs fixes
6 years ago
David Wilson
ac9b84d237
issue #321 : 2.4+ compatibility fixes, disable test on Vanilla.
6 years ago
David Wilson
f24f02ba06
issue #321 : take remote_tmp and system_tmpdirs into account.
...
Can't simply ignore these settings as some users may have weird noexec
filesystems.
6 years ago
David Wilson
a2686b1a2c
issue #321 : simplify temp directory handling.
6 years ago
David Wilson
27b64a484b
docs: document mitogen.core.CHUNK_SIZE.
6 years ago
David Wilson
ec8d759d46
docs: document one more.
6 years ago
David Wilson
442d88e3d7
docs: many more fixes/merges.
6 years ago
David Wilson
a561fb79e5
docs: merge more docs back into mitogen/core.py.
6 years ago
David Wilson
06e2e846c5
parent: don't generate illegal default remote names.
...
getpass.getuser() output may contain slashes, which must be avoided as
they break virtualenv when present in argv[0].
Closes #344 .
6 years ago
David Wilson
30ca569716
docs: Update Changelog.
6 years ago
David Wilson
a6995a5288
issue #338 : refactor env handling into class and fix tests.
6 years ago
David Wilson
ad365dad56
issue #340 : one more test, update Changelog.
6 years ago
David Wilson
8e35103185
docs: Update Changelog.
6 years ago
David Wilson
9365f254d2
Update ChangeLog.
6 years ago
David Wilson
053c594d65
ansible: prevent logs spamming user console on exit.
...
Closes #331 .
6 years ago
David Wilson
81c8156965
Support LXD; closes #339 .
6 years ago
David Wilson
898c06f1b9
docs: host demo on Vimeo.
6 years ago
David Wilson
232aaf5c95
Merge branch 'dmw'
6 years ago
David Wilson
f4a66194e4
ansible: Py3.x fixes for Ansible PR #41749 workaround.
6 years ago
David Wilson
3b10920157
docs: delete compared.rst because somehow it's in search results.
6 years ago
David Wilson
196f76ff22
Remove staticmethod from docs.
...
Can re-add this later for 3.x, but it's pretty impossible in general for
2.x.
Closes #313 .
6 years ago
David Wilson
9b2417e62d
docs: add funny testimonial
6 years ago
David Wilson
45c2b04456
docs: add missing changelog entry.
6 years ago