Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a way to capture or wrap streams #50

Merged
merged 15 commits into from
Dec 10, 2018
Merged

Provide a way to capture or wrap streams #50

merged 15 commits into from
Dec 10, 2018

Commits on Dec 9, 2018

  1. Provide a way to capture or wrap streams

    - Also fix a bug with error reporting during `_create_subprocess`
      failures
    - Adds a stream wrapper using `TextIOWrapper` via
      `vistir.misc.StreamWrapper`
    - Adds `vistir.misc.get_wrapped_stream()` function to wrap existing
      streams
    - Adds `vistir.contextmanagers.replaced_stream()` to temporarily replace
      a stream
    - Fixes #49
    - Closes #48
    
    Signed-off-by: Dan Ryan <dan@danryan.co>
    techalchemy committed Dec 9, 2018
    Configuration menu
    Copy the full SHA
    46c23cd View commit details
    Browse the repository at this point in the history
  2. Fix traceback formatting

    Signed-off-by: Dan Ryan <dan@danryan.co>
    techalchemy committed Dec 9, 2018
    Configuration menu
    Copy the full SHA
    b14e144 View commit details
    Browse the repository at this point in the history
  3. add missing entry to __all__

    Signed-off-by: Dan Ryan <dan@danryan.co>
    techalchemy committed Dec 9, 2018
    Configuration menu
    Copy the full SHA
    259ba30 View commit details
    Browse the repository at this point in the history
  4. Implementation fixes and tests

    Signed-off-by: Dan Ryan <dan@danryan.co>
    techalchemy committed Dec 9, 2018
    Configuration menu
    Copy the full SHA
    0640f24 View commit details
    Browse the repository at this point in the history
  5. Fix travis and appveyor?

    Signed-off-by: Dan Ryan <dan@danryan.co>
    techalchemy committed Dec 9, 2018
    Configuration menu
    Copy the full SHA
    1611baa View commit details
    Browse the repository at this point in the history
  6. fix spinner

    Signed-off-by: Dan Ryan <dan@danryan.co>
    techalchemy committed Dec 9, 2018
    Configuration menu
    Copy the full SHA
    97ffaa9 View commit details
    Browse the repository at this point in the history
  7. Capture spinner output separately

    Signed-off-by: Dan Ryan <dan@danryan.co>
    techalchemy committed Dec 9, 2018
    Configuration menu
    Copy the full SHA
    a740eac View commit details
    Browse the repository at this point in the history
  8. Fix spinner capture

    Signed-off-by: Dan Ryan <dan@danryan.co>
    techalchemy committed Dec 9, 2018
    Configuration menu
    Copy the full SHA
    5aa27af View commit details
    Browse the repository at this point in the history
  9. Update output decoding function

    Signed-off-by: Dan Ryan <dan@danryan.co>
    techalchemy committed Dec 9, 2018
    Configuration menu
    Copy the full SHA
    efa29b2 View commit details
    Browse the repository at this point in the history
  10. Fix output encodings

    Signed-off-by: Dan Ryan <dan@danryan.co>
    techalchemy committed Dec 9, 2018
    Configuration menu
    Copy the full SHA
    0d06f19 View commit details
    Browse the repository at this point in the history
  11. Properly escape non-ascii characters frm printing

    Signed-off-by: Dan Ryan <dan@danryan.co>
    techalchemy committed Dec 9, 2018
    Configuration menu
    Copy the full SHA
    cbb3d26 View commit details
    Browse the repository at this point in the history
  12. Fixed decode_for_output gracefulness

    - Added more entries to `six.moves` from `collections.abc`
    - Fixes #51
    - Fixes #52
    
    Signed-off-by: Dan Ryan <dan@danryan.co>
    techalchemy committed Dec 9, 2018
    Configuration menu
    Copy the full SHA
    f6b9045 View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2018

  1. Cleanup and reorganize a bit

    Signed-off-by: Dan Ryan <dan@danryan.co>
    
    Add some extra compat utils
    
    Signed-off-by: Dan Ryan <dan@danryan.co>
    
    Add setup.cfg changes
    
    Signed-off-by: Dan Ryan <dan@danryan.co>
    
    uh, and init...
    
    Signed-off-by: Dan Ryan <dan@danryan.co>
    
    add fixture
    
    Signed-off-by: Dan Ryan <dan@danryan.co>
    techalchemy committed Dec 10, 2018
    Configuration menu
    Copy the full SHA
    e92fea4 View commit details
    Browse the repository at this point in the history
  2. allow replacing both stdout and stderr simultaneously

    Signed-off-by: Dan Ryan <dan@danryan.co>
    techalchemy committed Dec 10, 2018
    Configuration menu
    Copy the full SHA
    6411138 View commit details
    Browse the repository at this point in the history
  3. fix some issues

    Signed-off-by: Dan Ryan <dan@danryan.co>
    techalchemy committed Dec 10, 2018
    Configuration menu
    Copy the full SHA
    7380135 View commit details
    Browse the repository at this point in the history