ayrton (0.5) UNRELEASED; urgency=medium
- source() is out. use python's import system.
- Support executing foo.py().
- Much better command detection.
- CommandNotFound exception is now a subclass of NameError.
- Allow Command keywords be named like '-l' and '--long-option', so it supports options with dashes.
- This also means that long-option is no longer passed as --long-option; you have to put the dashes explicitly.
- bash() does not return a single string by default; override with single=True.
- Way more tests.
- Updated docs.
-- Marcos Dione <mdione@grulic.org.ar> Sun, 30 Aug 2015 15:13:30 +0200
ayrton (0.4.3) unstable; urgency=medium
- Let commands handle SIGPIE and SIGINT. Python does funky things to them.
- for line in foo(): ... forces Capture'ing the output.
- Fix remote() a little. The API stills sucks.
- Fix remote() tests.
-- Marcos Dione <mdione@grulic.org.ar> Fri, 10 Apr 2015 22:09:40 +0200
ayrton (0.4.2) unstable; urgency=low
- _bg allows running a command in the background.
- _fails allows a Command to fail even when option('-e') is on.
- Try program_name as program-name if the first failed the path lookup.
- Convert all arguments to commands to str().
- chdir() is an alias of cd().
- Capture is a class, not an arbitrary value.
- Updated doc.
- Fixed globals and local passed to the execution of the script.
- Fixed some fd leakage.
- Fixed redirection when _out and _err where Capture.
- Fixed keyword handling while doing our black magic.
- More, better unit tests!
-- Marcos Dione <mdione@grulic.org.ar> Wed, 14 Jan 2015 21:58:28 +0100
ayrton (0.4) unstable; urgency=low
- >= can redirect stederr to stdout.
- o(option=argument) can be used to declare keyword params among/before positional ones.
- bash() now returns a single string if there is only one result.
- Slightly better error reporting: don't print a part of the stacktrace that belongs to ayrton itself. There is still more to do.
- No longer depends on sh.
-- Marcos Dione <mdione@grulic.org.ar> Tue, 14 Jan 2014 21:35:13 +0100
ayrton (0.3) unstable; urgency=low
- Piping and basic redirection works.
-- Marcos Dione <mdione@grulic.org.ar> Thu, 03 Oct 2013 20:42:12 +0200
ayrton (0.2) unstable; urgency=low
- New function options() is similar to bash's set command. So far only the errexit and its short versions is accepted.
- The ssh() context manager was renamed to remote(). See NEWS.rst.
- New function shitf() similar to bash's command of the same name. See the docs.
-- Marcos Dione <mdione@grulic.org.ar> Sat, 14 Sep 2013 17:59:27 +0200
ayrton (0.1.2) unstable; urgency=low
- RunninCommand.exit_code is a property, not a function. Closes #13.
-- Marcos Dione <mdione@grulic.org.ar> Wed, 11 Sep 2013 19:38:12 +0200
ayrton (0.1.1) unstable; urgency=low
- The remote code (the body of a with ssh (..): ...) can be either pure Python or ayrton. Pure Python imposes less dependencies on the remote.
- You can access the original argv in the remote.
- More documentation, more examples, even some that are useful!
-- Marcos Dione <mdione@grulic.org.ar> Wed, 11 Sep 2013 08:53:04 +0200
ayrton (0.1) unstable; urgency=low
- Initial release.
-- Marcos Dione <mdione@grulic.org.ar> Sun, 09 Sep 2013 12:45:42 +0200