ayrton 0.8.1.0
I'll keep this short. During the weekend I found a bug in ayrton
. I fixed it
in develop
, and decided to make a release with it, because it was kind of a
showstopper. It was the first time I decided to use ayrton
for a oneliner.
It was this one:
ayrton -c "rm(f=True, v=True, locate('.xvpics', _out=Capture))"
See, ayrton
's native support for filenames with spaces makes it a perfect
replacement for find
and xargs
and tools like that. That command simply finds
all the files or directories called like .xvpics
using locate
and removes them. There is a
little bit of magic where locate
's output becomes rm
's arguments, but probably
not magic enough: _out=Capture
has to be specified. We'll probably fix that
in the near future.
So, enjoy the new release. It just fixes a couple of bugs, one of them directly related to this oneliner. Here's the changelog:
- The 'Release From The Bus' release.
- Bugfix release.
-
Argv
should not be created with an empty list. - Missing dependencies.
- Several typos.
- Fix for
_h()
. - Handle
paramiko
exceptions. - Calling
ayrton -c <script>
was failing because the file name was not properly (f|b)aked. -
ayrton --version
didn't work!
Meanwhile, a little about its future. I have been working on ayrton
on and off.
Right now I'm gathering energy to modify pypy
's Python parser so it supports
py3.6
's formatted string literals. With this I can later update ayrton
's parser,
which is based on pypy
's. A part of it has been done, but then I run out of gas.
I think FSLs are perfect for ayrton
in its aim to replace shell script languages.
In other news, there's a nasty remote()
bug that I can't pin down. These two
things might mean that there won't be a significant release for a while.