Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-08-29 | Update NEWS | Lars Wirzenius | 1 | -0/+6 | |
2015-08-29 | Add subcommand usage getter | Richard Ipsum | 2 | -2/+12 | |
2015-08-29 | Update debian/changelog | Lars Wirzenius | 1 | -0/+7 | |
2015-08-29 | Update NEWS | Lars Wirzenius | 1 | -0/+10 | |
2015-08-29 | Update manual page wrt string list options | Lars Wirzenius | 1 | -3/+12 | |
2015-08-29 | Fix whitespace, line length | Lars Wirzenius | 2 | -1/+3 | |
2015-08-29 | Allow comma in StringListSetting values | Jan Gerber | 2 | -10/+24 | |
- Escape values with comma with double quotes in config syntax. - Don't split values passed as arguments. | |||||
2015-07-22 | Fix meliae use | Lars Wirzenius | 2 | -1/+6 | |
2015-07-01 | Prepare release 1.20150701cliapp-1.20150701 | Lars Wirzenius | 3 | -4/+4 | |
2015-06-30 | Change source package format | Lars Wirzenius | 2 | -1/+2 | |
2015-06-30 | Prepare release 1.20150630 | Lars Wirzenius | 3 | -2/+8 | |
2015-05-31 | Move memory dumping method to util.py | Lars Wirzenius | 4 | -66/+99 | |
2015-05-31 | Mark outside test coverage | Lars Wirzenius | 1 | -1/+1 | |
2015-05-31 | Remove logging.debug calls to reduce verbosity | Lars Wirzenius | 1 | -2/+0 | |
2015-05-09 | Include stdout output in exception if command fails | Lars Wirzenius | 1 | -1/+1 | |
2015-05-01 | Don't run pylint if it's too old | Lars Wirzenius | 1 | -1/+5 | |
2015-05-01 | Whitespace fixes for PEP8 | Lars Wirzenius | 4 | -16/+16 | |
2015-05-01 | Build-depend on pep8, pylint | Lars Wirzenius | 1 | -1/+1 | |
2015-04-18 | Add running of pylint in 'make check' and fix things | Lars Wirzenius | 24 | -209/+257 | |
2015-04-18 | Run pep8 in "make check" and fix so it passes | Lars Wirzenius | 18 | -142/+166 | |
2015-03-24 | Add ssh_runcmd(..., remote_cwd='...')) | Lars Wirzenius | 2 | -1/+18 | |
2015-03-24 | Quote user-provided options | Lars Wirzenius | 1 | -1/+1 | |
2015-03-24 | Add ssh_options to ssh_runcmd | Lars Wirzenius | 2 | -9/+23 | |
2015-03-24 | Update NEWS | Lars Wirzenius | 1 | -0/+6 | |
2015-03-24 | Add ssh_options to ssh_runcomd | Lars Wirzenius | 1 | -0/+3 | |
2015-03-24 | Document ssh_options in docstring | Lars Wirzenius | 1 | -1/+5 | |
2015-03-24 | Refactor ssh_runcmd for code clarity | Lars Wirzenius | 1 | -8/+9 | |
2015-03-05 | Prepare for releasecliapp-1.20150305 | Lars Wirzenius | 4 | -3/+9 | |
2015-02-08 | Collect all stderrs from pipeline | Lars Wirzenius | 2 | -4/+20 | |
2015-02-08 | Update NEWS | Lars Wirzenius | 1 | -0/+4 | |
2015-02-08 | runcmd: Collect stderr of whole pipeline | Richard Maw | 1 | -4/+16 | |
When pipe_stderr is None (inherit parent fd), subprocess.STDOUT (stderr to stdout) or a specific file, it would put everything to the right place, but when pipe_stderr is subprocess.PIPE the behaviour is less well defined. Before this change, it would happen to return the stderr of the last element of the pipeline, behaving similar to this shell snippet, except it does not need an intermediate file to store the contents of stderr in memory. stdout="$(foo 2>/dev/null | bar 2>/dev/null | baz 2>tmp)" stderr="$(cat tmp)" With this patch, it now behaves more like: stdout="$((foo | bar | baz) 2>tmp)" stderr="$(cat tmp)" It works by duplicating some of the subprocess.PIPE behaviour outside of subprocess.Popen, as there's no better way to make every subprocess have the same stderr, since there's no way to get the write end out of the Popen object after it has been constructed, since it is closed in the constructor, only leaving the read-end available as p.stderr. Only the last element of the pipeline is given the read end of the pipe, since it ought to have only one read pipe, and it makes the most sense for the last element to have the pipe, since you can then think of the pipeline as having a pipe that joins every element for stderr, that comes out at the end, with the stdout of the pipeline. | |||||
2015-01-30 | Fix runcmd pipeline file descriptor in parent | Lars Wirzenius | 2 | -0/+16 | |
2015-01-30 | Update NEWS | Lars Wirzenius | 1 | -0/+7 | |
2015-01-30 | Fix non-termination bug in _build_pipeline | Richard Maw | 1 | -0/+9 | |
This fixes a bug that leads to non-termination in some pipelines that should terminate immediately such as `cat /dev/zero | false` | |||||
2014-08-03 | Fix test for callbacks | Lars Wirzenius | 1 | -2/+7 | |
2014-07-31 | Add callbacks to cliapp.runcmd for stdout/err data | Lars Wirzenius | 5 | -5/+107 | |
2014-07-31 | Allow runcmd callbacks to mangle the collected data | Lars Wirzenius | 2 | -8/+18 | |
2014-07-31 | Update NEWS | Lars Wirzenius | 1 | -0/+7 | |
2014-07-31 | Fix copyright statement | Lars Wirzenius | 1 | -1/+1 | |
2014-07-31 | Add tests for runcmd callbacks | Richard Ipsum | 1 | -0/+27 | |
2014-07-31 | Add LoggerApp example | Richard Ipsum | 2 | -0/+47 | |
2014-07-31 | Add callbacks to runcmd | Richard Ipsum | 1 | -2/+13 | |
2014-07-19 | Prepare release 1.20140719cliapp-1.20140719 | Lars Wirzenius | 4 | -3/+9 | |
2014-04-20 | Make Plugin.disable be a no-op | Lars Wirzenius | 3 | -6/+6 | |
2014-04-15 | Remove some dead code | Lars Wirzenius | 1 | -16/+0 | |
2014-04-15 | Split logging setup into further overrideable methods | Lars Wirzenius | 2 | -7/+18 | |
2014-04-15 | Split of logging setup for file into separate method | Lars Wirzenius | 2 | -10/+19 | |
2014-04-09 | Fix missing get_help_text_formatter | Lars Wirzenius | 2 | -1/+9 | |
2014-03-15 | Prepare release 1.20140315cliapp-1.20140315 | Lars Wirzenius | 5 | -6/+6 | |
2014-01-07 | Fix markdown for README legalese | Lars Wirzenius | 1 | -17/+16 | |
Reported-by: Sam Thursfield |