Permalink
Commits on Dec 1, 2016
  1. Ignore build directory

    mwilliamson committed Dec 1, 2016
  2. Fix header formatting

    mwilliamson committed Dec 1, 2016
Commits on Nov 9, 2016
  1. Remove build during clean

    mwilliamson committed Nov 9, 2016
  2. Run tox before upload

    mwilliamson committed Nov 9, 2016
  3. Bump version to 0.3.20

    mwilliamson committed Nov 9, 2016
Commits on Aug 23, 2016
  1. Add a couple of TODOs

    mwilliamson committed Aug 23, 2016
  2. Check the result of the cwd in SshShell (#48)

    beenje committed with mwilliamson Aug 23, 2016
    * Check the result of the cwd in SshShell
    
    Using the cwd argument used to run something like that:
    $ cd '/some/path'; command -v 'ls' > /dev/null 2>&1 ||
      which 'ls' > /dev/null 2>&1; echo $?; exec 'ls'
    
    Even if the directory doesn't exist, the command is run.
    I first tried to change it to:
    $ cd '/some/path' && { command -v 'ls' > /dev/null 2>&1 ||
      which 'ls' > /dev/null 2>&1; echo $?; exec 'ls'; }
    
    But we can't check the which/command result if the cd fails. To minimize
    the impact, I changed it to:
    $ cd '/some/path' 2>/dev/null; command -v 'ls' > /dev/null 2>&1 ||
      which 'ls' > /dev/null 2>&1; echo $?; cd '/some/path' && exec 'ls'
    
    We have to run cd before to check if the command exists because we might
    run a script in the cwd directory.
    So we don't catch if this cd fails and run it again just before the exec
    where we catch it. The only drawback is that if a command is not found
    because the cwd is incorrect, we'll raise NoSuchCommandError instead of
    RunProcessError.
    
    Fixes #46
    
    * Raise NoSuchDirectoryError if cwd fails
    
    Add new exception "NoSuchDirectoryError".
    The exception is raised if trying to change to a non-existent directory.
    The behaviour is consistent between local and ssh shell.
Commits on Jun 24, 2016
Commits on Jun 7, 2016
  1. Add setup.cfg

    mwilliamson committed Jun 7, 2016
  2. Bump version to 0.3.19

    mwilliamson committed Jun 7, 2016
Commits on Jun 2, 2016
  1. Remove unused import

    mwilliamson committed Jun 2, 2016
  2. Bump version to 0.3.18

    mwilliamson committed Jun 2, 2016
  3. Clarify test name

    mwilliamson committed Jun 2, 2016
  4. Clarify sock documentation

    mwilliamson committed Jun 2, 2016
  5. Merge pull request #42 from lindycoder/add_proxy_command

    mwilliamson committed Jun 2, 2016
    Added a sock parameter to SshShell
Commits on Jun 1, 2016
  1. Added a sock parameter to SshShell

    lindycoder committed May 31, 2016
    It is a pass-through to the paramiko.client.connect method
    
    resolves #41
Commits on Apr 29, 2016
  1. Bump version to 0.3.17

    mwilliamson committed Apr 29, 2016
Commits on Apr 6, 2016
  1. Bump version to 0.3.16

    mwilliamson committed Apr 6, 2016
Commits on Dec 28, 2015
  1. Bump version to 0.3.15

    mwilliamson committed Dec 28, 2015