Alex Willmer
7eb123595b
core: Implement Dead.__ne__ & Dead.__hash__
...
Both these addtions are to address warnings in
https://lgtm.com/projects/g/dw/mitogen/alerts/?mode=list . Namely that if
a class defines an equality method then it should also define an
inequality and a hash method.
Refs #61
7 years ago
David Wilson
49d944340d
examples: simplify example playbooks.
7 years ago
David Wilson
719316daef
docs: Docker typo.
7 years ago
David Wilson
bd482fd56e
issue #93 : enable use_2to3 to see what happens
7 years ago
dw
f633533971
Merge pull request #93 from moreati/import-snake-plissken
...
Use Python 2.4 compatible module import
7 years ago
David Wilson
7cf7c3271a
Add Docker method.
7 years ago
David Wilson
7cf90f6025
Fix some more Python 2.4 syntax
7 years ago
Alex Willmer
880ad11429
Use Pythabsoluteon 2.4 compatible module import
...
Python 2.4 does not support explicit relative imports. They were added
at Python 2.5, along with `from __future__ import absolute_import`.
On 2.x this will mean the import is first (implicitly) tried relative,
but on 3.x it will always be tried absolute.
Fixes #92
7 years ago
David Wilson
16f973b245
scripts: fixes
7 years ago
David Wilson
90bfa50df3
scripts: don't double-count SSH reads
7 years ago
David Wilson
0d25bcea3b
scripts: initial DTrace script.
7 years ago
David Wilson
d7f7331e7b
docs: more images.
7 years ago
David Wilson
a9f944f1ae
docs: single-threaded connection is the most important limitation
7 years ago
dw
efbe7cc079
Merge pull request #89 from moreati/import-aunt
...
Fixup module_finder_tests
7 years ago
Alex Willmer
36cb706698
master: Reword ModuleFinder.find_realted*() docstrings
...
Hopefully these are correct, and clearerabout the
behaviour/pre-conditions of these methods.
7 years ago
Alex Willmer
8bcff6c87c
tests: Fix typo in ResolveRelPathTest
7 years ago
Alex Willmer
bd0a3cbe7c
tests: Remove jinja2/markupsafe modules from FindRelatedTest
...
Not sure how they got there, but Django doesn't use Jinja without
explicit configuration.
7 years ago
Alex Willmer
71c00789f0
tests: Fix expected values FindRelatedTest for Django 1.11.4
7 years ago
Alex Willmer
a931113a2c
tests: Add new FindRelatedImportsTest
7 years ago
Alex Willmer
81e22a12e9
tests: Remove module under search from expected results
...
This matches a tweak made in 8765f761c9
7 years ago
Alex Willmer
4ae7fcc9bc
tests: Rename FindRelatedImportsTest -> FindRelatedTest
7 years ago
David Wilson
2c77adb4a5
docs: store blog images for fear of laptop crash
...
There is only so much trackpad-driven yEd work one man can handle
7 years ago
dw
f70ffa72d2
Merge pull request #87 from moreati/some-prefixing-required
...
ModuleFinder: Get stdlib paths by sys.prefix, sys.real_prefix etc.
7 years ago
Alex Willmer
602d3801e3
ModuleFinder: Get stdlib paths by sys.prefix, sys.real_prefix etc.
...
I took the liberty of renaming ModuleFinder.STDLIB_DIRS to
_STDLIB_PATHS, since it felt like an implementation detail that
shouldn't be baked into a public API and stdlib can also be imported
from e.g. a zip file.
I also changed it to a set to handle any duplicates.
Fixes #86
7 years ago
David Wilson
f7c1ff16c6
docs: small ansible.rst updates
7 years ago
David Wilson
0414df16a5
docs: mention CPU usage reduction
7 years ago
David Wilson
113b747e15
docs: fix up Ansible install docs.
7 years ago
David Wilson
fa69a966fe
docs: more modest and accurate numbers for Ansible
7 years ago
David Wilson
102f5f9f33
ansible: correct temp file cleanup for template action.
7 years ago
David Wilson
2e3ca8dbfe
ansible: don't enable_debug_logging() for sudo
7 years ago
David Wilson
9e70a32567
ansible: log call timings
7 years ago
David Wilson
fa0eb21120
ansible: Ansible 2.4 compatibility.
7 years ago
David Wilson
c7ae317dd1
docs: more marketing, add lots of drama bold.
7 years ago
David Wilson
0ac3ab4c29
docs: a little more marketing
7 years ago
David Wilson
6a7930ae48
ansible: gracefully shut down the service thread at exit.
7 years ago
David Wilson
7a5d18835e
core: Ensure add_handler() callbacks really receive _DEAD on shutdown
7 years ago
David Wilson
7db5834c18
docs: tidy up ansible.rst
7 years ago
David Wilson
ca573c1a59
Bump version for release ( closes #85 )
7 years ago
David Wilson
2106159f4c
ansible: add a new limitation
7 years ago
David Wilson
fca9ff1d40
docs: remove fixed Ansible limitation
...
The solution was that Mitogen's loader should emulate the behaviour of
ansible.executor.module_common, which restricts dependency scanning to
the ansible.module_utils namespace.
7 years ago
David Wilson
87db049669
ansible: delete utils.py and promote cast() to mitogen.utils
7 years ago
David Wilson
9d15d1fce8
ansible: document Strategy's implementation
7 years ago
David Wilson
7c1cc064a4
ansible: migrate logging variables into utils.
7 years ago
David Wilson
038cd02136
ansible: document the connection class.
7 years ago
David Wilson
4bd40bd257
ansible: remove old action subdirectory.
7 years ago
David Wilson
41b27d969c
ansible: clean up, structure and document strategy module.
7 years ago
David Wilson
7fb0fa3872
examples: rename playbooks for clarity.
7 years ago
David Wilson
1ea97ea68f
docs: add stats tracking
7 years ago
David Wilson
e32d812769
core: add a nasty hack for Ansible modules.
7 years ago
David Wilson
6658596c38
docs: initial Ansible extension docs.
7 years ago