David Wilson
4caca80962
issue #627 : reduce the default pool size in a child to 2.
...
Ansible has no blocking services running, or really any service that
would have an outsized benefit from multiple IO waiters. Probably we
only need 1, but let's start with 2 just in case.
5 years ago
David Wilson
26a9fed396
docs: some more hyperlink joy
5 years ago
David Wilson
d75c9cffc3
docs: add domainrefs plugin to make link aliases everywhere \o/
...
PATENT PENDING
5 years ago
David Wilson
6b180a4091
docs: link IS_DEAD in changelog
5 years ago
David Wilson
01a1914a1f
docs: tweaks to better explain changelog race
5 years ago
David Wilson
bcca47df3c
issue #533 : update routing to account for DEL_ROUTE propagation race
5 years ago
David Wilson
207f57537a
issue #615 : update Changelog.
5 years ago
David Wilson
3c8c11b360
issue #615 : update Changelog.
5 years ago
David Wilson
db8f0db5e7
docs: lots more changelog
5 years ago
David Wilson
341c453eaa
issue #595 : add buildah to docs and changelog.
5 years ago
David Wilson
e0d9b8d1e1
docs: a few more internals.rst additions
5 years ago
David Wilson
49796e0c39
docs: update changelog
5 years ago
David Wilson
8dfb3966df
issue #558 , #582 : preserve remote tmpdir if caller did not supply one
...
The undocumented 'tmp' parameter controls whether _execute_module()
would delete anything on 2.3, so mimic that. This means
_execute_remove_stat() calls will not blow away the temp directory,
which broke the unarchive plugin.
5 years ago
David Wilson
e12f391106
docs: mention another __main__ safeguard
5 years ago
David Wilson
1d41adb346
docs: tweaks
5 years ago
David Wilson
9cb187c2c4
formatting error
5 years ago
David Wilson
9b9fe57ea8
docs: make Sphinx install soft fail on Python 2.
5 years ago
David Wilson
c89f6cbab6
issue #598 : update Changelog.
5 years ago
David Wilson
240dc84d94
issue #605 : update Changelog.
5 years ago
David Wilson
4fa760cd21
issue #613 : add tests for all the weird shutdown methods
5 years ago
David Wilson
57012e0f72
Add mitogen.core.now() and use it everywhere; closes #614 .
5 years ago
David Wilson
379dca90b9
docs: move decorator docs into core.py and use autodecorator
5 years ago
David Wilson
a91a8bf19c
docs: upgrade Sphinx to 2.1.2, require Python 3 to build docs.
5 years ago
David Wilson
93e8d5dfcc
docs: fix Sphinx warnings, add LogHandler, more docstrings
5 years ago
David Wilson
1d943388b7
docs: tidy up some Changelog text
5 years ago
David Wilson
c464bb5346
issue #615 : update Changelog.
5 years ago
David Wilson
e352b9e5fd
docs: update Changelog.
5 years ago
David Wilson
6fa69955c4
issue #586 : update Changelog.
5 years ago
David Wilson
f0138072f1
docs: update Changelog.
5 years ago
David Wilson
5ae6f92177
issue #612 : update Changelog.
5 years ago
David Wilson
5970b041e0
docs: merge signals.rst into internals.rst
5 years ago
David Wilson
41d180495a
issue #547 : update Changelog.
5 years ago
David Wilson
50b2d590fd
docs: update Changelog.
5 years ago
David Wilson
b33b29af33
core: remove dead Router.on_shutdown() and Router "shutdown" signal
...
Its functionality was duplicated by _on_broker_exit() somewhere along
the way, and nothing has referred to it in a long time. I have no idea
how this happened.
Merge its docstring into _on_broker_exit() and delete it, remove the
Router "shutdown" signal after confirming it has no users, and move all
the Router-originated error messages together in a block at the top of
the class.
Already covered by router_test.AddHandlerTest.test_dead_message_sent_at_shutdown
5 years ago
David Wilson
f4cee16526
parent: zombie reaping v3
...
Improvements:
- Refactored off Process, separately testable without a connection
- Don't delay Broker shutdown indefinitely for detached children
5 years ago
David Wilson
dd1fed0a5f
docs: update changelog
5 years ago
David Wilson
e8b1bf5909
issue #410 : automatically work around SELinux braindamage.
5 years ago
David Wilson
87443da828
docs: remove fakessh from home page, it's been broken forever
5 years ago
David Wilson
0d636af532
docs: add changelog thanks
5 years ago
David Wilson
be330194d5
docs: udpate Changelog.
5 years ago
David Wilson
b7cdd39044
docs: tweak Changelog wording
5 years ago
David Wilson
a79d2bd50b
docs: another round of docstring cleanups.
5 years ago
David Wilson
feb1654305
docs: many more internals.rst tidyups
5 years ago
David Wilson
f0782ccd42
[stream-refactor] get caught up on internals.rst updates
5 years ago
David Wilson
aa06b960f5
parent: define Connection behaviour during Broker.shutdown()
...
- Connection attempt fails reliably, and it fails with CancelledError
- Add new mitogen.core.unlisten()
- Add test.
5 years ago
David Wilson
7629ff9e6d
issue #602 : update Changelog
5 years ago
David Wilson
cf2b8f1c24
docs: update Changelog.
5 years ago
David Wilson
e87e41e69e
docs: finished Changelog locking note
5 years ago
Stefane Fermigier
aa15975ad4
Fix for sample in doc
...
`log_to_file()` expects a filename.
5 years ago
David Wilson
9bb3dac450
docs: break out install_app.py and fix API use.
5 years ago
David Wilson
d0aee1ef3c
issue #549 : docs: update Changelog
5 years ago
David Wilson
edeaa3c6ee
docs: remove old list link.
5 years ago
David Wilson
c4bcfa4c49
docs: migrate email list
5 years ago
David Wilson
7accc092de
docs: changelog tweaks
5 years ago
David Wilson
9e1faa7927
docs: changelog concision / additions
5 years ago
David Wilson
c0357d394f
add 363 to changelog
5 years ago
David Wilson
8f25114d1a
docs: update Changelog
5 years ago
David Wilson
de65790a74
docs: note fd usage has halved
5 years ago
David Wilson
ded00d25c9
docs: more stream-refactor work
5 years ago
David Wilson
4cd32cbcba
docs: update Changelog for stream-refactor.
5 years ago
David Wilson
d35bca3f15
docs: Add lineinfile bug to changelog.
5 years ago
David Wilson
db9066fbfb
[stream-refactor] mark setns module as requiring Python >2.4
5 years ago
David Wilson
1305420aa5
docs: remove bytearray from supported types list.
5 years ago
David Wilson
77564fdfe2
issue #170 : update Changelog; closes #170 .
5 years ago
David Wilson
870e0b6e2d
issue #170 : add timers to internals.rst.
5 years ago
David Wilson
1a32a79fa6
issue #578 : update Changelog.
6 years ago
David Wilson
8fc491ac43
issue #589 : ensure real FileService/PushFileService are in the docs
6 years ago
David Wilson
874e75276f
issue #589 : ensure real FileService/PushFileService are in the docs
6 years ago
David Wilson
687d4033d5
docs: add new contributor entry
6 years ago
David Wilson
2d083d19df
issue #589 : remove outdated/incomplete examples
6 years ago
David Wilson
06690901e4
issue #589 : split services example out and make it run.
6 years ago
David Wilson
3620fce071
issue #593 : expose configurables for SSH keepalive and increase the default
6 years ago
David Wilson
0b7fd3f290
issue #591 : ansible: restore CWD prior to AnsibleModule initialization.
6 years ago
David Wilson
8f940e2ccb
issue #590 : teach importer to handle self-replacing modules
6 years ago
David Wilson
2c15c1d4a5
issue #587 : docs: update Changelog.
6 years ago
David Wilson
504f1961ea
issue #587 : update mitogen_doas doc to match varible change.
6 years ago
David Wilson
72d8973bc9
docs: Get rid of a ton of blocking resources from theme.
6 years ago
David Wilson
d002cbbff0
docs: update stats
6 years ago
David Wilson
eb6d83e1a0
docs: update download link.
6 years ago
David Wilson
7bb2832302
docs: Google site verification
6 years ago
David Wilson
b3b9f82085
docs: move confusing install step to noteworthy difference
6 years ago
David Wilson
38b3415838
docs: update Changelog for release.
6 years ago
David Wilson
0b110305c9
issue #587 : update Changelog
6 years ago
David Wilson
f30a4c05c8
issue #581 : expose mitogen_mask_remote_name variable.
6 years ago
David Wilson
ee62c57c9d
issue #576 : fix Kwargs minor version check.
...
Unicode kwargs were introduced in Python 2.6.5, not 2.6.0.
6 years ago
David Wilson
65deb3feac
issue #575 : fix exception text rendering
6 years ago
David Wilson
9739f550ab
docs: remove infringing mark
6 years ago
David Wilson
2758c38f4f
docs: fix config var scope
6 years ago
David Wilson
81b0059d83
docs: faster stats-preserving redirect
6 years ago
David Wilson
8af8c868ad
docs: update ansible page
6 years ago
dw
77da511811
Merge branch 'master' into issue570
6 years ago
David Wilson
34fb9da1be
issue #570 : add firewalld to always-fork list for now.
6 years ago
Luka Matijevic
0bc9b206d7
docs: removed excess word
6 years ago
Luka Matijevic
598821e865
docs: fixed message routing example description
...
Message routing example description does not match given diagram.
6 years ago
Luka Matijevic
81db1c94b3
docs: removed repeated word
6 years ago
David Wilson
c6f4dc356b
docs: update Changelog; closes #557 .
6 years ago
David Wilson
13643b7268
docs: update Changelog for release.
6 years ago
David Wilson
2bd0bbd4df
issue #555 : ansible: workaround ancient reload(sys) hack.
...
This is the most minimal change for what might be relatively minimal
edge case. Alternative is replacing reload(), but let's not do that yet.
Closes #555
6 years ago
David Wilson
7743e57ff3
issue #554 : track and remove multiple make_tmp_path() calls.
6 years ago
David Wilson
d1ba077f0e
docs: update Changelog.
6 years ago
David Wilson
ffae035584
docs: drastically simplify install/changelog.
6 years ago
David Wilson
2226c23c91
issue #550 : update Changelog.
6 years ago
David Wilson
0b177f1491
docs: update Changelog.
6 years ago
David Wilson
79af8ef680
docs: update Changelog; closes #548 .
6 years ago
David Wilson
b7742a4b5f
docs: better intro paragraph.
6 years ago
David Wilson
0a66ca72ef
os_fork: more doc tweaks
6 years ago
David Wilson
5dc0bd6f8d
os_fork: clean up docs
6 years ago
David Wilson
ebbf5ab62c
issue #535 : update Changelog.
6 years ago
David Wilson
63f4864b21
issue #535 : introduce mitogen.os_fork module and Corker class.
6 years ago
David Wilson
c119ae8f66
issue #535 : docs: update Changelog
6 years ago
David Wilson
72862f0bb9
issue #535 : docs: fix up Select doc
6 years ago
David Wilson
28aa8b3b27
issue #535 : docs: update Changelog.
6 years ago
David Wilson
7d0480e8bd
core: increase cookie field lengths to 64-bit; closes #545 .
6 years ago
David Wilson
c0db283ac7
docs: update copyright year.
6 years ago
David Wilson
14e6c6e49e
docs: update Changelog.
6 years ago
David Wilson
d865fb797d
docs: change 'unreleased' Changelog format and add a hint.
6 years ago
David Wilson
2cde51ea63
docs: update Changelog; closes #542 .
6 years ago
David Wilson
45f915f392
docs: update Changelog; closes #537 .
6 years ago
David Wilson
e010667230
Bump version for release.
6 years ago
David Wilson
6d7bd7e3b9
docs: update Changelog.
6 years ago
David Wilson
cf8ecf19b7
docs: update Changelog; closes #532 .
6 years ago
David Wilson
1b4eb06f72
docs: more concise Changelog.
6 years ago
David Wilson
b317b66317
issue #541 : changelog typos.
6 years ago
David Wilson
0f30808234
ansible: quiesce boto logger; closes #541 .
6 years ago
David Wilson
c39ee9b7fe
docs: update Changelog.
6 years ago
David Wilson
023b44b129
docs: remove top "Table of Contents" link
6 years ago
David Wilson
2d536b49eb
docs: remove a little more top margin wastage
6 years ago
David Wilson
968b826800
docs: update Changelog; closes #539 .
6 years ago
David Wilson
1c955a9876
ansible: capture stderr stream of async tasks. Closes #540 .
6 years ago
David Wilson
4be4b085e3
docs: update Changelog.
6 years ago
David Wilson
d45797b370
docs: duplicate word
6 years ago
David Wilson
24c48c165d
docs: update Changelog.
6 years ago
David Wilson
8ae6ca1d5b
tests/ansible: Spec.become_method() test & mitogen_via= fix.
...
ansible_become_method hostvar was not taken into account.
6 years ago
David Wilson
4d33598fa0
setup.py: include LICENSE; closes #538 .
6 years ago
David Wilson
d1cadf8ac8
tests/ansible: Spec.password() test, document interactive pw limitation.
6 years ago
David Wilson
10dcbaa493
docs: lighter pink
6 years ago
David Wilson
1292b55fec
docs: add 'Fixes' heading
6 years ago
David Wilson
676f756153
docs: more margin tweaks for changelog
6 years ago
David Wilson
45c3871d6f
docs: tighter <p> margins, even less shouting, red headings
6 years ago
David Wilson
5df8991744
docs: tidy up footer and GitHub link
6 years ago
David Wilson
d060f73f46
docs: enable fixed_sidebar
6 years ago
David Wilson
eae7b21673
docs: sans-serif fonts, reduce shouty headings
6 years ago
David Wilson
90401833fa
docs: update Changelog; closes #511 , closes #536 .
6 years ago
David Wilson
f514dbeba9
docs: update Changelog release date.
6 years ago
David Wilson
b12539f99b
docs: update Changelog; closes #481
6 years ago
David Wilson
32161f3df5
docs: update thanks
6 years ago
David Wilson
4f6c57b6a8
docs: lose "approaching stability" language, we're pretty good now
6 years ago
David Wilson
7b046c9fba
docs: fix changelog syntax/order/"20KB"
6 years ago
David Wilson
e703522010
issue #505 : docs: add new detail graph for one scenario.
6 years ago
David Wilson
c279454502
docs: update and re-record profile graphs in docs; closes #505
...
pcaps moved to 'pcaps' branch.
6 years ago
David Wilson
eb67fbe9d2
ansible: double the default pool size.
...
Tempted to push this up to 64, but let's do it incrementally just in
case.
6 years ago
David Wilson
e167f6373c
docs: update Changelog.
6 years ago
David Wilson
b499fbe29b
ansible: add mitogen_ssh_compression variable.
6 years ago
David Wilson
2153e195c3
docs: changelog tidyups.
6 years ago
David Wilson
4531338b12
ansible: document and make affinity stuff portable to non-Linux
...
Portable as in does nothing for the time at least for now.
6 years ago
David Wilson
f06152db97
docs: update Changelog.
6 years ago
David Wilson
7b129e8576
ansible: use Poller for WorkerProcess; closes #491 .
6 years ago
David Wilson
8f6e6b3940
docs: update Changelog.
6 years ago
David Wilson
90573b1963
docs: update Changelog.
6 years ago
Alex Willmer
2b1035b500
Merge branch 'master' into cover-us
6 years ago
Alex Willmer
2fa84e096f
Aggregate code coverage data across tox all runs
...
Fixes #529
6 years ago
David Wilson
8a2dcbf674
docs: update Changelog; closes #527 .
6 years ago
Alex Willmer
0d725f9cd8
Fix DeprecationWarning in mitogen.utils.run_with_router()
...
```
14:20:32.186270 W py.warnings:
/home/alex/src/mitogen/mitogen/utils.py:152: DeprecationWarning: invalid
escape sequence \*
"""
```
6 years ago
Alex Willmer
e7d70b109b
Generate coverage report even if some tests fail
...
`set -o errexit` was exiting run_tests prematurely if any test failed,
so the coverage report was not always generated.
6 years ago
David Wilson
77e7cadd22
issue #429 : update Changelog.
6 years ago
David Wilson
cd1e5e0138
issue #429 : update Changelog.
6 years ago
David Wilson
60e9596e7d
docs: update Changelog; closes #499 .
6 years ago
David Wilson
3158c4ae9d
docs: update Changelog; closes #493 .
6 years ago
David Wilson
bf676aacfe
docs: update Changelog; closes #479 .
6 years ago
David Wilson
ac4e61e19e
docs: update Changelog; closes #477 .
6 years ago
David Wilson
bb9bb593e4
docs: update Changelog.
6 years ago
David Wilson
63da372de5
docs: update Changelog.
6 years ago
David Wilson
dd30a907ce
issue #477 : promote setup_gil() to mitogen.utils
...
This is since ansible_mitogen/process.py is 2.6-only, and I want to use
setup_gil() in 2.4 code.
6 years ago
David Wilson
6a2f88d6a3
issue #477 : make mitogen.fork unsupported on Py<2.6.
6 years ago
David Wilson
3e255129ab
docs: add another strace recipe
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
15182bb814
issue #412 : pad out debugging docs, add get_stack to changelog.
6 years ago
David Wilson
1119f24071
issue #414 : reinitialize service pool lock on fork
6 years ago
David Wilson
581b1e4191
docs: update Changelog.
6 years ago
David Wilson
6dc3389acc
docs: update Changelog.
6 years ago
David Wilson
146e0c3ccb
issue #407 : update Changelog.
...
Closes #407 .
6 years ago
David Wilson
6af1a64cce
master: handle crazy non-modules in sys.modules again; closes #310 .
6 years ago
David Wilson
c1980aac6b
issue #349 : update Changelog.
6 years ago
David Wilson
fed6a8856b
docs: add unused import to Changelog.
6 years ago
David Wilson
ea9ef50b3c
issue #415 : replace default Poller with select.poll()
...
30% latency reduction for IPC.
6 years ago
David Wilson
b7add60097
issue #408 : update Changelog; closes #408 .
6 years ago
David Wilson
388649df97
core: Receiver.close() now wakes all threads; closes #446 .
6 years ago
David Wilson
f2f41809ae
issue #459 : initial get_stats() implementation
6 years ago