[augeas-devel] ANNOUNCE: Augeas 0.4.1
David Lutterkort
lutter at redhat.com
Tue Mar 3 01:26:08 UTC 2009
I am pleased to announce the release of Augeas 0.4.1; if I were into
codenames this would be the 'Juggling Chainsaws' release.
The two main changes in this release are:
* when part of the tree corresponding to an entire file is
removed, the underlying file will be deleted (or moved to
a .augsave file) when the tree is saved. IOW, when you
'rm /files/etc/hosts' in augtool and then save, /etc/hosts will
be removed from the file system
* the path expression interpreter had a good number of bugs fixed,
and the grammar for it has been expanded quite a bit:
* additional boolean operators 'or' and 'and', and
operators '>', '>=', '<', '<=' for comparing numbers
* function label() to get the label of the context node,
e.g. /foo/*[label() != '#comment'] gets all non comment
nodes under /foo
* function count() to count the number of nodes in a node
set, e.g. /foo/*[count(bar) = 0] gets all nodes
under /foo that don't have a child bar
* function position() to get the postion of the context
node, e.g. /foo/*[position() < last() ] selects all
children of /foo except for the last one
Tarball: http://augeas.net/download/augeas-0.4.1.tar.gz
GPG signature[1]: http://augeas.net/download/augeas-0.4.1.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.
Detailed news:
- Remove files when their entire subtree under /files is deleted
- Various bug fixes and syntax enhancements for path expressions
(see tests/xpath.tests for details)
- Evaluate path expressions with multiple predicates correctly
- Fix incorrect setting of /augeas/events/saved
- Major cleanup of matching during get; drastically improves
performance for very large (on the order of 10k lines) config files
- Small performance improvement in the typechecker
- Reject invalid character sets like [x-u] during typecheck
- Build with compile warnings set to 'maximum' instead of 'error', so
that builds on platforms with broken headers will work out of the box
- Lens changes/additions
* Util.stdexcl now excludes .augsave and .augnew files
* Logrotate: allow 'yearly' schedule, spaces around braces
* Ntp: fix so that it processes ntp.conf on Fedora 10
* Services: lens for /etc/services (Raphael Pinson)
* Xorg: new lens and tests (Raphael Pinson)
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.4.1.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