Commit Graph

93 Commits

Author SHA1 Message Date
Stefano Rivera 34d441fb87 Remove get_password_hash, unused
spwd is removed in Python 3.13. But fortunately, this function itself is
never used.

Part of: #1073
2024-10-08 23:25:52 +01:00
Alex Willmer 1773c9aba6 trivia: Fix trailing whitespace 2024-10-07 13:46:54 +01:00
Alex Willmer 0417d4d73a Replace os.system() with subprocess.check_call()
Non-zero return codes should raise an exception, not pass silently.
2022-04-21 20:19:51 +01:00
David Wilson 3b63da670f Fix up another handful of LGTM errors. 2019-08-12 11:46:37 +01:00
David Wilson 9bb3dac450 docs: break out install_app.py and fix API use. 2019-08-01 11:01:14 +01:00
David Wilson 6a106f03ff [stream-refactor] make mitogen-fuse work on Linux 2019-07-28 10:40:59 +00:00
David Wilson 2d083d19df issue #589: remove outdated/incomplete examples 2019-06-03 18:06:17 +01:00
David Wilson 06690901e4 issue #589: split services example out and make it run. 2019-06-03 18:05:52 +01:00
David Wilson 120c667052 core: many docstring updates and an example substitute for Channel 2019-01-20 22:54:15 +00:00
David Wilson df83c8a02f issue #61: unused import (reported by LGTM) 2019-01-20 19:48:56 +00:00
David Wilson ec515cb663 issue #61: unused import (reported by LGTM) 2019-01-20 19:48:37 +00:00
David Wilson 74d2b43943 issue #61: unused import (reported by LGTM) 2019-01-20 19:47:53 +00:00
David Wilson d8ac50bf01 examples: add Select lifetimes to example. 2018-12-13 16:18:43 +00:00
David Wilson 37783731d6 examples: use Router.myself() in the_basics.py 2018-12-13 04:35:33 +00:00
David Wilson 0b162eba18 examples: tidy up comments 2018-12-11 23:41:38 +00:00
David Wilson b5831a0d76 examples: import select_loop.py. 2018-12-11 23:17:20 +00:00
David Wilson f203744b48 examples: add one more comment 2018-12-07 21:01:50 +00:00
David Wilson 9ddedf9455 examples: set up and explain logging too. 2018-12-07 20:37:32 +00:00
David Wilson fbd7346d02 examples: import the_basics.py. 2018-12-07 20:26:52 +00:00
David Wilson 38799e22d2 examples: fix mitogen-fuse on 2.x. 2018-07-12 20:16:44 +01:00
David Wilson b734a2a5f3 examples: fix mitop for Python 3. 2018-07-09 17:01:28 +01:00
David Wilson 1f6c47554a examples: update mitogen-fuse.py for 3.x. 2018-07-07 14:55:47 +01:00
David Wilson 410016ff47 Initial Python 3.x port work.
* ansible: use unicode_literals everywhere since it only needs to be
  compatible back to 2.6.
* compat/collections.py: delete this entirely and rip out the parts of
  functools that require it.
* Introduce serializable Kwargs dict subclass that translates keys to
  Unicode on instantiation.
* enable_debug_logging() must set _v/_vv globals.
* cStringIO does not exist in 3.x.
* Treat IOLogger and LogForwarder input as latin-1.
* Avoid ResourceWarnings in first stage by explicitly closing fps.
* Fix preamble_size.py syntax errors.
2018-07-07 14:55:47 +01:00
David Wilson 3b0addcfb0 service: v2. Closes #213 2018-05-28 05:38:33 +01:00
David Wilson 61365236ad docs/select: fix up more references, fix headings. 2018-05-25 04:47:59 +01:00
David Wilson b61c291faf examples: import mitogen-fuse.py. 2018-04-29 01:20:26 +01:00
David Wilson 49aa8834b0 issue #164: split "examples" out into regression/integration tests. 2018-04-04 15:59:29 +01:00
David Wilson aa8d7a0250 issue #164: verify remote_tmp respected by code running remotely. 2018-04-04 15:41:57 +01:00
David Wilson e2542c1683 "examples": add perl script regression tests. 2018-04-02 10:02:48 +01:00
David Wilson 20044ba956 "examples": import all.yml 2018-04-02 09:26:52 +01:00
David Wilson d2c009f70f "examples": rename regtest.py -> compare_output_test.py
Incomplete, but getting better all the time.
2018-04-02 08:35:56 +01:00
David Wilson 047458a8b3 "examples": start adding structure to regression tests. 2018-04-02 08:12:39 +01:00
David Wilson 95ca29262a examples: add README.md to playbook/. 2018-04-02 07:23:54 +01:00
David Wilson f6b82bb8db examples: add make output to gitignore. 2018-04-02 07:22:24 +01:00
David Wilson 380ef7376d ansible: Add support for free strategy. 2018-04-02 00:01:28 +01:00
David Wilson 41ca3ad94b issue #106: delete junk from example module. 2018-04-01 21:25:44 +01:00
David Wilson 2c17d60ffd issue #106: import basic regtest.py 2018-04-01 21:24:31 +01:00
David Wilson 971b366162 issue #106: import many more test cases 2018-04-01 21:20:23 +01:00
David Wilson 23366b4580 issue #106: import binary modules. 2018-04-01 16:39:10 +01:00
David Wilson 17b94c56f4 issue #177: import reproduction. 2018-04-01 15:59:58 +01:00
David Wilson 76ac49dbdc examples: more comments. 2018-03-30 12:50:12 +05:45
David Wilson 9eccfb4972 examples: add top-level doc 2018-03-30 12:41:53 +05:45
David Wilson a68e833463 examples: add a ton of comments to mitop.py. 2018-03-30 12:35:41 +05:45
David Wilson 682a4ca8d4 issue #174: reproduction. 2018-03-30 02:31:14 +05:45
David Wilson 3579b6806b issue #152: reproduction for second problem 2018-03-19 21:58:35 +05:45
David Wilson 305e024819 issue #154: import user's reproduction 2018-03-19 21:58:35 +05:45
David Wilson 088fd76109 issue #152: import reproduction 2018-03-19 21:58:35 +05:45
David Wilson 051fb85d2d issue #150: 100 target docker inventory 2018-03-19 21:58:34 +05:45
David Wilson b64e52b1fd issue #150: tweak script for running without external IPs 2018-03-19 21:58:34 +05:45
David Wilson 8607680730 issue #150: quick script to run ansible against gcloud instance group 2018-03-19 21:58:34 +05:45