Commit Graph

349 Commits (master)

Author SHA1 Message Date
David Wilson 1c955a9876 ansible: capture stderr stream of async tasks. Closes #540. 5 years ago
David Wilson 4be4b085e3 docs: update Changelog. 5 years ago
David Wilson d45797b370 docs: duplicate word 5 years ago
David Wilson 24c48c165d docs: update Changelog. 5 years ago
David Wilson 8ae6ca1d5b tests/ansible: Spec.become_method() test & mitogen_via= fix.
ansible_become_method hostvar was not taken into account.
5 years ago
David Wilson 4d33598fa0 setup.py: include LICENSE; closes #538. 5 years ago
David Wilson d1cadf8ac8 tests/ansible: Spec.password() test, document interactive pw limitation. 5 years ago
David Wilson 1292b55fec docs: add 'Fixes' heading 5 years ago
David Wilson 676f756153 docs: more margin tweaks for changelog 5 years ago
David Wilson 90401833fa docs: update Changelog; closes #511, closes #536. 5 years ago
David Wilson f514dbeba9 docs: update Changelog release date. 5 years ago
David Wilson b12539f99b docs: update Changelog; closes #481 5 years ago
David Wilson 32161f3df5 docs: update thanks 5 years ago
David Wilson 7b046c9fba docs: fix changelog syntax/order/"20KB" 5 years ago
David Wilson e167f6373c docs: update Changelog. 5 years ago
David Wilson 2153e195c3 docs: changelog tidyups. 5 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.
5 years ago
David Wilson f06152db97 docs: update Changelog. 5 years ago
David Wilson 7b129e8576 ansible: use Poller for WorkerProcess; closes #491. 5 years ago
David Wilson 8f6e6b3940 docs: update Changelog. 5 years ago
David Wilson 90573b1963 docs: update Changelog. 5 years ago
Alex Willmer 2b1035b500
Merge branch 'master' into cover-us 5 years ago
Alex Willmer 2fa84e096f Aggregate code coverage data across tox all runs
Fixes #529
5 years ago
David Wilson 8a2dcbf674 docs: update Changelog; closes #527. 5 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 \*
  """
```
5 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.
5 years ago
David Wilson 77e7cadd22 issue #429: update Changelog. 5 years ago
David Wilson cd1e5e0138 issue #429: update Changelog. 5 years ago
David Wilson 60e9596e7d docs: update Changelog; closes #499. 5 years ago
David Wilson 3158c4ae9d docs: update Changelog; closes #493. 5 years ago
David Wilson bf676aacfe docs: update Changelog; closes #479. 5 years ago
David Wilson ac4e61e19e docs: update Changelog; closes #477. 5 years ago
David Wilson bb9bb593e4 docs: update Changelog. 5 years ago
David Wilson 63da372de5 docs: update Changelog. 5 years ago
David Wilson 5c5269e147 docs: Changelog typo. 5 years ago
David Wilson fb815ebec6 issue #434: add to Changelog. 5 years ago
David Wilson 0edeec118c issue #401: add to Changelog. 5 years ago
David Wilson 6856ee9021 issue #359: add to Changelog. 5 years ago
David Wilson 8f1cff7d08 issue #396: add to Changelog. 5 years ago
David Wilson efdfd4a353 docs: add thanks entry 5 years ago
David Wilson 97d2f2e1db issue #436: add to Changelog. 5 years ago
David Wilson c654379482 issue #465: add to Changelog. 5 years ago
David Wilson c4d0046164 issue #404: add to Changelog. 5 years ago
David Wilson b8e1adf4fa issue #251: readd to Changelog. 5 years ago
David Wilson 15182bb814 issue #412: pad out debugging docs, add get_stack to changelog. 5 years ago
David Wilson 1119f24071 issue #414: reinitialize service pool lock on fork 5 years ago
David Wilson 581b1e4191 docs: update Changelog. 5 years ago
David Wilson 6dc3389acc docs: update Changelog. 5 years ago
David Wilson 146e0c3ccb issue #407: update Changelog.
Closes #407.
5 years ago
David Wilson 6af1a64cce master: handle crazy non-modules in sys.modules again; closes #310. 5 years ago
David Wilson c1980aac6b issue #349: update Changelog. 5 years ago
David Wilson fed6a8856b docs: add unused import to Changelog. 5 years ago
David Wilson ea9ef50b3c issue #415: replace default Poller with select.poll()
30% latency reduction for IPC.
5 years ago
David Wilson b7add60097 issue #408: update Changelog; closes #408. 5 years ago
David Wilson 388649df97 core: Receiver.close() now wakes all threads; closes #446. 5 years ago
David Wilson f2f41809ae issue #459: initial get_stats() implementation 5 years ago
David Wilson ab8d6afbae core: use ModuleNotFoundError in imporer if it is available; closes #448. 5 years ago
David Wilson de719fa249 core: throw error on duplicate add_handler(); closes #447. 5 years ago
David Wilson dc92e529bc service: unregister receiver at shutdown; closes #445. 5 years ago
David Wilson 9916adc0a3 issue #326: update Changelog. 5 years ago
David Wilson 85e965118d Merge remote-tracking branch 'origin/issue462'
* origin/issue462:
  issue #462: docs: update Changelog.
  parent: cope with broken /dev/pts on Linux; closes #462.
5 years ago
David Wilson 18bfde515d issue #444: update Changelog. 5 years ago
David Wilson a67a4361b3 docs: add #374 to Changelog. 5 years ago
David Wilson 2b229a6a70 docs: add thanks entry. 5 years ago
David Wilson 0bd0c7b9e7 issue #462: docs: update Changelog. 5 years ago
David Wilson ffdd6d2881 docs: add 824c7931 to changelog. 6 years ago
David Wilson 497234e782 issue #456: core: raise error during defer() if Broker shutdown 6 years ago
David Wilson cd01957995 issue #397, #454: pick out only shutil.rmtree() calls from atexit. 6 years ago
David Wilson 2959b7911e issue #453: update Changelog. 6 years ago
David Wilson 9680a84824 core: rename Router.self() to Router.myself(). 6 years ago
David Wilson e77460a395 docs: update Changelog. 6 years ago
David Wilson c6399789ea docs: add host_pinned strategy to Changelog. 6 years ago
David Wilson 863e1aedd6 docs: fix Changelog bug link 6 years ago
David Wilson 300cb41e2e core: detect stream corruption. Closes #438. 6 years ago
David Wilson 9868e4ea3a issue #439: update changelog. 6 years ago
David Wilson 94512f4ef8 issue #399, #437: update Changelog. 6 years ago
David Wilson 9074ddf69f docs: fix username 6 years ago
David Wilson b944a5485e docs: remove whitespace 6 years ago
David Wilson eb28a94a87 docs: avoid Sphinx weirdness by removing paragraph in list 6 years ago
David Wilson d5cb98fa87 issue #435, #362: update Changelog. 6 years ago
David Wilson 4553039ed2 docs: update Changelog; closes #391. 6 years ago
David Wilson 1756cea65b issue #109: update Changelog. 6 years ago
David Wilson 578c2c3b46 issue #364: update ChangeLog. 6 years ago
David Wilson 5233c47eba docs: Changelog typo 6 years ago
David Wilson 01c4f3fee1 core: rearrange stdio setup to cope with buffering; closes #422 6 years ago
David Wilson 905fbe7cbb issue #420: update Changelog. 6 years ago
David Wilson a7eca5b55e docs: update Changelog. 6 years ago
David Wilson 7a1dfa388a docs: update Changelog; closes #413. 6 years ago
David Wilson fea0fb41fc docs: update Changelog; closes #288 6 years ago
David Wilson 33011af9a5 issue #387: update Changelog. 6 years ago
David Wilson 176fe55bbd issue #416: update Changelog 6 years ago
David Wilson 4ac9cdce7c docs: update Changelog; closes #417. 6 years ago
David Wilson 01e65d7865 docs: update Changelog; closes #406. 6 years ago
David Wilson 14b389cb46 issue #406: don't leak FDs on failed child start. 6 years ago
David Wilson 4230a93557 issue #406: update Changelog. 6 years ago
David Wilson 6fdc45da1a docs: Changelog concision 6 years ago
David Wilson 804bacdadb docs: move most remaining docstrings back into *.py; closes #388
The remaining ones are decorators which don't seem to have an autodoc
equivlent.
6 years ago
David Wilson 1f8c09e43f issue #333: update Changelog. 6 years ago
David Wilson f8f2f9d718 docs: update Changelog; closes #352. 6 years ago
David Wilson 677dbdb0e7 docs: update Changelog; closes #351. 6 years ago
David Wilson a098943e3c docs: update install steps to point directly at Known Issues. 6 years ago
David Wilson 1af2d9aef1 docs: move Known Issues to the top. 6 years ago
David Wilson 59d0f0df65 docs: split Known Issues out into a separate heading and update it 6 years ago
David Wilson 7fd4549ad1 issue #370: update Changelog. 6 years ago
David Wilson f3f36d6244 docs: add connection: "smart" to known issues. 6 years ago
David Wilson d9b2686259 docs: update Changelog 6 years ago
David Wilson 40d11b32b0 issue #400: update Changelog. 6 years ago
David Wilson c89675112b issue #410: update changelog 6 years ago
David Wilson 7314b54afd issue #409: update Changelog. 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 96b88cc70f issue #76: docs: update Changelog. 6 years ago
David Wilson 48bc91550b docs: update changelog. 6 years ago
David Wilson 40d2cf7e25 docs: update changelog. 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
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 43ad23946e docs: tidy up wording. 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 020482e554 dosc: update changelog 6 years ago
David Wilson 1bf9b2c1a3 docs: update changelog. 6 years ago
David Wilson aa9400a3b9 docs: fix changelog 6 years ago
David Wilson 1247d1fce6 docs: update changelog. 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 897bc07ea0 docs: update changelog. 6 years ago
David Wilson 4134218ef4 docs: update changelog. 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 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 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 a2686b1a2c issue #321: simplify temp directory handling. 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 232aaf5c95 Merge branch 'dmw' 6 years ago
David Wilson f4a66194e4 ansible: Py3.x fixes for Ansible PR #41749 workaround. 6 years ago
David Wilson 45c2b04456 docs: add missing changelog entry. 6 years ago
David Wilson d64729e041 Bump version for release. 6 years ago
David Wilson 6813443d09 docs: minor tweaks. 6 years ago
David Wilson ebf721411c docs: add known issue 6 years ago
David Wilson 21eda90a67 docs: reorder changelog 6 years ago
David Wilson 998762ab4f docs: update changelog. 6 years ago
David Wilson 5d67ce7746 service: service pool threads should respect _profile_hook. 6 years ago
David Wilson 3c55571fe2 docs: update changelog 6 years ago
David Wilson 22bab87821 issue #319: avoid TCSAFLUSH flag on WSL.
Closes #319.
6 years ago
David Wilson 17c5bd26e1 Update changelog. 6 years ago
David Wilson a29a883dfc issue #311: docs: comment out Ansible 2.6 for now. 6 years ago
David Wilson 50670430ec docs: add thanks to release notes 6 years ago
David Wilson 2c74eac19a issue #291: more Ansible-compatible script invocation
When running any kind of script, rewrite the hashbang like Ansible does,
but subsequently ignore it and explicitly use a fragment of shell from
the ansible_*_interpreter variable to call the interpreter, just like
Ansible does.

This fixes hashbangs containing '/usr/bin/env A=1 bash' on Linux, where
putting that into a hashbang line results in an infinite loop.
6 years ago
David Wilson 11c73baa9c docs: update Changelog. 6 years ago
David Wilson b5e7e97c62 issue #291: update changelog. 6 years ago
David Wilson 15d68b3c32 issue #309: fix environment cleanup regression.
Closes #309.
6 years ago
David Wilson 09d077ebd7 docs: update release notes 6 years ago
David Wilson 70d732d35b docs: add "no route" to known issues. 6 years ago
David Wilson 184104ce92 issue #303: add doas to the docs 6 years ago
David Wilson f2ee5ade7e Update Changelog. 6 years ago
David Wilson 9a453d4753 Bump version for release. 6 years ago
David Wilson a61212ffb7 docs: one more known issue. 6 years ago
David Wilson 63c7a3013d docs: ansible: add workaround for 'raw' support. 6 years ago
David Wilson 68cf84762f docs: mention synchronize/delegation issue. 6 years ago
David Wilson ab0107440a docs: typo 6 years ago
David Wilson 2b507c7b15 docs: fix text. 6 years ago
David Wilson f5b9f5ff59 docs: add 'raw' to 0.2 in-scope 6 years ago
David Wilson 8c2231cefb docs: link changelog into Ansible install procedure 6 years ago
David Wilson 894926cf61 docs: add initial release notes. 6 years ago
David Wilson 39f5aa76ae docs: add initial ChangeLog. 6 years ago