Commit Graph

7 Commits

Author SHA1 Message Date
David Wilson 7d62c79ab7 docker: redirect stderr to stdout for nicer exceptions.
Unclear whether or not this is a hack, or whether it should be the
default for more connection methods. When enabled, the exception text
thrown when bootstrap fails includes the stderr text, which is
apparently always useful.
2018-08-18 16:43:59 +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 7f1060f54a issue #186: initial version of subtree detachment. 2018-05-03 01:11:14 +01:00
David Wilson 9d0949eb99 docker: fixes & add username parameter. 2018-04-27 03:00:11 +01:00
David Wilson 4691ce0b95 issue #150: ansible: add basic Docker support. 2018-03-19 21:58:34 +05:45
David Wilson ff617824a1 ansible: fix some flake8 errors
* Unused imports
* Undefined names in helpers.py
* Copyright header wrapping
2018-03-19 21:58:31 +05:45
David Wilson 5036a9448f Add Docker method. 2018-03-19 21:58:31 +05:45