Skip to content

Releases: StyXman/ayrton

The 'Code Rush' Release.

20 May 21:51
Compare
Choose a tag to compare

Today, after months of ruminating the idea, I figured out that it would be easy-ish to support executing things like foo.py, so I came back from work, hacked it in, tests included (of course!) and released. Full ChangeLog:

  • source() is out. Use Python's import system.
  • Support executing foo.py().

Go grab it while it's hot!

The 'Show Some Activity' release

10 Apr 20:17
Compare
Choose a tag to compare

Wow, my brain definitely works in the background. More stuff came up while still playing with my maps. The short Changelog:

  • 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.

Get it while it's hot!

The 'one year is nothing' release

14 Jan 22:34
Compare
Choose a tag to compare

Yes, one year, almost to the minute. Same day of the same month, same hour.

The changelog, at least, is quite extensive:

  • _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!

The 'no-sh' release

15 Jan 18:57
Compare
Choose a tag to compare
  • Fixed the release.ay script that prematurely released v0.4.
  • >= 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.

The Hiatus Release

03 Oct 18:58
Compare
Choose a tag to compare
  • Piping and basic redirection works.

Release often

14 Sep 16:06
Compare
Choose a tag to compare
  • 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.

release early

11 Sep 18:09
Compare
Choose a tag to compare
  • RunninCommand.exit_code is a property, not a function. Closes #13.

new relase!

11 Sep 07:05
Compare
Choose a tag to compare

From the ChangeLog:

  • 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!

Initial release

08 Sep 15:48
Compare
Choose a tag to compare

This is the initial release of ayrton. So far we have the following features:

  • Executables are available as functions.
  • Environment variables handling, including export()'ing them.
  • Semi transparent remote execution using with ssh (...): ....