Commit Graph

1753 Commits

Author SHA1 Message Date
David Wilson 711aed7a4c core: split _broker_shutdown() out into its own function.
Makes _broker_main() logic much clearer.
2018-11-02 15:14:00 +00:00
David Wilson 8ef8f7b123 Merge remote-tracking branch 'origin/dmw'
- issue #323, #333 WSL workaround.
2018-11-02 10:06:22 +00:00
David Wilson 1f8c09e43f issue #333: update Changelog. 2018-11-02 10:06:05 +00:00
David Wilson 1d32ed3b5a core: avoid shutdown() in IoLogger on WSL; closes #333. 2018-11-02 10:04:11 +00:00
David Wilson 07fefa4067 kubectl: paper over importer issue by removing unicode. 2018-11-02 00:28:12 +00:00
David Wilson 1f9c412b4b Add cute demo GIF to README.md. 2018-11-01 22:08:15 +00:00
David Wilson f8f2f9d718 docs: update Changelog; closes #352. 2018-11-01 20:58:13 +00:00
David Wilson 677dbdb0e7 docs: update Changelog; closes #351. 2018-11-01 20:55:47 +00:00
David Wilson d7d47ed26e Merge remote-tracking branch 'origin/dmw'
Doc updates.
2018-11-01 20:45:53 +00:00
David Wilson a098943e3c docs: update install steps to point directly at Known Issues. 2018-11-01 20:45:35 +00:00
David Wilson 1af2d9aef1 docs: move Known Issues to the top. 2018-11-01 20:44:42 +00:00
David Wilson 59d0f0df65 docs: split Known Issues out into a separate heading and update it 2018-11-01 20:31:21 +00:00
David Wilson 484aa44ed4 Merge remote-tracking branch 'origin/dmw'
- Context serialization fix
- #370: functioning reboot module.
2018-11-01 20:25:39 +00:00
David Wilson 7fd4549ad1 issue #370: update Changelog. 2018-11-01 20:25:19 +00:00
David Wilson f3f36d6244 docs: add connection: "smart" to known issues. 2018-11-01 20:20:50 +00:00
David Wilson 5be9a55bf4 core: allow Context to be pickled by non-Mitogen pickler. 2018-11-01 20:15:16 +00:00
David Wilson bac28bc5ca issue #76, #370: add fix for disconnect cleanup test
Simply listen to RouteMonitor's Context "disconnect"  and forget
contexts according to RouteMonitor's rules, rather than duplicate them
(and screw it up).
2018-11-01 20:06:09 +00:00
David Wilson c148c869e6 issue #76, #370: add disconnect cleanup test 2018-11-01 20:04:18 +00:00
David Wilson 6bf4d79a54 Merge remote-tracking branch 'origin/dmw'
- extra minify tests
- more inline docs migration
- issue #400
2018-11-01 16:00:48 +00:00
David Wilson 58c0e45661 issue #400: rework the monkeypatch. 2018-11-01 15:58:28 +00:00
David Wilson d9b2686259 docs: update Changelog 2018-11-01 15:14:25 +00:00
David Wilson 40d11b32b0 issue #400: update Changelog. 2018-11-01 15:06:18 +00:00
David Wilson aeec2b5054 tests: pad out minify_test to verify all internal modules 2018-11-01 14:33:19 +00:00
David Wilson f2d288bb1e tests: ensure minify() result can be compiled for all of core. 2018-11-01 14:23:15 +00:00
David Wilson c9ecc82f85 issue #400: add logic to work around AWX callback bug. 2018-11-01 13:33:51 +00:00
David Wilson a7ee23719a issue #388: move a ton of documentation back into the source 2018-11-01 11:54:22 +00:00
David Wilson fd326f5ad7 tests: stub tests for doas/mitogen_doas 2018-11-01 00:49:26 +00:00
David Wilson 123d267e57 Merge remote-tracking branch 'origin/dmw'
Tset fixes.
2018-10-31 19:20:02 +00:00
David Wilson cbd4129cb9 tests: fix paramiko_unblemished.yml 2018-10-31 19:15:23 +00:00
David Wilson e8fc9e490f tests: update osa_delegate_to_self to match connection parameters 2018-10-31 19:14:58 +00:00
David Wilson 6c71c5bfef issue #369: disable reset_connection on Ansible<2.5.6
https://github.com/ansible/ansible/issues/27520
2018-10-31 18:30:03 +00:00
David Wilson 8ed72e7e7b issue #369: avoid Ansible 2.5 bug (cond_reset_warn missing method) 2018-10-31 18:18:49 +00:00
David Wilson 7d083ef850 Merge remote-tracking branch 'origin/dmw'
- Fix Connection._reset() compatibility.
- Add #410 to changelog
- sudo stub connection test
2018-10-31 16:43:40 +00:00
David Wilson c4aec22a33 issue #369: fix one more _reset() reference. 2018-10-31 16:43:27 +00:00
David Wilson ab4ccc6b92 issue #369: don't mass-kill all SSH clients in reconnection.yml
It breaks my new development environment :)
2018-10-31 16:43:27 +00:00
David Wilson 6107ebdc0d issue #396: fix compatibility with Connection._reset(). 2018-10-31 16:43:27 +00:00
David Wilson d280bba02b issue #369: fix KeyError during new context start.
Update _via_by_context earlier; fixes:

    Traceback (most recent call last):
      File "/Users/dmw/src/mitogen/mitogen/service.py", line 519, in _on_service_call
	return invoker.invoke(method_name, kwargs, msg)
      File "/Users/dmw/src/mitogen/mitogen/service.py", line 253, in invoke
	response = self._invoke(method_name, kwargs, msg)
      File "/Users/dmw/src/mitogen/mitogen/service.py", line 239, in _invoke
	ret = method(**kwargs)
      File "/Users/dmw/src/mitogen/ansible_mitogen/services.py", line 454, in get
	reraise(*result)
      File "/Users/dmw/src/mitogen/ansible_mitogen/services.py", line 412, in _wait_or_start
	response = self._connect(key, spec, via=via)
      File "/Users/dmw/src/mitogen/ansible_mitogen/services.py", line 363, in _connect
	self._update_lru(context, spec, via)
      File "/Users/dmw/src/mitogen/ansible_mitogen/services.py", line 266, in _update_lru
	self._update_lru_unlocked(new_context, spec, via)
      File "/Users/dmw/src/mitogen/ansible_mitogen/services.py", line 253, in _update_lru_unlocked
	if self._refs_by_context[context] == 0:
    KeyError: Context(1008, u'ssh.localhost.sudo.mitogen__user3')
2018-10-31 16:43:27 +00:00
David Wilson fcdf4a0f35 Import missing stub-sudo.py. 2018-10-31 16:43:27 +00:00
David Wilson a6dd8bb2d0 issue #409: stub test for mitogen_sudo method. 2018-10-31 16:43:27 +00:00
David Wilson c89675112b issue #410: update changelog 2018-10-31 16:43:27 +00:00
David Wilson 731b4ac841 Merge remote-tracking branch 'origin/dmw'
- issue #410 sudo additions
2018-10-31 15:48:05 +00:00
David Wilson fadb9181bc issue #410: support sudo --user and SELinux options, add stub test. 2018-10-31 15:46:59 +00:00
David Wilson 0d410aef51 docs: fix internals.rst headings. 2018-10-31 15:08:27 +00:00
David Wilson 0394dac2c7 docs: document RouteMonitor class. 2018-10-31 15:06:47 +00:00
David Wilson 95f95ce868 Update PULL_REQUEST_TEMPLATE.md. 2018-10-31 13:14:30 +00:00
David Wilson 1502e90599 Import PULL_REQUEST_TEMPLATE.md. 2018-10-31 12:56:03 +00:00
David Wilson 252a8c643c Merge remote-tracking branch 'origin/dmw'
- issue #409. Closes #409.
2018-10-31 12:46:05 +00:00
David Wilson 7314b54afd issue #409: update Changelog. 2018-10-31 12:44:25 +00:00
David Wilson 144685a327 issue #409: more lxc/lxd stub tests, let tests run on vanilla. 2018-10-31 12:41:32 +00:00
David Wilson 54445470e2 issue #409: add missing path config variables to severa plugins
So every method can be redirected to a stub implementation.
2018-10-31 12:40:08 +00:00