Commit Graph

733 Commits (bf9feac61c4b6897a4f81f976731ff8befd70afe)
 

Author SHA1 Message Date
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
David Wilson c175fbfaf7 ansible: handle local connections and synchronize module too. 7 years ago
David Wilson 7f1315b3cb parent: simplify route() call
Doesn't need to go via defer() since it's always running on the broker
thread.
7 years ago
David Wilson 4144b8b417 Some gitignore extras 7 years ago
David Wilson 7e8ef4223c ssh: enable compression by default
Using the same test as in 7af97c0365,
transmitted wire bytes drops from 135,531 to 133,071 (-1.81%), while
received drops from 21,073 to 14,775 (-30%).

Combined, both changes shave 13,914 bytes (-8.6%) off aggregate
bandwidth usage.

Make it configurable as compression hurts in some scenarios.
7 years ago
David Wilson a53e85ff69 tests: stubs for future whitelist/blacklist tests. 7 years ago
David Wilson 7a56ea46ed ansible: fix syntax error 7 years ago
David Wilson 81580c1b3f examples: add test case for local Ansible connections 7 years ago
David Wilson 3fc541ca45 docs: fix preamble_size.py after whitelist changes 7 years ago
David Wilson 7af97c0365 importer: drop redundant prefix from pkg_present
For the 52 submodules of ansible.modules.system, this produced a 1602
byte pkg_present list. After stripping it becomes 406 bytes, and the
entire LOAD_MODULE size drops from 1988 bytes to 792 bytes (-60%).

For the 68 submodules of ansible.module_utils, 1902 bytes pkg_present
becomes 474 bytes (-75%), and LOAD_MODULE size drops from 2867 bytes to
1439 bytes (-49%).

In a simple test running Ansible's "setup" module followed by its "apt"
module, wire bytes sent drops from 140,357 to 135,531 (-3.4%).
7 years ago
David Wilson 698996dc27 ansible: support local connections too 7 years ago
David Wilson 536fe9afb8 master: Select.all() sugar 7 years ago
David Wilson 28d5de77a3 ansible: we're gonna need more playbook steps 7 years ago
David Wilson 9219e9a125 ansible: support class_only=True in wrapped loader 7 years ago
David Wilson 5d9363be79 ansible: blacklist everything except our own namespaces
Farewell, pointless roundtrips, we hardly knew ye.
7 years ago
David Wilson a031f927d4 importer: share blacklist logic between master/parent 7 years ago