- update to 1.10.1:
General changes/additions
New CLI utility 'augmatch' to print the tree for a file and select
some of its contents
New command 'count' in augtool
New function 'not(bool) -> bool' for path expressions
The path expression 'label[. = "value"]' can now be written more
concisely as 'label["value"]'
API changes
libfa has now a function fa_json to export an FA as a JSON file, and
fa_state_* functions that make it possible to iterate over the FA's
states and transitions. (Pedro Valero Mejia)
Add functions aug_ns_label, aug_ns_value, aug_ns_count, and
aug_ns_path to get the label (with index), the value, the number of
nodes, and the fully qualified path for nodes stored in a nodeset in
a variable efficiently
Lens changes/additions
Grubenv: new lens to process /boot/grub/grubenv (omgold)
Httpd: also read files from /etc/httpd/conf.modules.d/*.conf
(Tomas Meszaros) (Issue #537)
Nsswitch: allow comments at the end of a line (Philip Hahn) (Issue #517)
Ntp: accept 'ntpsigndsocket' statement (Philip Hahn) (Issue #516)
Properties: accept empty comments with DOS line endings (Issue #161)
Rancid: new lens for RANCiD router databases (Matt Dainty)
Resolv: accept empty comments with DOS line endings (Issue #161)
Systemd: also process /etc/systemd/logind.conf (Pat Riehecky)
YAML: process a document that is just a sequence (John Vandenberg)
- drop chrpath dependency, the offending dump binary is no longer shipped
OBS-URL: https://build.opensuse.org/request/show/589058
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/augeas?expand=0&rev=73
- Version update to 1.9.0:
- General changes/additions
* Fix error in handling escaped whitespace at the end of path expressions
(addresses CVE-2017-7555)
* several improvements to the error messages when transforming a tree
back to text fails. They now make it clearer what part of the tree
was problematic, and what the tree should have looked like.
* Fixed the pkg-config file, which should now be usable
* Fix handling of backslash-escaping in strings and regular expressions
in the lens language. We used to handle constructs like "\\" and
/\\\\/ incorrectly. (Issue #495)
* do not unescape the default value of a del on create; otherwise we are
double unescaping these strings (Issue #507)
* remove tempfile when saving files because destination is not writable
(Issue #479)
* span information is now updated on save (Issue #467)
* fix lots of warnings generated by gcc 7.1
* Various changes to reduce bashisms in tests and make them run on
FreeBSD (Romain Tartière)
- API changes
* add function aug_ns_attr to allow iterating through a nodeset
quickly. See examples/dump.c for an example of how to use them
instead of aug_get, aug_label etc. and for a way to measure
performance gains.
- Lens changes/additions
* Ceph: new lens for /etc/ceph/ceph.conf
* Cgconfig: accept fperm & dperm in admin & task (Pino Toscano)
* Dovecot: also load files from /usr/local/etc (Roy Hubbard)
* Exports: relax the rules for the path at the beginning of a line so
that double-quoted paths are legal, too
OBS-URL: https://build.opensuse.org/request/show/537049
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/augeas?expand=0&rev=69
- restore keyring and .sig file, as this is checked by the OBS
source service
- Update to version 1.3.0
+ General changes/additions
* Add missing cp entry in manpage (GH issue #78)
* Add seq to vim syntax highlight (Robert Drake)
* Update augtool.1 man page with new commands and --span, RHBZ#1100077
* augtool autocomplete includes command aliases, RHBZ#1100184
* Remove unused "filename" argument from dump-xml command, RHBZ#1100106
* aug_save returns non-zero result when unable to delete files,
RHBZ#1091143
+ Lens changes/additions
* Aliases: permit missing whitespace between colon and recipients
* AptPreferences: Support spaces in origin fields
* Cgconfig: handle additional valid controllers (Andy Grimm)
* Chrony: New lens to parse /etc/chrony.conf (Pat Riehecky)
* CPanel: New lens to parse cpanel.config files
* Desktop: Allow @ in keys (GH issue #92)
* Device_map: Parse all device.map files under /boot (Mike Latimer)
* Dhclient: Add support for option modifiers (Robert Drake,
GH issue #95)
Parse hash statements with dhcp-eval strings
* Dhcpd: stmt_string quoted blocks no longer store quote marks
(incompatible change),
many changes to support more record types (Robert Drake)
* Group: NIS support (KaMichael)
* Grub: handle "foreground" option, RHBZ#1059383 (Miguel Armas)
* Gshadow: New lens (Lorenzo Catucci)
* Httpd: Allow eol comments after section tags
OBS-URL: https://build.opensuse.org/request/show/265847
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/augeas?expand=0&rev=37
- Add check phase, comment out as 2 test fails now.
- Clean up with spec-cleaner
- Version bump to 1.2.0:
- API changes
* Add aug_cp and the cp and copy commands
* aug_to_xml now includes span information in the XML dump
- General changes/additions
* Fix documentation link in c_api NaturalDocs menu
* Fix NaturalDocs documentation for various lenses
* src/transform.c (filter_matches): wrap fnmatch to ensure that an incl
pattern containing "//" matches file paths, RHBZ#1031084
* Correct locations table for transform_save() (Tomas Hoger)
* Corrections for CVE-2012-0786 tests (Tomas Hoger)
* Fix umask handling when creating new files, RHBZ#1034261
- Lens changes/additions
* Access: support DOMAIN\user syntax for users and groups, bug #353
* Authorized_Keys: Allow 'ssh-ed25519' as a valid authorized_key
type (Jasper Lievisse Adriaanse)
* Automounter: Handle hostnames with dashes in them, GH issue #27
* Build: Add combinatorics group
* Cyrus_Imapd: Create new entries without space before separator,
RHBZ#1014974 (Dietmar Kling)
* Desktop: Support square brackets in keys
* Dhclient: Add dhclient.conf path for Debian/Ubuntu (Esteve Fernandez)
* Dhcpd: Support conditionals, GH issue #34
Support a wider variety of allow/deny statement, including
booting and bootp (Yanis Guenane)
Support a wider variety of DHCP allow/deny/ignore statements
(Yanis Guenane)
* Dovecot: Various enhancements and bug fixes (Michael Haslgrübler):
OBS-URL: https://build.opensuse.org/request/show/232823
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/augeas?expand=0&rev=33
- Clean up with spec-cleaner
- Version bump to 1.2.0:
- API changes
* Add aug_cp and the cp and copy commands
* aug_to_xml now includes span information in the XML dump
- General changes/additions
* Fix documentation link in c_api NaturalDocs menu
* Fix NaturalDocs documentation for various lenses
* src/transform.c (filter_matches): wrap fnmatch to ensure that an incl
pattern containing "//" matches file paths, RHBZ#1031084
* Correct locations table for transform_save() (Tomas Hoger)
* Corrections for CVE-2012-0786 tests (Tomas Hoger)
* Fix umask handling when creating new files, RHBZ#1034261
- Lens changes/additions
* Access: support DOMAIN\user syntax for users and groups, bug #353
* Authorized_Keys: Allow 'ssh-ed25519' as a valid authorized_key
type (Jasper Lievisse Adriaanse)
* Automounter: Handle hostnames with dashes in them, GH issue #27
* Build: Add combinatorics group
* Cyrus_Imapd: Create new entries without space before separator,
RHBZ#1014974 (Dietmar Kling)
* Desktop: Support square brackets in keys
* Dhclient: Add dhclient.conf path for Debian/Ubuntu (Esteve Fernandez)
* Dhcpd: Support conditionals, GH issue #34
Support a wider variety of allow/deny statement, including
booting and bootp (Yanis Guenane)
Support a wider variety of DHCP allow/deny/ignore statements
(Yanis Guenane)
* Dovecot: Various enhancements and bug fixes (Michael Haslgrübler):
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/augeas?expand=0&rev=46
- download url changed, also added keyring and .sig ring
- Update to version 1.1.0
- Handle files with special characters in their name, bug #343
- Fix type error in composition ('f; g') of functions, bug #328
- Improve detection of version script; make build work on Illumos with
GBU ld (Igor Pashev)
- augparse: add --trace option to print filenames of all modules being
loaded
- Various lens documentation improvements (Jasper Lievisse Adriaanse)
- Lens changes/additions
- ActiveMQ_*: new lens for ActiveMQ/JBoss A-MQ (Brian Harrington)
- AptCacherNGSecurity: new lens for /etc/apt-cacher-ng/security.conf
(Erik Anderson)
- Automaster: accept spaces between options
- BBHosts: support more flags and downtime feature (Mathieu Alorent)
- Bootconf: new lens for OpenBSD's /etc/boot.conf (Jasper Adriaanse)
- Desktop: Support dos eol
- Dhclient: read /etc/dhclient.conf used in OpenBSD (Jasper Adriaanse)
- Dovecot: New lens for dovecot configurations (Serge Smetana)
- Fai_Diskconfig: Optimize some regexps
- Fonts: exclude all README files (Jasper Adriaanse)
- Inetd: support IPv6 addresses, bug #320
- IniFile: Add lns_loose and lns_loose_multiline definitions
Support smart quotes
Warning: Smart quotes support means users should not add
escaped double quotes themselves. Tests need to be fixed
also.
Use standard Util.comment_generic and Util.empty_generic
Warning: Existing lens tests must be adapted to use standard
OBS-URL: https://build.opensuse.org/request/show/210795
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/augeas?expand=0&rev=32
- Update to version 1.1.0
- Handle files with special characters in their name, bug #343
- Fix type error in composition ('f; g') of functions, bug #328
- Improve detection of version script; make build work on Illumos with
GBU ld (Igor Pashev)
- augparse: add --trace option to print filenames of all modules being
loaded
- Various lens documentation improvements (Jasper Lievisse Adriaanse)
- Lens changes/additions
- ActiveMQ_*: new lens for ActiveMQ/JBoss A-MQ (Brian Harrington)
- AptCacherNGSecurity: new lens for /etc/apt-cacher-ng/security.conf
(Erik Anderson)
- Automaster: accept spaces between options
- BBHosts: support more flags and downtime feature (Mathieu Alorent)
- Bootconf: new lens for OpenBSD's /etc/boot.conf (Jasper Adriaanse)
- Desktop: Support dos eol
- Dhclient: read /etc/dhclient.conf used in OpenBSD (Jasper Adriaanse)
- Dovecot: New lens for dovecot configurations (Serge Smetana)
- Fai_Diskconfig: Optimize some regexps
- Fonts: exclude all README files (Jasper Adriaanse)
- Inetd: support IPv6 addresses, bug #320
- IniFile: Add lns_loose and lns_loose_multiline definitions
Support smart quotes
Warning: Smart quotes support means users should not add
escaped double quotes themselves. Tests need to be fixed
also.
Use standard Util.comment_generic and Util.empty_generic
Warning: Existing lens tests must be adapted to use standard
comments and empty lines
Allow spaces in entry_multiline* values
Add entry_generic and entry_multiline_generic
Add empty_generic and empty_noindent
Let multiline values begin with a single newline
Support dos eol
Warning: Support for dos eol means existing lenses usually
need to be adapted to exclude \r as well as \n.
- IPRoute2: Support for iproute2 files (Davide Guerri)
- JaaS: lens for the Java Authentication and Authorization Service
(Simon Vocella)
- JettyRealm: new lens for jetty-realm.properties (Brian Harrington)
- JMXAccess, JMXPassword: new lenses for ActiveMQ's JMX files
(Brian Harrington)
- Krb5: Use standard comments and empty lines
Support dos eol
Improve performance
Accept pkinit_anchors (Andrew Anderson)
- Lightdm: Use standard comments and empty lines
- LVM: New lens for LVM metadata (Gabriel)
- Mdadm_conf: optimize some regexps
- MongoDBServer: new lens (Brian Harrington)
- Monit: also load /etc/monitrc (Jasper Adriaanse)
- MySQL: Use standard comments and empty lines
Support dos eol
- NagiosCfg: handle Icinga and resources.cfg (Jasper Adriaanse)
- Nrpe: accept any config option rather than predefined list (Gonzalo
Servat); optimize some regexps
- Ntpd: new lense for OpenNTPD config (Jasper Adriaanse)
- Odbc: Use standard comments and empty lines
- Openshift_*: new lenses for Openshift support (Brian Harrington)
- Quote: allow multiple spaces in quote_spaces; improve docs
- Passwd: allow period in user names in spec, bug #337; allow overrides
in nisentry
- PHP: Support smart quotes
Use standard comments and empty lines
Load /etc/php*/fpm/pool.d/*.conf (Enrico Stahn)
- Postfix_master: allow [] in words, bug #345
- Resolv: support 'lookup' and 'family' key words, bug #320
(Jasper Adriaanse))
- Rsyslog: support :omusrmsg: list of users in actions
- RX: add CR to RX.space_in
- Samba: Use standard comments and empty lines
Support dos eol
- Schroot: Support smart quotes
- Services: support port ranges (Branan Purvine-Riley)
- Shellvars: optimize some regexps; reinstate /etc/sysconfig/network,
fixes bug #330, RHBZ#904222, RHBZ#920609; parse /etc/rc.conf.local
from OpenBSD
- Sip_Conf: New lens for sip.conf configurations (Rob Tucker)
- Splunk: new lens (Tim Brigham)
- Subversion: Support smart quotes
Use standard comments and empty lines
Use IniFile.entry_multiline_generic
Use IniFile.empty_noindent
Support dos eol
- Sudoers: allow user aliases in specs
- Sysctl: exclude README file
- Systemd: Support smart quotes; allow backslashes in values
- Xinetd: handle missing values in list, bug #307
- Xorg: allow 'Screen' in Device section, bug #344
- Yum: Support dos eol, optimize some regexps
OBS-URL: https://build.opensuse.org/request/show/210459
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/augeas?expand=0&rev=43
- update to 0.10.0
- support relative paths by taking them relative to the value of
/augeas/context in all API functions where paths are used
- add aug_to_xml to API: transform tree(s) into XML, exposed as dump-xml in
aug_srun and augtool. Introduces dependency on libxml2
- fix regular expression escaping. Previously, /[/]/ match either a backslash
or a slash. Now it only matches a slash
- path expressions: add function 'int' to convert a node value (string) to an
integer
- path expressions: make sure the regexp produced by empty nodesets from
regexp() and glob() matches nothing, rather than the empty word
- fix --autosave when running single command from command line, BZ 743023
- aug_srun: support 'insert' and 'move' as aliases for 'ins' and 'mv'
- aug_srun: allow escaping of spaces, quotes and brackets with \
- aug_init: accept AUG_NO_ERR_CLOSE flag; return augeas handle even when
initialization fails so that caller gets some details about why
initialization failed
- aug_srun: tolerate trailing white space in commands
- much improved, expanded documentation of many lenses
- always interpret lens filter paths as absolute, bug #238
- fix bug in libfa that would incorrectly calculate the difference of a case
sensistive and case insensitive regexp (/[a-zA-Z]+/ - /word/i would match
'worD')
- new builtin 'regexp_match' for .aug files to make testing regexp matching
easier during development
- fix 'span' command, bug #220
- Lens changes/additions
* Access: parse user@host and (group) in users field; field separator need
not be surrounded by spaces
* Aliases: allow spaces before colons
OBS-URL: https://build.opensuse.org/request/show/107539
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/augeas?expand=0&rev=24
- update to 0.10.0
- support relative paths by taking them relative to the value of
/augeas/context in all API functions where paths are used
- add aug_to_xml to API: transform tree(s) into XML, exposed as dump-xml in
aug_srun and augtool. Introduces dependency on libxml2
- fix regular expression escaping. Previously, /[/]/ match either a backslash
or a slash. Now it only matches a slash
- path expressions: add function 'int' to convert a node value (string) to an
integer
- path expressions: make sure the regexp produced by empty nodesets from
regexp() and glob() matches nothing, rather than the empty word
- fix --autosave when running single command from command line, BZ 743023
- aug_srun: support 'insert' and 'move' as aliases for 'ins' and 'mv'
- aug_srun: allow escaping of spaces, quotes and brackets with \
- aug_init: accept AUG_NO_ERR_CLOSE flag; return augeas handle even when
initialization fails so that caller gets some details about why
initialization failed
- aug_srun: tolerate trailing white space in commands
- much improved, expanded documentation of many lenses
- always interpret lens filter paths as absolute, bug #238
- fix bug in libfa that would incorrectly calculate the difference of a case
sensistive and case insensitive regexp (/[a-zA-Z]+/ - /word/i would match
'worD')
- new builtin 'regexp_match' for .aug files to make testing regexp matching
easier during development
- fix 'span' command, bug #220
- Lens changes/additions
* Access: parse user@host and (group) in users field; field separator need
not be surrounded by spaces
* Aliases: allow spaces before colons
OBS-URL: https://build.opensuse.org/request/show/107526
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/augeas?expand=0&rev=32