Commit Graph

913 Commits (stable)

Author SHA1 Message Date
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 251642943d Merge remote-tracking branch 'origin/v027' into stable
* origin/v027:
  docs: update Changelog for release.
  Bump version for release.
  issue #587: update Changelog
  issue #587: ansible: descriptive version check during startup.
  ansible: descriptive version check during startup.
  issue #581: expose mitogen_mask_remote_name variable.
  issue #576: fix Kwargs minor version check.
  issue #574: fix ISSUE_TEMPLATE link
  issue #575: fix exception text rendering
  docs: remove infringing mark
  docs: fix config var scope
  docs: faster stats-preserving redirect
  docs: update ansible page
  issue #570: add firewalld to always-fork list for now.
  docs: removed excess word
  docs: fixed message routing example description
  docs: removed repeated word
  docs: update Changelog; closes #557.
  issue #557: support correct cpu_set_t size
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 407307adf6 Merge remote-tracking branch 'origin/026' into stable
* origin/026:
  docs: update Changelog for release.
  Bump version for release.
  issue #555: ansible: workaround ancient reload(sys) hack.
  issue #554: mitogen_action_script fix
  issue #554: fix Ansible 2.4 compatibility
  issue #554: don't rely on tmp_path autoremoval in test.
  issue #554: track and remove multiple make_tmp_path() calls.
  docs: update Changelog.
  docs: drastically simplify install/changelog.
  issue #552: include process identity in log messages.
  issue #550: update Changelog.
  issue #550: parent: add explanatory comment.
  issue #550: fix up TTY ioctls on WSL 2016 Anniversary Update
  docs: update Changelog.
  service: make service list optional.
  docs: update Changelog; closes #548.
  issue #548: always treat transport=smart as 'ssh' for mitogen_via=.
  docs: better intro paragraph.
  .ci: copy private key file to tempdir.
  os_fork: more doc tweaks
  os_fork: more doc tweaks
  os_fork: yet more doc tidyup
  os_fork: more doc tweaks
  os_fork: clean up docs
  .ci: import soak scripts.
  .ci: allow containers for different jobs to run simultaneously
  os_fork: python 3 fixes and tests.
  issue #535: activate Corker on 2.4 in master too.
  issue #535: update Changelog.
  issue #535: wire mitogen.os_fork into Broker and Pool.
  issue #535: parent: add create_socketpair(size=..) parameter.
  issue #535: introduce mitogen.os_fork module and Corker class.
  issue #535: docs: update Changelog
  issue #535: service: support Pool.defer() like Broker.defer()
  issue #535: core: unicode.encode() may take importer lock on 2.x
  issue #535: docs: fix up Select doc
  issue #535: docs: update Changelog.
  issue #535: core/select: support selecting from Latches.
  core: increase cookie field lengths to 64-bit; closes #545.
  tests: ensure serialization restrictions are in effect
  tests/bench: set process affinity in throughput.py.
  docs: update copyright year.
  docs: update Changelog.
  core: Make Latch.put(obj=) optional.
  docs: change 'unreleased' Changelog format and add a hint.
  docs: update Changelog; closes #542.
  issue #542: return of select poller, new selection logic
  issue #542: .ci: move some tests to Azure and enable Mac job.
  ansible: create stub __init__.py for sdist.
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 ae80d42cb4 Merge remote-tracking branch 'origin/dmw' into stable
* origin/dmw:
  issue #537: disable just the trivial LinuxPolicyTest on Travis.
  docs: update Changelog; closes #537.
  ansible: refactor affinity class and add abstract tests.
  Bump version for release.
  docs: update Changelog.
  core: serialize calls to _service_stub_main().
  docs: update Changelog; closes #532.
  issue #532: PushFileService race.
  docs: more concise Changelog.
  issue #541: changelog typos.
  ansible: quiesce boto logger; closes #541.
  docs: update Changelog.
  tests/ansible: Spec.port() test & mitogen_via= fix.
  Update copyright year everywhere.
  tests/ansible: Spec.become_pass() test.
  docs: remove top "Table of Contents" link
  docs: remove a little more top margin wastage
  tests/ansible: Spec.become_user() test.
  docs: update Changelog; closes #539.
  issue #539: disable logger propagation.
  ansible: capture stderr stream of async tasks. Closes #540.
  docs: update Changelog.
  issue #536: rework how 2.3-compatible simplejson is served
  .github: add some more questions to issue template
  docs: duplicate word
  docs: update Changelog.
  tests/ansible: Spec.become_method() test & mitogen_via= fix.
  setup.py: include LICENSE; closes #538.
  tests/ansible: Spec.become() test
  tests/ansible: Spec.password() test, document interactive pw limitation.
  tests/ansible: Spec.remote_user() test & mitogen_via= fix.
  tests/ansible: Spec.remote_addr() test & mitogen_via= fix.
  tests/ansible: Spec.transport() test.
  docs: lighter pink
  docs: add 'Fixes' heading
  docs: more margin tweaks for changelog
  docs: tighter <p> margins, even less shouting, red headings
  docs: tidy up footer and GitHub link
  docs: enable fixed_sidebar
  docs: sans-serif fonts, reduce shouty headings
  issue #536: add mitogen_via= tests too.
  ansible: fix a crash on 2.3 when mitogen_via= host is missing.
  tests: for 2.3 compatibility, disable gcloud.py for now
  docs: update Changelog; closes #511, closes #536.
  docs: update Changelog release date.
  issue #536: disable transport_config tests on vanilla
  issue #536: restore correct Python interpreter selection behaviour.
  issue #536: connection_delegation/ tests were erroneously broken
  tests: define MITOGEN_INVENTORY_FILE even if -i unspecified.
  issue #536: add tests for each ansible_python_interpreter case.
  issue #536: stop defining explicit localhost in inventory.
  tests: allow running Ansible tests locally without -udmw again.
  stable: fix preamble_size on stable docs.
  issue #481: add test.
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 d9696c1cd5 docs: update Changelog release date. 6 years ago
David Wilson 0114358df0 Merge remote-tracking branch 'origin/master' into v024
* origin/master: (661 commits)
  Bump version for release.
  docs: update Changelog; closes #481
  issue #481: core: preserve stderr TTY FD if one is present.
  issue #481: avoid crash if disconnect occurs during forward_modules()
  Add a few more important modules to preamble_size.py.
  .ci: add verbiage for run_batches() too.
  .ci: add README.md.
  docs: update thanks
  docs: lose "approaching stability" language, we're pretty good now
  docs: fix changelog syntax/order/"20KB"
  tests: add new compression parameter to mitogen_get_stack results
  tests: disable affinity_test on Travis :/
  issue #508: fix responder stats test due to new smaller parent.py.
  issue #508: tests: skip minify_test Py2.4/2.5 for profiler.py.
  tests: fix fallout from 36fb318adf5c56e729296c3efce84f4dd75ced4e
  issue #520: add AIX auth failure string to su.
  tests: move affinity_test to Ansible tests.
  core: cProfile is not available in 2.4.
  issue #505: docs: add new detail graph for one scenario.
  docs: update and re-record profile graphs in docs; closes #505
  service: fix PushFileService exception
  tests: pad out localhost-*
  service: start pool shutdown on broker shutdown.
  master: .encode() needed for Py3.
  ansible: stash PID files in CWD if requested for debugging.
  issue #508: master: minify_safe_re must be bytes for Py3.
  bench: tidy up and cpu-pin some more files.
  tests: add localhost-x100
  ansible: double the default pool size.
  ansible: raise error with correct exception type.
  issue #508: master: minify all Mitogen/ansible_mitogen sources.
  parent: PartialZlib docstrings.
  ansible: hacky parser to alow bools to be specified on command line
  parent: pre-cache bootstrap if possible.
  docs: update Changelog.
  ansible: add mitogen_ssh_compression variable.
  service: PushFileService never recorded a file as sent.
  parent: synchronize get_core_source()
  service: use correct profile aggregation name.
  SyntaxError.
  ansible: don't pin controller if <4 cores.
  tests: make soak testing work reliably on vanilla.
  docs: changelog tidyups.
  ansible: document and make affinity stuff portable to non-Linux
  ansible: fix affinity.py test failure on 2 cores.
  ansible: preheat PluginLoader caches before fork.
  tests: make mitogen_shutdown_all be run_once by default.
  docs: update Changelog.
  ansible: use Poller for WorkerProcess; closes #491.
  ansible: new multiplexer/workers configuration
  docs: update Changelog.
  docs: update Changelog.
  ansible: pin connection multiplexer to a single core
  utils: pad out reset_affinity() and integrate with detach_popen()
  utils: import reset_affinity() function.
  master: set Router.profiling if MITOGEN_PROFILING variable present.
  parent: don't kill children when profiling is active.
  ansible: hook strategy and worker processes into profiler
  profiler: import from linear2 branch
  core: tidy up existing profiling code and support MITOGEN_PROFILE_FMT
  issue #260: redundant if statement.
  ansible: ensure MuxProcess MITOGEN_PROFILING results reach disk.
  ansible/bench: make end= configurable.
  master: cache sent/forwarded module names
  Aggregate code coverage data across tox all runs
  Allow independant control of coverage erase and reporting
  Fix incorrect attempt to use coverage
  docs: update Changelog; closes #527.
  issue #527: catch new-style module tracebacks like vanilla.
  Fix DeprecationWarning in mitogen.utils.run_with_router()
  Generate coverage report even if some tests fail
  ci: fix incorrect partition/rpartition from 8a4caea84f
  issue #260: hide force-disconnect messages.
  issue #498: fix shutdown crash
  issue #260: avoid start_transmit()/on_transmit()/stop_transmit()
  core: ensure broker profiling output reaches disk
  master: keep is_stdlib_path() result as negative cache entry
  ci: Allow DISTROS="debian*32" variable, and KEEP=1
  Use develop mode in tox
  issue #429: fix sudo regression.
  misc: rename to scripts. tab completion!!
  core: Latch._wake improvements
  issue #498: prevent crash on double 'disconnect' signal.
  issue #413: don't double-propagate DEL_ROUTE to parent.
  issue #498: wrap Router dict mutations in a lock
  issue #429: enable en_US locale to unbreak debops test.
  issue #499: fix another mind-numbingly stupid vanilla inconsistency
  issue #497: do our best to cope with crap upstream code
  ssh: fix test to match updated log format.
  issue #429: update Changelog.
  issue #429: update Changelog.
  issue #429: teach sudo about every know i18n password string.
  issue #429: install i18n-related bits in test images.
  ssh: tidy up logs and stream names.
  tests: ensure file is closed in connection_test.
  gcloud: small updates
  tests: give ansible/gcloud/ its own requirements file.
  issue #499: another totally moronic implementation difference
  issue #499: disable new test on vanilla.
  docs: update Changelog; closes #499.
  ...
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
David Wilson ab8d6afbae core: use ModuleNotFoundError in imporer if it is available; closes #448. 6 years ago
David Wilson de719fa249 core: throw error on duplicate add_handler(); closes #447. 6 years ago
David Wilson dc92e529bc service: unregister receiver at shutdown; closes #445. 6 years ago
David Wilson 9916adc0a3 issue #326: update Changelog. 6 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.
6 years ago
David Wilson 18bfde515d issue #444: update Changelog. 6 years ago
David Wilson 374a361074 docs: try to fix CSS difference between local and rtfd 6 years ago
David Wilson 861be2e3de docs: wrap text around logos 6 years ago
David Wilson b084d837e6 docs: fit SVG viewbox to ansible logo 6 years ago
David Wilson 98d06e25ca docs: delete shame.rst to make room for new chapters. 6 years ago
David Wilson 5f3244aa97 docs: import pcaps (using LFS) to regenerate charts. 6 years ago
David Wilson a67a4361b3 docs: add #374 to Changelog. 6 years ago
David Wilson 2b229a6a70 docs: add thanks entry. 6 years ago
David Wilson 0bd0c7b9e7 issue #462: docs: update Changelog. 6 years ago
David Wilson 5ffaa693a6 docs: get rid of autobuild remnant 6 years ago
David Wilson 3f5774cfd5 core: document/tidy up poller.
Remove duplicate attribute creates in subclasses too.
6 years ago
David Wilson 7dd46bf44e doc: API typos. 6 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 8d7aefb1cf docs: fix example up so it's closer to real code 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 09aa27a6a7 ansible: initial mitogen_host_pinned strategy. 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 73c7b5daeb docs: modernize 2 examples 6 years ago
David Wilson d5cb98fa87 issue #435, #362: update Changelog. 6 years ago
David Wilson 71f8e84845 docs: 4kify images.
These commits were squashed to avoid repo size exploding.

[cherrypick from master]
6 years ago
David Wilson fd5698c191 docs: 4kify images.
These commits were squashed to avoid repo size exploding.
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 b60a6d0f3b Split dev_requirements.txt up according to test mode. 6 years ago
David Wilson 43306fff81 docs: drop sphinx-autobuild, avoids 10 deps (-16%)
sphinx-autobuild==0.6.0 (from -r docs/docs-requirements.txt (line 2))
livereload>=2.3.0 (from sphinx-autobuild==0.6.0->-r docs/docs-requirements.txt (line 2))
pathtools>=0.1.2 (from sphinx-autobuild==0.6.0->-r docs/docs-requirements.txt (line 2))
tornado>=3.2 (from sphinx-autobuild==0.6.0->-r docs/docs-requirements.txt (line 2))
argh>=0.24.1 (from sphinx-autobuild==0.6.0->-r docs/docs-requirements.txt (line 2))
watchdog>=0.7.1 (from sphinx-autobuild==0.6.0->-r docs/docs-requirements.txt (line 2))
port-for==0.3.1 (from sphinx-autobuild==0.6.0->-r docs/docs-requirements.txt (line 2))
backports.ssl_match_hostname (from tornado>=3.2->sphinx-autobuild==0.6.0->-r docs/docs-requirements.txt (line 2))
singledispatch (from tornado>=3.2->sphinx-autobuild==0.6.0->-r docs/docs-requirements.txt (line 2))
backports_abc>=0.4 (from tornado>=3.2->sphinx-autobuild==0.6.0->-r docs/docs-requirements.txt (line 2))
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 5bdb745f07 docs: howitworks tweaks 6 years ago
David Wilson 8e4c164d93 issue #388: fix Sphinx markup 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 a7ee23719a issue #388: move a ton of documentation back into the source 6 years ago
David Wilson c89675112b issue #410: update changelog 6 years ago
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 2ab6394d1c docs: fix up incomplete Temporary Files section.
[cherrypick from master]
6 years ago
David Wilson 72da291b24 docs: fix up incomplete Temporary Files section. 6 years ago
David Wilson 3c63290445 docs: comment out temp files section until I have a chance to write it. 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