Commit Graph

2249 Commits (fe745779bac786d97a6a71005a97a633eb76d72a)
 

Author SHA1 Message Date
David Wilson c1a4597e32 issue #477: tests: use Ansible 2.3-compatible include rather than import
This will break with Ansible 2.8. Probably going to end up with a regex
hack for CI.
6 years ago
David Wilson 59dd0dc814 issue #477: serve up junk ansible/__init__.py just like Ansible. 6 years ago
David Wilson 83aff538b3 issue #477: testlib: Py2.4 did not have BaseException. 6 years ago
David Wilson 5135ff9068 issue #477: master: ability to override ModuleResponder output.
This is needed to cope Ansible 2.3 doing weird stuff as usual. It serves
up __init__.py for ansible and ansible.module_utils as hard-coded
namespace packages, the real ansible/__init__.py on disk is not 2.4
compatible.
6 years ago
David Wilson dd36450daf issue #477: yet another bug in core._partition(). 6 years ago
David Wilson d8490bc90a issue #477: 2.4.x compat fixes for mitogen.service. 6 years ago
David Wilson 58d8813c03 issue #477: Py2.4 lacks all(). 6 years ago
David Wilson be8562ce09 issue #477: Ansible 2.3 had stricter arg spec format. 6 years ago
David Wilson 1f17422598 issue #477: make CallError serializable on 2.4.
Making CallError inherit from object broke 'raise CallError()'.

Instead use pure-Python pickler on 2.4 (grmbl) and force it to emit
new-style-alike output for what is otherwise a classic class.

Remove needless complexity from _unpickle_call_error() that only worked
for new-style classes.
6 years ago
David Wilson 4b89dc4813 issue #477: log full module name when SyntaxError occurs. 6 years ago
David Wilson d4afa102c7 issue #477: more Py2.4 (str|unicode).partition(). 6 years ago
David Wilson 0ee8ee78b8 issue #477: Py2.4 cannot tolerate unicode kwargs. 6 years ago
David Wilson 08cecb92f6 issue #477: Py2.4 lacks BaseException. 6 years ago
David Wilson 4388e794ce issue #477: Py2.4: enumerate() may return stopped threads. 6 years ago
David Wilson 51a07dce70 issue #477: Py2.4: more unicode.rpartition() usage. 6 years ago
David Wilson 07401d767a issue #477: Python 2.4 type(exc) returns old-style instance. 6 years ago
David Wilson 2ead451277 issue #477: Python 2.4 lacked str.partition. 6 years ago
David Wilson 2ec19f2374 issue #477: Python 2.4 lacked Thread.name. 6 years ago
David Wilson 2f016b5c7b issue #477: Python 2.4 lacked context managers. 6 years ago
David Wilson 3767d56187 issue #477: Python <2.5 did not have combined try/finally/except. 6 years ago
David Wilson 66b64cae2c issue #477: older Ansibles had no vars plugin base class. 6 years ago
David Wilson 33caea06ed issue #477: Python <2.5 lacked any(). 6 years ago
David Wilson 3109abd518 issue #477: Python <2.6 lacked rpartition(). 6 years ago
David Wilson 84601f41fd issue #477: make CallError inherit from object for 2.4/2.5.
Otherwise cPickle will not call __reduce__().
6 years ago
David Wilson f3dae10fe1 issue #477: 2.4/2.5 had no better poller than poll(). 6 years ago
David Wilson 881dc7d5ca issue #477: more 2.4-compatible thread.get_ident() use. 6 years ago
David Wilson a1e0b4381f issue #477: bump corrupt msg output size to 2Kb
Allows much more of any tracebacks present to become visible.
6 years ago
David Wilson 3e255129ab docs: add another strace recipe 6 years ago
David Wilson f52f7f6a62 ansible: merge away unused return values / functions. 6 years ago
David Wilson c0d1ac291a Merge remote-tracking branch 'origin/dmw'
* origin/dmw:
  github: tweak issue template.
  docs: include strace wrapper trick.
  docs: docs and docstrings.
6 years ago
David Wilson 7dd0c704e2 github: tweak issue template. 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 a515e17896 Merge remote-tracking branch 'origin/dmw'
* origin/dmw:
  docs: Changelog typo.
  docs: s/doffers/differs/
  issue #434: add to Changelog.
  issue #401: add to Changelog.
  issue #359: add to Changelog.
  issue #396: add to Changelog.
  docs: add thanks entry
  issue #436: add to Changelog.
  issue #465: add to Changelog.
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 2e63586483 Merge remote-tracking branch 'origin/dmw'
* origin/dmw:
  issue #404: add to Changelog.
  issue #251: readd to Changelog.
  tests: add exact test for issue 251; closes #251.
  issue #412: pad out debugging docs, add get_stack to changelog.
  issue #412: force-verbose output for mitogen_get_stack.
  issue #412: promote "mitogen_get_stack" to the main extension.
  issue #412: add docstrings/boilerplate to transport_config.py.
  issue #251, #412, #434: fix connection configuration brainwrong
  issue #434: tests: set a default remote_user in ansible.cfg.
  tests: CI should symlink all contents of ansible/hosts/
  ansible: fix test failure during process exit.
  tests: use assert_equal in more places.
  tests: make assert_equal work on newer Ansibles.
  tests: convert stack_construction.yml to assert_equal.
  tests: make fork_histogram optional
  tests: use assert_equal in delegate_to_template.yml.
  tests: import assert_equal action.
  tests: rename 'delegation/' to 'connection_delegation/'
  core: replace ancient YOLO loop in fire().
  tests: some more utility function tests + flake8.
  tests: clean up / deduplicate Ansible inventory.
  tests: add some more helper function tests.
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 d6945443b7 tests: add exact test for issue 251; closes #251. 6 years ago
David Wilson 15182bb814 issue #412: pad out debugging docs, add get_stack to changelog. 6 years ago
David Wilson e767de3f15 issue #412: force-verbose output for mitogen_get_stack. 6 years ago
David Wilson 23866084d7 issue #412: promote "mitogen_get_stack" to the main extension.
This is to make it easier for users to diagnose their own problems.
6 years ago