Releases: StyXman/ayrton
Releases · StyXman/ayrton
The 'Code Rush' Release.
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
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
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 aCommand
to fail even whenoption('-e')
is on.- Try
program_name
asprogram-name
if the first failed the path lookup. - Convert all arguments to commands to
str()
. chdir()
is an alias ofcd()
.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
- 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 toayrton
itself. There is still more to do. - No longer depends on
sh
.
The Hiatus Release
- Piping and basic redirection works.
Release often
- New function
options()
is similar tobash
'sset
command. So far
only theerrexit
and its short versions is accepted. - The
ssh()
context manager was renamed toremote()
. See NEWS.rst. - New function
shitf()
similar tobash
's command of the same name.
See the docs.
release early
- RunninCommand.exit_code is a property, not a function. Closes #13.
new relase!
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
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 (...): ...
.