[augeas-devel] ANNOUNCE: Augeas 0.5.0
David Lutterkort
lutter at redhat.com
Sat Mar 28 01:41:25 UTC 2009
I am pleased to announce the release of Augeas 0.5.0, the best Augeas
release, ever (until 0.5.1, that is).
There are several big ticket items in this release:
* It is now possible to control which files get loaded and what
lenses are applied to them by passing the AUG_NO_LOAD flag to
aug_init, manipulating /augeas/load and then calling aug_load
* Path expressions can now contain variables, for example as a
shorthand for long expressions. In augtool, you can do something
like
augtool> defvar localhost "/files/etc/hosts/*[ipaddr = '127.0.0.1']"
augtool> match $localhost/alias
...
augtool> set $localhost/alias[last()+1] myhost.example.com
Similarly, aug_defnode provides a convenient way to find a node,
create it if it does not exist yet, and store the resulting node
in a variable
* The error messages produced when parsing config files fail are a
little less obtuse; in particular 'Short iteration' has been
renamed, and error messages now contain the line number and
column where the error happened
Detailed news:
- Clean up interface for libfa; the interface is now considered stable
- New aug_load API call; allows controlling which files to load by
modifying /augeas/load and then calling aug_load; on startup, the
transforms marked with autoload are reported under /augeas/load
- New flag AUG_NO_LOAD for aug_init to keep it from loading files on
startup; add --noload option to augtool
- New API calls aug_defvar and aug_defnode to define variables for
path expressions; exposed as 'defvar' and 'defnode' in augtool
- Lenses distributed with Augeas are now installed in
/usr/share/augeas/lenses/dist, which is searched after
/usr/share/augeas/lenses, so that lenses installed by other packages
take precedence
- New program examples/fadot to draw various finite automata (Francis
Giraldeau)
- Report line number and character offset in the tree when parsing a
file with a lens fails
- Fix error in propagation of dirty flag, which could lead to only
parts of a tree being saved when multiple files were modified
- Flush files to disk before moving them
- Fix a number of memory corruptions in the XPath evaluator
- Several performance improvements in libfa
- Lens changes/additions
* Grub: process embedded comments for update-grub (Raphael Pinson)
* Iptables: new lens for /etc/sysconfig/iptables
* Krb5: new lens for /etc/krb5.conf
* Limits: map dpmain as value of 'domain' node, not as label
(Raphael Pinson)
* Lokkit: new lens for /etc/sysconfig/system-config-firewall
* Modprobe: new lens for /etc/modprobe.d/*
* Sudoers: more finegrained parsing (ticket #48) (Raphael Pinson)
Tarball: http://augeas.net/download/augeas-0.5.0.tar.gz
GPG signature[1]: http://augeas.net/download/augeas-0.5.0.tar.gz.sig
RPM's for Fedora and EPEL are making their way through the build systems
and will be available shortly from the usual repos.
David
[1] To verify the signature, first download both the .sig file and the
corresponding tarball. Then, run a command like this:
gpg --verify augeas-0.5.0.tar.gz.sig
If that command fails because you don't have the required public key,
then run this command to import it:
gpg --keyserver keys.gnupg.net --recv-keys FC6E8A22
and rerun the `gpg --verify' command.
More information about the augeas-devel
mailing list